acr-cli: init at 0.14 (#359508)
[NixPkgs.git] / pkgs / by-name / st / stepreduce / package.nix
blobd6122ec0bbb3198125d2c25768d9ba2ec96ffb55
1 { lib
2 , stdenv
3 , fetchFromGitLab
4 }:
6 stdenv.mkDerivation rec {
7   pname = "stepreduce";
8   version = "unstable-2020-04-30";
10   src = fetchFromGitLab {
11     owner = "sethhillbrand";
12     repo = "stepreduce";
13     rev = "e89091c33b67e2a18584e1fe3560bfd48ae98773";
14     hash = "sha256-bCseBQ6J3sWFt0kzaRkV11lwzOGvNPebvQ6w4OJaMBs=";
15   };
17   installPhase = ''
18     runHook preInstall
20     install -Dm755 stepreduce $out/bin/stepreduce
22     runHook postInstall
23   '';
25   meta = with lib; {
26     description = "Reduces STEP file size by removing redundancy";
27     homepage = "https://gitlab.com/sethhillbrand/stepreduce";
28     license = licenses.gpl3Plus;
29     maintainers = with maintainers; [ evils ];
30     mainProgram = "stepreduce";
31   };