2018-04-11 20:22:05 +01:00
|
|
|
{ stdenv, fetchFromGitHub, nix, cmake, pkgconfig, boost }:
|
2018-04-17 12:23:27 +01:00
|
|
|
let version = "4.0.4"; in
|
2014-06-27 23:25:34 +01:00
|
|
|
stdenv.mkDerivation {
|
2017-04-04 16:29:40 +01:00
|
|
|
name = "nix-plugins-${version}";
|
2014-06-27 23:25:34 +01:00
|
|
|
|
2017-04-04 16:29:40 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "shlevy";
|
|
|
|
repo = "nix-plugins";
|
|
|
|
rev = version;
|
2018-04-17 12:23:27 +01:00
|
|
|
sha256 = "02lz62n55pvqin4x44qlxb5knrapyckmj9k8ggk4qxgb36368ifn";
|
2014-06-27 23:25:34 +01:00
|
|
|
};
|
|
|
|
|
2018-02-13 22:33:34 +00:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
|
2018-04-11 20:22:05 +01:00
|
|
|
buildInputs = [ nix boost ];
|
2014-06-27 23:25:34 +01: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;
|
|
|
|
};
|
|
|
|
}
|