diff options
author | Susan Potter <me@susanpotter.net> | 2017-06-14 17:25:46 -0500 |
---|---|---|
committer | Susan Potter <me@susanpotter.net> | 2017-06-14 17:41:42 -0500 |
commit | fdef885d9769fe619e1f9b7bc780047cd2e01fa3 (patch) | |
tree | 68f851d303df0872ab6bdc7ccec6c829cd01dd55 /pkgs/os-specific/linux/ply | |
parent | 98c38d51b944e984805a6b150e2a80e7401c0e72 (diff) | |
download | nixpkgs-fdef885d9769fe619e1f9b7bc780047cd2e01fa3.tar nixpkgs-fdef885d9769fe619e1f9b7bc780047cd2e01fa3.tar.gz nixpkgs-fdef885d9769fe619e1f9b7bc780047cd2e01fa3.tar.bz2 nixpkgs-fdef885d9769fe619e1f9b7bc780047cd2e01fa3.tar.lz nixpkgs-fdef885d9769fe619e1f9b7bc780047cd2e01fa3.tar.xz nixpkgs-fdef885d9769fe619e1f9b7bc780047cd2e01fa3.tar.zst nixpkgs-fdef885d9769fe619e1f9b7bc780047cd2e01fa3.zip |
ply: init at v1-beta1(9e810b1)
Diffstat (limited to 'pkgs/os-specific/linux/ply')
-rw-r--r-- | pkgs/os-specific/linux/ply/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/ply/default.nix b/pkgs/os-specific/linux/ply/default.nix new file mode 100644 index 00000000000..4d8e5001b0b --- /dev/null +++ b/pkgs/os-specific/linux/ply/default.nix @@ -0,0 +1,30 @@ +{ autoconf, automake, flex, yacc, stdenv, kernel, fetchFromGitHub }: +let + version = "1.0.beta1-9e810b1"; +in stdenv.mkDerivation { + name = "ply-${version}"; + nativeBuildInputs = [ + autoconf + automake + ]; + + buildInputs = [ + flex + yacc + kernel + stdenv.cc + ]; + + src = fetchFromGitHub { + owner = "iovisor"; + repo = "ply"; + rev = "9e810b157ba079c32c430a7d4c6034826982056e"; + sha256 = "15cp6iczawaqlhsa0af6i37zn5iq53kh6ya8s2hzd018yd7mhg50"; + }; + + preConfigure = "sh autogen.sh --prefix=$out"; + + configureFlags = [ + "--with-kerneldir=${kernel.dev}" + ]; +} |