summary refs log tree commit diff
path: root/pkgs/development/libraries/libunarr/default.nix
diff options
context:
space:
mode:
authorMoritz Kiefer <moritz.kiefer@purelyfunctional.org>2018-11-04 11:22:56 +0100
committerMoritz Kiefer <moritz.kiefer@purelyfunctional.org>2018-11-09 17:46:30 +0100
commitd52de90dba64a8a7132721a7b242f94c6fa2ee54 (patch)
treeddea79cb70c3080e07ba3e9e34990798c1bc322e /pkgs/development/libraries/libunarr/default.nix
parent6742bdc84595525f8aedc11553493fef70621c31 (diff)
downloadnixpkgs-d52de90dba64a8a7132721a7b242f94c6fa2ee54.tar
nixpkgs-d52de90dba64a8a7132721a7b242f94c6fa2ee54.tar.gz
nixpkgs-d52de90dba64a8a7132721a7b242f94c6fa2ee54.tar.bz2
nixpkgs-d52de90dba64a8a7132721a7b242f94c6fa2ee54.tar.lz
nixpkgs-d52de90dba64a8a7132721a7b242f94c6fa2ee54.tar.xz
nixpkgs-d52de90dba64a8a7132721a7b242f94c6fa2ee54.tar.zst
nixpkgs-d52de90dba64a8a7132721a7b242f94c6fa2ee54.zip
yacreader: init at 9.5.0, libunarr: init at 1.0.1
Diffstat (limited to 'pkgs/development/libraries/libunarr/default.nix')
-rw-r--r--pkgs/development/libraries/libunarr/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libunarr/default.nix b/pkgs/development/libraries/libunarr/default.nix
new file mode 100644
index 00000000000..e21f9400848
--- /dev/null
+++ b/pkgs/development/libraries/libunarr/default.nix
@@ -0,0 +1,21 @@
+{ stdenv, fetchurl, cmake }:
+
+stdenv.mkDerivation rec {
+  name = "libunarr-${version}";
+  version = "1.0.1";
+
+  src = fetchurl {
+    url = "https://github.com/selmf/unarr/releases/download/v${version}/unarr-${version}.tar.xz";
+    sha256 = "1db500k6w90qn6qb4j3zcczailmmv81q9lv4bwq516hbncg5p4sl";
+  };
+
+  nativeBuildInputs = [ cmake ];
+
+  enableParallelBuilding = true;
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/selmf/unarr;
+    description = "A lightweight decompression library with support for rar, tar and zip archives";
+    license = licenses.lgpl3;
+  };
+}