Merge pull request #139688 from terinjokes/patches/stgit-1.3

stgit: 1.1 -> 1.3

authored by

Sandro and committed by
GitHub
dec57cb2 b2da24d2

+17 -8
+17 -8
pkgs/applications/version-management/git-and-tools/stgit/default.nix
··· 4 , python3Packages 5 , asciidoc 6 , docbook_xsl 7 , git 8 , perl 9 , xmlto ··· 11 12 python3Packages.buildPythonApplication rec { 13 pname = "stgit"; 14 - version = "1.1"; 15 16 src = fetchFromGitHub { 17 owner = "stacked-git"; 18 repo = "stgit"; 19 rev = "v${version}"; 20 - sha256 = "sha256-gfPf1yRmx1Mn1TyCBWmjQJBgXLlZrDcew32C9o6uNYk="; 21 }; 22 23 - nativeBuildInputs = [ installShellFiles asciidoc xmlto docbook_xsl ]; 24 25 format = "other"; 26 ··· 34 --replace http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl \ 35 ${docbook_xsl}/xml/xsl/docbook/html/docbook.xsl 36 done 37 ''; 38 39 makeFlags = [ ··· 47 checkTarget = "test"; 48 checkFlags = [ "PERL_PATH=${perl}/bin/perl" ]; 49 50 - installTargets = [ "install" "install-doc" ]; 51 postInstall = '' 52 installShellCompletion --cmd stg \ 53 - --fish $out/share/stgit/completion/stg.fish \ 54 - --bash $out/share/stgit/completion/stgit.bash \ 55 - --zsh $out/share/stgit/completion/stgit.zsh 56 - ''; 57 58 meta = with lib; { 59 description = "A patch manager implemented on top of Git";
··· 4 , python3Packages 5 , asciidoc 6 , docbook_xsl 7 + , docbook_xml_dtd_45 8 , git 9 , perl 10 , xmlto ··· 12 13 python3Packages.buildPythonApplication rec { 14 pname = "stgit"; 15 + version = "1.3"; 16 17 src = fetchFromGitHub { 18 owner = "stacked-git"; 19 repo = "stgit"; 20 rev = "v${version}"; 21 + sha256 = "0wa3ba7afnbb1h08n9xr0cqsg93rx0qd9jv8a34mmpp0lpijmjw6"; 22 }; 23 24 + nativeBuildInputs = [ installShellFiles asciidoc xmlto docbook_xsl docbook_xml_dtd_45 ]; 25 26 format = "other"; 27 ··· 35 --replace http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl \ 36 ${docbook_xsl}/xml/xsl/docbook/html/docbook.xsl 37 done 38 + 39 + substituteInPlace Documentation/texi.xsl \ 40 + --replace http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd \ 41 + ${docbook_xml_dtd_45}/xml/dtd/docbook/docbookx.dtd 42 + 43 + cat > stgit/_version.py <<EOF 44 + __version__ = "${version}" 45 + EOF 46 ''; 47 48 makeFlags = [ ··· 56 checkTarget = "test"; 57 checkFlags = [ "PERL_PATH=${perl}/bin/perl" ]; 58 59 + installTargets = [ "install" "install-doc" "install-html" ]; 60 postInstall = '' 61 installShellCompletion --cmd stg \ 62 + --fish completion/stg.fish \ 63 + --bash completion/stgit.bash \ 64 + --zsh completion/stgit.zsh 65 + ''; 66 67 meta = with lib; { 68 description = "A patch manager implemented on top of Git";