sourcehut.hubsrht: init at 0.10.6

authored by

Edmund Wu and committed by
Jon
222a7a3a 151911db

+35 -2
+2
pkgs/applications/version-management/sourcehut/default.nix
··· 16 dispatchsrht = self.callPackage ./dispatch.nix { }; 17 gitsrht = self.callPackage ./git.nix { }; 18 hgsrht = self.callPackage ./hg.nix { }; 19 listssrht = self.callPackage ./lists.nix { }; 20 mansrht = self.callPackage ./man.nix { }; 21 metasrht = self.callPackage ./meta.nix { }; ··· 31 dispatchsrht = toPythonApplication dispatchsrht; 32 gitsrht = toPythonApplication gitsrht; 33 hgsrht = toPythonApplication hgsrht; 34 listssrht = toPythonApplication listssrht; 35 mansrht = toPythonApplication mansrht; 36 metasrht = toPythonApplication metasrht;
··· 16 dispatchsrht = self.callPackage ./dispatch.nix { }; 17 gitsrht = self.callPackage ./git.nix { }; 18 hgsrht = self.callPackage ./hg.nix { }; 19 + hubsrht = self.callPackage ./hub.nix { }; 20 listssrht = self.callPackage ./lists.nix { }; 21 mansrht = self.callPackage ./man.nix { }; 22 metasrht = self.callPackage ./meta.nix { }; ··· 32 dispatchsrht = toPythonApplication dispatchsrht; 33 gitsrht = toPythonApplication gitsrht; 34 hgsrht = toPythonApplication hgsrht; 35 + hubsrht = toPythonApplication hubsrht; 36 listssrht = toPythonApplication listssrht; 37 mansrht = toPythonApplication mansrht; 38 metasrht = toPythonApplication metasrht;
+31
pkgs/applications/version-management/sourcehut/hub.nix
···
··· 1 + { stdenv, fetchgit, buildPythonPackage 2 + , python 3 + , srht }: 4 + 5 + buildPythonPackage rec { 6 + pname = "hubsrht"; 7 + version = "0.10.6"; 8 + 9 + src = fetchgit { 10 + url = "https://git.sr.ht/~sircmpwn/hub.sr.ht"; 11 + rev = version; 12 + sha256 = "N54GOk9pxwoF1Wv0ZSe4kIAPBLl/zHrSu8OlKBkacVg="; 13 + }; 14 + 15 + nativeBuildInputs = srht.nativeBuildInputs; 16 + 17 + propagatedBuildInputs = [ 18 + srht 19 + ]; 20 + 21 + preBuild = '' 22 + export PKGVER=${version} 23 + ''; 24 + 25 + meta = with stdenv.lib; { 26 + homepage = "https://git.sr.ht/~sircmpwn/hub.sr.ht"; 27 + description = "Project hub service for the sr.ht network"; 28 + license = licenses.agpl3; 29 + maintainers = with maintainers; [ eadwu ]; 30 + }; 31 + }
+2 -2
pkgs/applications/version-management/sourcehut/update.sh
··· 40 git commit -m "$1: $version_old -> $version" 41 } 42 43 - services=( "srht" "buildsrht" "dispatchsrht" "gitsrht" "hgsrht" "listssrht" "mansrht" "metasrht" 44 - "pastesrht" "todosrht" "scmsrht" ) 45 46 # Whether or not a specific service is requested 47 if [ -n "$1" ]; then
··· 40 git commit -m "$1: $version_old -> $version" 41 } 42 43 + services=( "srht" "buildsrht" "dispatchsrht" "gitsrht" "hgsrht" "hubsrht" "listssrht" "mansrht" 44 + "metasrht" "pastesrht" "todosrht" "scmsrht" ) 45 46 # Whether or not a specific service is requested 47 if [ -n "$1" ]; then