3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/nix-plugins/default.nix

24 lines
666 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, nix, boehmgc }:
let version = "2.0.7"; in
2014-06-27 23:25:34 +01:00
stdenv.mkDerivation {
2017-04-04 16:29:40 +01:00
name = "nix-plugins-${version}";
2014-06-27 23:25:34 +01:00
2017-04-04 16:29:40 +01:00
src = fetchFromGitHub {
owner = "shlevy";
repo = "nix-plugins";
rev = version;
sha256 = "1q4ydp2w114wbfm41m4qgrabha7ifa17xyz5dr137vvnj6njp4vs";
2014-06-27 23:25:34 +01:00
};
buildFlags = [ "NIX_INCLUDE=${nix.dev}/include" "GC_INCLUDE=${boehmgc.dev}/include" ];
2014-06-27 23:25:34 +01:00
installFlags = [ "PREFIX=$(out)" ];
meta = {
description = "Collection of miscellaneous plugins for the nix expression language";
homepage = https://github.com/shlevy/nix-plugins;
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.all;
};
}