9 stdenv.mkDerivation rec {
10 pname = "advancecomp";
13 src = fetchFromGitHub {
17 hash = "sha256-MwXdXT/ZEvTcYV4DjhCUFflrPKBFu0fk5PmaWt4MMOU=";
20 nativeBuildInputs = [ autoreconfHook ];
21 buildInputs = [ zlib ];
23 # autover.sh relies on 'git describe', which obviously doesn't work as we're not cloning
24 # the full git repo. so we have to put the version number in `.version`, otherwise
25 # the binaries get built reporting "none" as their version number.
27 echo "${version}" >.version
31 description = "Set of tools to optimize deflate-compressed files";
32 license = licenses.gpl3;
33 maintainers = [ maintainers.raskin ];
34 platforms = platforms.linux ++ platforms.darwin;
35 homepage = "https://github.com/amadvance/advancecomp";
36 changelog = "https://github.com/amadvance/advancecomp/blob/v${version}/HISTORY";