nixpkgs/pkgs/tools/compression/advancecomp/default.nix
Dave Nicponski b3b4184786 games/crawl: add support for MacOS/Darwin builds
games/crawl: Add support for darwin builds.  Also,
compression/advancecomp: Add support for darwin builds in meta (which already worked).
2019-07-28 02:25:17 -04:00

26 lines
673 B
Nix

{ stdenv, fetchFromGitHub
, autoreconfHook, zlib }:
stdenv.mkDerivation rec {
name = "advancecomp-${version}";
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;
};
}