sourcehut.dispatchsrht: 0.14.9 -> 0.15.8
This commit is contained in:
parent
14d65eaa3c
commit
1dbd9b2476
@ -1,14 +1,21 @@
|
|||||||
{ lib, fetchgit, buildPythonPackage
|
{ lib
|
||||||
, srht, pyyaml, PyGithub }:
|
, fetchFromSourcehut
|
||||||
|
, buildPythonPackage
|
||||||
|
, srht
|
||||||
|
, pyyaml
|
||||||
|
, PyGithub
|
||||||
|
, python
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "dispatchsrht";
|
pname = "dispatchsrht";
|
||||||
version = "0.14.9";
|
version = "0.15.8";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchFromSourcehut {
|
||||||
url = "https://git.sr.ht/~sircmpwn/dispatch.sr.ht";
|
owner = "~sircmpwn";
|
||||||
|
repo = "dispatch.sr.ht";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "JUffuJTKY4I8CrJc8tJWL+CbJCZtiqtUSO9SgYoeux0=";
|
sha256 = "sha256-zWCGPjIgMKHXHJUs9aciV7IFgo0rpahon6KXHDwcfss=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = srht.nativeBuildInputs;
|
nativeBuildInputs = srht.nativeBuildInputs;
|
||||||
@ -21,10 +28,9 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
export PKGVER=${version}
|
export PKGVER=${version}
|
||||||
|
export SRHT_PATH=${srht}/${python.sitePackages}/srht
|
||||||
'';
|
'';
|
||||||
|
|
||||||
dontUseSetuptoolsCheck = true;
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://dispatch.sr.ht/~sircmpwn/dispatch.sr.ht";
|
homepage = "https://dispatch.sr.ht/~sircmpwn/dispatch.sr.ht";
|
||||||
description = "Task dispatcher and service integration tool for the sr.ht network";
|
description = "Task dispatcher and service integration tool for the sr.ht network";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user