nixpkgs/pkgs/development/libraries/nix-plugins/default.nix

26 lines
647 B
Nix
Raw Normal View History

2017-04-04 15:29:40 +00:00
{ stdenv, fetchFromGitHub, nix }:
let version = "2.0.3"; in
2014-06-27 22:25:34 +00:00
stdenv.mkDerivation {
2017-04-04 15:29:40 +00:00
name = "nix-plugins-${version}";
2014-06-27 22:25:34 +00:00
2017-04-04 15:29:40 +00:00
src = fetchFromGitHub {
owner = "shlevy";
repo = "nix-plugins";
rev = version;
sha256 = "033w4m9ah127sfls7zqzpp2b1wdzsvzzk3bnkv6jyi31bws7hadp";
2014-06-27 22:25:34 +00:00
};
buildInputs = [ nix ];
2017-04-04 15:29:40 +00:00
buildFlags = [ "NIX_INCLUDE=${nix.dev}/include" ];
2014-06-27 22:25:34 +00: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;
};
}