about summary refs log tree commit diff
path: root/pkgs/development/libraries/nix-plugins/default.nix
blob: 8a5d549526060b13e10ccbbb7f34e86fef636f2e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchgit, nix }:

stdenv.mkDerivation {
  name = "nix-plugins-1.0.0";

  src = fetchgit {
    url = git://github.com/shlevy/nix-plugins.git;
    rev = "refs/tags/1.0.0";
    sha256 = "1w7l4mdwgf5w1g48mbng4lcg2nihixvp835mg2j7gghnya309fxl";
  };

  buildInputs = [ nix ];

  buildFlags = [ "NIX_INCLUDE=${nix}/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;
    broken = true;
  };
}