Unverified Commit 67b7cbee authored by Peter Hoeg's avatar Peter Hoeg Committed by GitHub
Browse files

mscompress: init at 0.4 (#297688)

* mscompress: init at 0.4
parent 1c3379b5
Loading
Loading
Loading
Loading
+32 −0
Original line number Diff line number Diff line
{ 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;
  };
})