2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, nix, cmake, pkg-config, boost }:
|
2018-10-28 04:25:39 +00:00
|
|
|
let version = "6.0.0"; in
|
2014-06-27 22:25:34 +00:00
|
|
|
stdenv.mkDerivation {
|
2019-08-13 21:52:01 +00:00
|
|
|
pname = "nix-plugins";
|
|
|
|
inherit version;
|
2014-06-27 22:25:34 +00:00
|
|
|
|
2017-04-04 15:29:40 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "shlevy";
|
|
|
|
repo = "nix-plugins";
|
|
|
|
rev = version;
|
2018-10-28 04:25:39 +00:00
|
|
|
sha256 = "08kxdci0sijj1hfkn3dbr7nbpb9xck0xr3xa3a0j116n4kvwb6qv";
|
2014-06-27 22:25:34 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2018-02-13 22:33:34 +00:00
|
|
|
|
2018-04-11 19:22:05 +00:00
|
|
|
buildInputs = [ nix boost ];
|
2014-06-27 22:25:34 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Collection of miscellaneous plugins for the nix expression language";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/shlevy/nix-plugins";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
platforms = lib.platforms.all;
|
2014-06-27 22:25:34 +00:00
|
|
|
};
|
|
|
|
}
|