hoarder: 0.21.0 -> 0.22.0
[NixPkgs.git] / pkgs / by-name / st / stepreduce / package.nix
blob4dc1eb389f866744fc8389de35189db6478d2f83
2   lib,
3   stdenv,
4   fetchFromGitLab,
5 }:
7 stdenv.mkDerivation rec {
8   pname = "stepreduce";
9   version = "unstable-2020-04-30";
11   src = fetchFromGitLab {
12     owner = "sethhillbrand";
13     repo = "stepreduce";
14     rev = "e89091c33b67e2a18584e1fe3560bfd48ae98773";
15     hash = "sha256-bCseBQ6J3sWFt0kzaRkV11lwzOGvNPebvQ6w4OJaMBs=";
16   };
18   installPhase = ''
19     runHook preInstall
21     install -Dm755 stepreduce $out/bin/stepreduce
23     runHook postInstall
24   '';
26   meta = with lib; {
27     description = "Reduces STEP file size by removing redundancy";
28     homepage = "https://gitlab.com/sethhillbrand/stepreduce";
29     license = licenses.gpl3Plus;
30     maintainers = with maintainers; [ evils ];
31     mainProgram = "stepreduce";
32   };