2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, cmake }:
|
2018-11-04 10:22:56 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libunarr";
|
2018-11-04 10:22:56 +00:00
|
|
|
version = "1.0.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/selmf/unarr/releases/download/v${version}/unarr-${version}.tar.xz";
|
|
|
|
sha256 = "1db500k6w90qn6qb4j3zcczailmmv81q9lv4bwq516hbncg5p4sl";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/selmf/unarr";
|
2018-11-04 10:22:56 +00:00
|
|
|
description = "A lightweight decompression library with support for rar, tar and zip archives";
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
};
|
|
|
|
}
|