nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, fetchFromGitHub, nix, boehmgc }:
2let version = "2.0.7"; in
3stdenv.mkDerivation {
4 name = "nix-plugins-${version}";
5
6 src = fetchFromGitHub {
7 owner = "shlevy";
8 repo = "nix-plugins";
9 rev = version;
10 sha256 = "1q4ydp2w114wbfm41m4qgrabha7ifa17xyz5dr137vvnj6njp4vs";
11 };
12
13 buildFlags = [ "NIX_INCLUDE=${nix.dev}/include" "GC_INCLUDE=${boehmgc.dev}/include" ];
14
15 installFlags = [ "PREFIX=$(out)" ];
16
17 meta = {
18 description = "Collection of miscellaneous plugins for the nix expression language";
19 homepage = https://github.com/shlevy/nix-plugins;
20 license = stdenv.lib.licenses.mit;
21 platforms = stdenv.lib.platforms.all;
22 };
23}