sourcehut.dispatchsrht: 0.14.9 -> 0.15.8

This commit is contained in:
Thomas Bereknyei 2021-04-17 23:12:01 -04:00 committed by tomberek
parent 14d65eaa3c
commit 1dbd9b2476

View File

@ -1,14 +1,21 @@
{ lib, fetchgit, buildPythonPackage
, srht, pyyaml, PyGithub }:
{ lib
, fetchFromSourcehut
, buildPythonPackage
, srht
, pyyaml
, PyGithub
, python
}:
buildPythonPackage rec {
pname = "dispatchsrht";
version = "0.14.9";
version = "0.15.8";
src = fetchgit {
url = "https://git.sr.ht/~sircmpwn/dispatch.sr.ht";
src = fetchFromSourcehut {
owner = "~sircmpwn";
repo = "dispatch.sr.ht";
rev = version;
sha256 = "JUffuJTKY4I8CrJc8tJWL+CbJCZtiqtUSO9SgYoeux0=";
sha256 = "sha256-zWCGPjIgMKHXHJUs9aciV7IFgo0rpahon6KXHDwcfss=";
};
nativeBuildInputs = srht.nativeBuildInputs;
@ -21,10 +28,9 @@ buildPythonPackage rec {
preBuild = ''
export PKGVER=${version}
export SRHT_PATH=${srht}/${python.sitePackages}/srht
'';
dontUseSetuptoolsCheck = true;
meta = with lib; {
homepage = "https://dispatch.sr.ht/~sircmpwn/dispatch.sr.ht";
description = "Task dispatcher and service integration tool for the sr.ht network";