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