sourcehut.listssrht: 0.45.15 -> 0.48.19

This commit is contained in:
Thomas Bereknyei 2021-04-17 23:13:00 -04:00 committed by tomberek
parent 350f4867c7
commit 9636d25a6c

View File

@ -1,14 +1,24 @@
{ lib, fetchgit, buildPythonPackage
, srht, asyncpg, aiosmtpd, pygit2, emailthreads }:
{ lib
, fetchFromSourcehut
, buildPythonPackage
, srht
, asyncpg
, aiosmtpd
, pygit2
, emailthreads
, redis
, python
}:
buildPythonPackage rec {
pname = "listssrht";
version = "0.45.15";
version = "0.48.19";
src = fetchgit {
url = "https://git.sr.ht/~sircmpwn/lists.sr.ht";
src = fetchFromSourcehut {
owner = "~sircmpwn";
repo = "lists.sr.ht";
rev = version;
sha256 = "0f3yl5nf385j7mhcrmda7zk58i1y6fm00i479js90xxhjifmqkq6";
sha256 = "sha256-bsakEMyvWaxiE4/SGcAP4mlGG9jkdHfFxpt9H+TJn/8=";
};
nativeBuildInputs = srht.nativeBuildInputs;
@ -19,14 +29,14 @@ buildPythonPackage rec {
asyncpg
aiosmtpd
emailthreads
redis
];
preBuild = ''
export PKGVER=${version}
export SRHT_PATH=${srht}/${python.sitePackages}/srht
'';
dontUseSetuptoolsCheck = true;
meta = with lib; {
homepage = "https://git.sr.ht/~sircmpwn/lists.sr.ht";
description = "Mailing list service for the sr.ht network";