2017-04-05 03:35:35 +01:00
|
|
|
{ stdenv, fetchFromGitHub, nix, boehmgc }:
|
2017-04-05 03:50:00 +01:00
|
|
|
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;
|
2017-04-05 03:50:00 +01:00
|
|
|
sha256 = "1q4ydp2w114wbfm41m4qgrabha7ifa17xyz5dr137vvnj6njp4vs";
|
2014-06-27 23:25:34 +01:00
|
|
|
};
|
|
|
|
|
2017-04-05 03:35:35 +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;
|
|
|
|
};
|
|
|
|
}
|