nixpkgs/pkgs/tools/compression/lrzip/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

21 lines
577 B
Nix

{stdenv, fetchurl, zlib, lzo, bzip2, nasm, perl}:
stdenv.mkDerivation rec {
version = "0.631";
pname = "lrzip";
src = fetchurl {
url = "http://ck.kolivas.org/apps/lrzip/${pname}-${version}.tar.bz2";
sha256 = "0mb449vmmwpkalq732jdyginvql57nxyd31sszb108yps1lf448d";
};
buildInputs = [ zlib lzo bzip2 nasm perl ];
meta = {
homepage = http://ck.kolivas.org/apps/lrzip/;
description = "The CK LRZIP compression program (LZMA + RZIP)";
license = stdenv.lib.licenses.gpl2Plus;
inherit version;
platforms = stdenv.lib.platforms.unix;
};
}