sourcehut.dispatchsrht: 0.14.9 -> 0.15.8

authored by

Thomas Bereknyei and committed by
tomberek
1dbd9b24 14d65eaa

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