Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
27 lines
632 B
Nix
27 lines
632 B
Nix
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ncompress";
|
|
version = "5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vapier";
|
|
repo = "ncompress";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-Yhs3C5/kR7Ve56E84usYJprxIMAIwXVahLi1N9TIfj0=";
|
|
};
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
installTargets = "install_core";
|
|
|
|
postInstall = ''
|
|
mv $out/bin/uncompress $out/bin/uncompress-ncompress
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "http://ncompress.sourceforge.net/";
|
|
license = licenses.publicDomain;
|
|
description = "Fast, simple LZW file compressor";
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|