nixpkgs-suyu/pkgs/tools/compression/advancecomp/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

26 lines
663 B
Nix

{ stdenv, fetchFromGitHub
, autoreconfHook, zlib }:
stdenv.mkDerivation rec {
pname = "advancecomp";
version = "2.1";
src = fetchFromGitHub {
owner = "amadvance";
repo = "advancecomp";
rev = "v${version}";
sha256 = "1pd6czamamrd0ppk5a3a65hcgdlqwja98aandhqiajhnibwldv8x";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ zlib ];
meta = with stdenv.lib; {
description = ''A set of tools to optimize deflate-compressed files'';
license = licenses.gpl3 ;
maintainers = [ maintainers.raskin ];
platforms = platforms.linux ++ platforms.darwin;
homepage = https://github.com/amadvance/advancecomp;
};
}