2021-01-21 09:00:13 -08:00
|
|
|
{ lib, stdenv, fetchurl, cmake }:
|
2018-11-04 02:22:56 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "libunarr";
|
2018-11-04 02:22:56 -08: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 09:00:13 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/selmf/unarr";
|
2018-11-04 02:22:56 -08:00
|
|
|
description = "A lightweight decompression library with support for rar, tar and zip archives";
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
};
|
|
|
|
}
|