2017-04-05 04:35:35 +02:00
|
|
|
{ stdenv, fetchFromGitHub, nix, boehmgc }:
|
|
|
|
let version = "2.0.6"; in
|
2014-06-28 00:25:34 +02:00
|
|
|
stdenv.mkDerivation {
|
2017-04-04 17:29:40 +02:00
|
|
|
name = "nix-plugins-${version}";
|
2014-06-28 00:25:34 +02:00
|
|
|
|
2017-04-04 17:29:40 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "shlevy";
|
|
|
|
repo = "nix-plugins";
|
|
|
|
rev = version;
|
2017-04-05 04:35:35 +02:00
|
|
|
sha256 = "0gbajaxg7awk1fhicsnmvhrmd47wc7i38lz4baxks17sgx76amqr";
|
2014-06-28 00:25:34 +02:00
|
|
|
};
|
|
|
|
|
2017-04-05 04:35:35 +02:00
|
|
|
buildFlags = [ "NIX_INCLUDE=${nix.dev}/include" "GC_INCLUDE=${boehmgc.dev}/include" ];
|
2014-06-28 00:25:34 +02: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;
|
|
|
|
};
|
|
|
|
}
|