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

24 lines
629 B
Nix
Raw Normal View History

2018-04-11 19:22:05 +00:00
{ stdenv, fetchFromGitHub, nix, cmake, pkgconfig, boost }:
let version = "4.0.5"; in
2014-06-27 22:25:34 +00:00
stdenv.mkDerivation {
2017-04-04 15:29:40 +00:00
name = "nix-plugins-${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;
sha256 = "170f365rnik62fp9wllbqlspr8lf1yb96pmn2z708i2wjlkdnrny";
2014-06-27 22:25:34 +00:00
};
nativeBuildInputs = [ cmake pkgconfig ];
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";
homepage = https://github.com/shlevy/nix-plugins;
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.all;
};
}