2018-02-13 23:33:34 +01:00
|
|
|
{ stdenv, fetchFromGitHub, nix, cmake, pkgconfig }:
|
2018-02-13 17:19:31 +01:00
|
|
|
let version = "3.0.1"; 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;
|
2018-02-13 17:19:31 +01:00
|
|
|
sha256 = "1pmk2m0kc6a3jqygm5cy1fl5gbcy0ghc2xs4ww0gh20walrys82r";
|
2014-06-28 00:25:34 +02:00
|
|
|
};
|
|
|
|
|
2018-02-13 23:33:34 +01:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
|
|
|
|
buildInputs = [ nix ];
|
2014-06-28 00:25:34 +02:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|