587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
32 lines
714 B
Nix
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;
|
|
};
|
|
})
|