sourcehut.hubsrht: init at 0.10.6
This commit is contained in:
parent
151911db03
commit
222a7a3a7a
@ -16,6 +16,7 @@ let
|
|||||||
dispatchsrht = self.callPackage ./dispatch.nix { };
|
dispatchsrht = self.callPackage ./dispatch.nix { };
|
||||||
gitsrht = self.callPackage ./git.nix { };
|
gitsrht = self.callPackage ./git.nix { };
|
||||||
hgsrht = self.callPackage ./hg.nix { };
|
hgsrht = self.callPackage ./hg.nix { };
|
||||||
|
hubsrht = self.callPackage ./hub.nix { };
|
||||||
listssrht = self.callPackage ./lists.nix { };
|
listssrht = self.callPackage ./lists.nix { };
|
||||||
mansrht = self.callPackage ./man.nix { };
|
mansrht = self.callPackage ./man.nix { };
|
||||||
metasrht = self.callPackage ./meta.nix { };
|
metasrht = self.callPackage ./meta.nix { };
|
||||||
@ -31,6 +32,7 @@ in with python.pkgs; recurseIntoAttrs {
|
|||||||
dispatchsrht = toPythonApplication dispatchsrht;
|
dispatchsrht = toPythonApplication dispatchsrht;
|
||||||
gitsrht = toPythonApplication gitsrht;
|
gitsrht = toPythonApplication gitsrht;
|
||||||
hgsrht = toPythonApplication hgsrht;
|
hgsrht = toPythonApplication hgsrht;
|
||||||
|
hubsrht = toPythonApplication hubsrht;
|
||||||
listssrht = toPythonApplication listssrht;
|
listssrht = toPythonApplication listssrht;
|
||||||
mansrht = toPythonApplication mansrht;
|
mansrht = toPythonApplication mansrht;
|
||||||
metasrht = toPythonApplication metasrht;
|
metasrht = toPythonApplication metasrht;
|
||||||
|
31
pkgs/applications/version-management/sourcehut/hub.nix
Normal file
31
pkgs/applications/version-management/sourcehut/hub.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ stdenv, fetchgit, buildPythonPackage
|
||||||
|
, python
|
||||||
|
, srht }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "hubsrht";
|
||||||
|
version = "0.10.6";
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = "https://git.sr.ht/~sircmpwn/hub.sr.ht";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "N54GOk9pxwoF1Wv0ZSe4kIAPBLl/zHrSu8OlKBkacVg=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = srht.nativeBuildInputs;
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
srht
|
||||||
|
];
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
export PKGVER=${version}
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = "https://git.sr.ht/~sircmpwn/hub.sr.ht";
|
||||||
|
description = "Project hub service for the sr.ht network";
|
||||||
|
license = licenses.agpl3;
|
||||||
|
maintainers = with maintainers; [ eadwu ];
|
||||||
|
};
|
||||||
|
}
|
@ -40,8 +40,8 @@ update_version() {
|
|||||||
git commit -m "$1: $version_old -> $version"
|
git commit -m "$1: $version_old -> $version"
|
||||||
}
|
}
|
||||||
|
|
||||||
services=( "srht" "buildsrht" "dispatchsrht" "gitsrht" "hgsrht" "listssrht" "mansrht" "metasrht"
|
services=( "srht" "buildsrht" "dispatchsrht" "gitsrht" "hgsrht" "hubsrht" "listssrht" "mansrht"
|
||||||
"pastesrht" "todosrht" "scmsrht" )
|
"metasrht" "pastesrht" "todosrht" "scmsrht" )
|
||||||
|
|
||||||
# Whether or not a specific service is requested
|
# Whether or not a specific service is requested
|
||||||
if [ -n "$1" ]; then
|
if [ -n "$1" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user