about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/nix-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/nix-plugins')
-rw-r--r--nixpkgs/pkgs/development/libraries/nix-plugins/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/nix-plugins/default.nix b/nixpkgs/pkgs/development/libraries/nix-plugins/default.nix
new file mode 100644
index 000000000000..6f285fdff367
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/nix-plugins/default.nix
@@ -0,0 +1,24 @@
+{ lib, stdenv, fetchFromGitHub, nix, cmake, pkg-config, boost }:
+
+stdenv.mkDerivation rec {
+  pname = "nix-plugins";
+  version = "12.0.0";
+
+  src = fetchFromGitHub {
+    owner = "shlevy";
+    repo = "nix-plugins";
+    rev = version;
+    hash = "sha256-VJqLfOT7y32Jupl57YXxqeDPy0tOWi46tRLN1QUDIow=";
+  };
+
+  nativeBuildInputs = [ cmake pkg-config ];
+
+  buildInputs = [ nix boost ];
+
+  meta = {
+    description = "Collection of miscellaneous plugins for the nix expression language";
+    homepage = "https://github.com/shlevy/nix-plugins";
+    license = lib.licenses.mit;
+    platforms = lib.platforms.all;
+  };
+}