sourcehut.listssrht: 0.45.15 -> 0.48.19
This commit is contained in:
parent
350f4867c7
commit
9636d25a6c
@ -1,14 +1,24 @@
|
|||||||
{ lib, fetchgit, buildPythonPackage
|
{ lib
|
||||||
, srht, asyncpg, aiosmtpd, pygit2, emailthreads }:
|
, fetchFromSourcehut
|
||||||
|
, buildPythonPackage
|
||||||
|
, srht
|
||||||
|
, asyncpg
|
||||||
|
, aiosmtpd
|
||||||
|
, pygit2
|
||||||
|
, emailthreads
|
||||||
|
, redis
|
||||||
|
, python
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "listssrht";
|
pname = "listssrht";
|
||||||
version = "0.45.15";
|
version = "0.48.19";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchFromSourcehut {
|
||||||
url = "https://git.sr.ht/~sircmpwn/lists.sr.ht";
|
owner = "~sircmpwn";
|
||||||
|
repo = "lists.sr.ht";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0f3yl5nf385j7mhcrmda7zk58i1y6fm00i479js90xxhjifmqkq6";
|
sha256 = "sha256-bsakEMyvWaxiE4/SGcAP4mlGG9jkdHfFxpt9H+TJn/8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = srht.nativeBuildInputs;
|
nativeBuildInputs = srht.nativeBuildInputs;
|
||||||
@ -19,14 +29,14 @@ buildPythonPackage rec {
|
|||||||
asyncpg
|
asyncpg
|
||||||
aiosmtpd
|
aiosmtpd
|
||||||
emailthreads
|
emailthreads
|
||||||
|
redis
|
||||||
];
|
];
|
||||||
|
|
||||||
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://git.sr.ht/~sircmpwn/lists.sr.ht";
|
homepage = "https://git.sr.ht/~sircmpwn/lists.sr.ht";
|
||||||
description = "Mailing list service for the sr.ht network";
|
description = "Mailing list service for the sr.ht network";
|
||||||
|
Loading…
Reference in New Issue
Block a user