summary refs log tree commit diff
path: root/pkgs/os-specific/linux/metastore
diff options
context:
space:
mode:
authorStephane <stephane@github.frozenid.net>2020-02-23 22:38:49 +0100
committerStephane <stephane@github.frozenid.net>2020-02-25 23:06:53 +0100
commitfca772a5517120f88fd83573d20dc725803dfcd7 (patch)
tree2f7a3f598f1ce74dd52afd9009f9ae6ed69946fa /pkgs/os-specific/linux/metastore
parent5b732a1f51d2e25b9d4c6435e91df1fc6bf892be (diff)
downloadnixpkgs-fca772a5517120f88fd83573d20dc725803dfcd7.tar
nixpkgs-fca772a5517120f88fd83573d20dc725803dfcd7.tar.gz
nixpkgs-fca772a5517120f88fd83573d20dc725803dfcd7.tar.bz2
nixpkgs-fca772a5517120f88fd83573d20dc725803dfcd7.tar.lz
nixpkgs-fca772a5517120f88fd83573d20dc725803dfcd7.tar.xz
nixpkgs-fca772a5517120f88fd83573d20dc725803dfcd7.tar.zst
nixpkgs-fca772a5517120f88fd83573d20dc725803dfcd7.zip
metastore: init at 1.1.2
Diffstat (limited to 'pkgs/os-specific/linux/metastore')
-rw-r--r--pkgs/os-specific/linux/metastore/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/metastore/default.nix b/pkgs/os-specific/linux/metastore/default.nix
new file mode 100644
index 00000000000..590b931ac92
--- /dev/null
+++ b/pkgs/os-specific/linux/metastore/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, libbsd, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+  version = "1.1.2";
+  pname = "metastore";
+
+  src = fetchFromGitHub {
+    owner = "przemoc";
+    repo = "metastore";
+    rev = "v${version}";
+    sha256 = "0mb10wfckswqgi0bq25ncgabnd3iwj7s7hhg3wpcyfgckdynwizv";
+  };
+
+  buildInputs = [ libbsd ];
+  installFlags = [ "PREFIX=$(out)" ];
+
+  meta = with stdenv.lib; {
+    description = "Store and restore metadata from a filesystem";
+    homepage = "https://software.przemoc.net/#metastore";
+    license = licenses.gpl2;
+    maintainers = with maintainers; [ sstef ];
+    platforms = platforms.linux;
+  };
+}