From d7e8d8e4cdef84ded68795ba0c41bec2f1ee37f2 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 12 May 2018 13:23:15 +0200 Subject: Add reproducible dev-env and Nix derivation of the latest release --- SimpleParser.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 SimpleParser.nix (limited to 'SimpleParser.nix') diff --git a/SimpleParser.nix b/SimpleParser.nix new file mode 100644 index 0000000..1a56271 --- /dev/null +++ b/SimpleParser.nix @@ -0,0 +1,18 @@ +{ stdenv, fetchFromGitHub, cmake, boost, gtest }: + +stdenv.mkDerivation rec { + name = "SimpleParser"; + + src = fetchFromGitHub { + owner = "KnairdA"; + repo = "SimpleParser"; + rev = "v1.1"; + sha256 = "1i38nrb28g1nzhcs0139arz8vvbnli9ryvdl657dqslb6ms1x0g2"; + }; + + buildInputs = [ cmake boost gtest ]; + + meta = with stdenv.lib; { + homepage = https://github.com/KnairdA/SimpleParser/; + }; +} -- cgit v1.2.3