2020-06-23 01:05:34 +01:00
|
|
|
{ stdenv, fetchgit, buildPythonPackage
|
|
|
|
, python
|
|
|
|
, srht }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "hubsrht";
|
2020-10-11 14:43:27 +01:00
|
|
|
version = "0.11.5";
|
2020-06-23 01:05:34 +01:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.sr.ht/~sircmpwn/hub.sr.ht";
|
|
|
|
rev = version;
|
2020-10-11 14:43:27 +01:00
|
|
|
sha256 = "0cysdfy1z69jaizblbq0ywpcvcnx57rlzg42k98kd9w2mqzj5173";
|
2020-06-23 01:05:34 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = srht.nativeBuildInputs;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
srht
|
|
|
|
];
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
export PKGVER=${version}
|
|
|
|
'';
|
|
|
|
|
2021-01-03 05:36:55 +00:00
|
|
|
dontUseSetuptoolsCheck = true;
|
|
|
|
|
2020-06-23 01:05:34 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|