2018-04-11 21:22:05 +02:00
|
|
|
{ stdenv, fetchFromGitHub, nix, cmake, pkgconfig, boost }:
|
2018-05-30 22:23:37 +02:00
|
|
|
let version = "4.0.5"; 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-05-30 22:23:37 +02:00
|
|
|
sha256 = "170f365rnik62fp9wllbqlspr8lf1yb96pmn2z708i2wjlkdnrny";
|
2014-06-28 00:25:34 +02:00
|
|
|
};
|
|
|
|
|
2018-02-13 23:33:34 +01:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
|
2018-04-11 21:22:05 +02:00
|
|
|
buildInputs = [ nix boost ];
|
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;
|
|
|
|
};
|
|
|
|
}
|