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 23:25:34 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-13 22:52:01 +01:00
|
|
|
pname = "nix-plugins";
|
|
|
|
inherit 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-10-28 04:25:39 +00:00
|
|
|
sha256 = "08kxdci0sijj1hfkn3dbr7nbpb9xck0xr3xa3a0j116n4kvwb6qv";
|
2014-06-27 23:25:34 +01:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2018-02-13 22:33:34 +00:00
|
|
|
|
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";
|
2020-04-01 02:11:51 +01: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 23:25:34 +01:00
|
|
|
};
|
|
|
|
}
|