7 stdenv.mkDerivation rec {
11 src = fetchFromGitHub {
15 hash = "sha256-klyTqqZs5TwadgDP8LJ1wUhXlO+/kQPM6qhiSki31Q8=";
18 nativeBuildInputs = [ autoreconfHook ];
19 buildInputs = [ zlib ];
21 # autover.sh relies on 'git describe', which obviously doesn't work as we're not cloning
22 # the full git repo. so we have to put the version number in `.version`, otherwise
23 # the binaries get built reporting "none" as their version number.
25 echo "${version}" >.version
29 description = "A set of tools to optimize deflate-compressed files";
30 license = licenses.gpl3 ;
31 maintainers = [ maintainers.raskin ];
32 platforms = platforms.linux ++ platforms.darwin;
33 homepage = "https://github.com/amadvance/advancecomp";