biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / version-management / reposurgeon / default.nix
blobea34252f68a8913fbfdf815cd7af57cf6c4c932a
1 { lib, fetchurl, buildGoModule, asciidoctor, ruby
2 }:
4 buildGoModule rec {
5   pname = "reposurgeon";
6   version = "4.26";
8   src = fetchurl {
9     url = "http://www.catb.org/~esr/reposurgeon/reposurgeon-${version}.tar.xz";
10     sha256 = "sha256-FuL5pvIM468hEm6rUBKGW6+WlYv4DPHNnpwpRGzMwlY=";
11   };
13   vendorHash = "sha256-QpgRCnsOOZujE405dCe+PYg/zNkqnrfZFfbBFo7adjY=";
15   subPackages = [ "." ];
17   nativeBuildInputs = [ asciidoctor ruby ];
19   postBuild = ''
20     patchShebangs .
21     make all HTMLFILES=
22   '';
24   postInstall = ''
25     make install prefix=$out HTMLFILES=
26   '';
28   meta = {
29     description = "A tool for editing version-control repository history";
30     license = lib.licenses.bsd3;
31     homepage = "http://www.catb.org/esr/reposurgeon/";
32     maintainers = with lib.maintainers; [ dfoxfranke ];
33     platforms = lib.platforms.all;
34   };