nixpkgs/pkgs/development/libraries/nix-plugins/default.nix
Shea Levy fe319f8ebd nix-plugins: 2.0.3 -> 2.0.6.
Fixes incompatibility between build-time and link-time nix version
2017-04-04 22:35:35 -04:00

24 lines
666 B
Nix

{ stdenv, fetchFromGitHub, nix, boehmgc }:
let version = "2.0.6"; in
stdenv.mkDerivation {
name = "nix-plugins-${version}";
src = fetchFromGitHub {
owner = "shlevy";
repo = "nix-plugins";
rev = version;
sha256 = "0gbajaxg7awk1fhicsnmvhrmd47wc7i38lz4baxks17sgx76amqr";
};
buildFlags = [ "NIX_INCLUDE=${nix.dev}/include" "GC_INCLUDE=${boehmgc.dev}/include" ];
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;
};
}