sourcehut.mansrht: 0.15.4 -> 0.15.12

authored by

Thomas Bereknyei and committed by
tomberek
9b3a109c fc5daae1

+13 -8
+13 -8
pkgs/applications/version-management/sourcehut/man.nix
··· 1 - { lib, fetchgit, buildPythonPackage 2 - , srht, pygit2 }: 1 + { lib 2 + , fetchFromSourcehut 3 + , buildPythonPackage 4 + , srht 5 + , pygit2 6 + , python 7 + }: 3 8 4 9 buildPythonPackage rec { 5 10 pname = "mansrht"; 6 - version = "0.15.4"; 11 + version = "0.15.12"; 7 12 8 - src = fetchgit { 9 - url = "https://git.sr.ht/~sircmpwn/man.sr.ht"; 13 + src = fetchFromSourcehut { 14 + owner = "~sircmpwn"; 15 + repo = "man.sr.ht"; 10 16 rev = version; 11 - sha256 = "0spi0yy2myxw4kggy54yskda14c4vaq2ng9dd9krqsajnsy7anrw"; 17 + sha256 = "sha256-MqH/8K9XRvEg6P7GHE6XXtWnhDP3wT8iGoNaFtYQbio="; 12 18 }; 13 19 14 20 nativeBuildInputs = srht.nativeBuildInputs; ··· 20 26 21 27 preBuild = '' 22 28 export PKGVER=${version} 29 + export SRHT_PATH=${srht}/${python.sitePackages}/srht 23 30 ''; 24 - 25 - dontUseSetuptoolsCheck = true; 26 31 27 32 meta = with lib; { 28 33 homepage = "https://git.sr.ht/~sircmpwn/man.sr.ht";