nixpkgs/pkgs/development/libraries/nix-plugins/default.nix

25 lines
638 B
Nix
Raw Normal View History

2018-04-11 21:22:05 +02:00
{ stdenv, fetchFromGitHub, nix, cmake, pkgconfig, boost }:
2018-10-28 05:25:39 +01:00
let version = "6.0.0"; in
2014-06-28 00:25:34 +02:00
stdenv.mkDerivation {
2019-08-13 23:52:01 +02:00
pname = "nix-plugins";
inherit 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-10-28 05:25:39 +01:00
sha256 = "08kxdci0sijj1hfkn3dbr7nbpb9xck0xr3xa3a0j116n4kvwb6qv";
2014-06-28 00:25:34 +02: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;
};
}