nixpkgs/pkgs/by-name/ms/mscompress/package.nix
Peter Hoeg 67b7cbee5e
mscompress: init at 0.4 (#297688)
* mscompress: init at 0.4
2024-03-21 14:51:37 +01:00

33 lines
714 B
Nix

{ stdenv
, lib
, fetchFromGitHub
, autoreconfHook
}:
stdenv.mkDerivation (finalAttrs: {
pname = "mscompress";
version = "0.4";
src = fetchFromGitHub {
owner = "stapelberg";
repo = "mscompress";
rev = finalAttrs.version;
hash = "sha256-Urq8CzVfO9tdEUrEya+bUzoNjZQ2TO7OB+h2MTAGwEI=";
};
nativeBuildInputs = [ autoreconfHook ];
enableParallelBuilding = true;
postInstall = ''
install -Dm444 -t $out/share/doc/mscompress ChangeLog README TODO
'';
meta = with lib; {
description = ''Microsoft "compress.exe/expand.exe" compatible (de)compressor'';
license = licenses.gpl2Only;
maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.all;
};
})