depot/third_party/nixpkgs/pkgs/by-name/ms/mscompress/package.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

32 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;
};
})