biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / version-management / git-publish / default.nix
blobdd752b94843d25c0af8123ff4c9eb93dbb06351a
1 { lib, stdenv, python, perl, fetchFromGitHub, installShellFiles }:
2 stdenv.mkDerivation rec {
3   pname = "git-publish";
4   version = "1.8.2";
6   src = fetchFromGitHub {
7     owner = "stefanha";
8     repo = "git-publish";
9     rev = "v${version}";
10     hash = "sha256-jjpbr+ZqG4U8/z0PurnXR+IUKQkG3QB8YqhDkH8uu2Y=";
11   };
13   nativeBuildInputs = [ perl installShellFiles ];
14   buildInputs = [ python ];
16   installPhase = ''
17     runHook preInstall
19     install -Dm0755 git-publish $out/bin/git-publish
20     pod2man git-publish.pod > git-publish.1
21     installManPage git-publish.1
23     runHook postInstall
24   '';
26   meta = {
27     description = "Prepare and store patch revisions as git tags";
28     license = lib.licenses.mit;
29     maintainers = [ ];
30     homepage = "https://github.com/stefanha/git-publish";
31     mainProgram = "git-publish";
32   };