nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

at devShellTools-shell 31 lines 639 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5}: 6 7stdenv.mkDerivation rec { 8 pname = "ncompress"; 9 version = "5.0"; 10 11 src = fetchFromGitHub { 12 owner = "vapier"; 13 repo = "ncompress"; 14 rev = "v${version}"; 15 sha256 = "sha256-Yhs3C5/kR7Ve56E84usYJprxIMAIwXVahLi1N9TIfj0="; 16 }; 17 18 makeFlags = [ "PREFIX=$(out)" ]; 19 installTargets = "install_core"; 20 21 postInstall = '' 22 mv $out/bin/uncompress $out/bin/uncompress-ncompress 23 ''; 24 25 meta = with lib; { 26 homepage = "http://ncompress.sourceforge.net/"; 27 license = licenses.publicDomain; 28 description = "Fast, simple LZW file compressor"; 29 platforms = platforms.unix; 30 }; 31}