2021-01-25 09:26:54 +01:00
|
|
|
{ lib, fetchhg, buildPythonPackage
|
2019-01-22 03:01:52 +01:00
|
|
|
, python
|
|
|
|
, srht, hglib, scmsrht, unidiff }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "hgsrht";
|
2020-10-11 15:43:24 +02:00
|
|
|
version = "0.26.19";
|
2019-01-22 03:01:52 +01:00
|
|
|
|
|
|
|
src = fetchhg {
|
|
|
|
url = "https://hg.sr.ht/~sircmpwn/hg.sr.ht";
|
|
|
|
rev = version;
|
2020-10-11 15:43:24 +02:00
|
|
|
sha256 = "0dc0lgqq8zdaywbd50dlxypk1lv0nffvqr3889v10ycy45qcfymv";
|
2019-01-22 03:01:52 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = srht.nativeBuildInputs;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
srht
|
|
|
|
hglib
|
|
|
|
scmsrht
|
|
|
|
unidiff
|
|
|
|
];
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
export PKGVER=${version}
|
|
|
|
'';
|
|
|
|
|
2021-01-03 06:36:55 +01:00
|
|
|
dontUseSetuptoolsCheck = true;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://git.sr.ht/~sircmpwn/hg.sr.ht";
|
2019-01-22 03:01:52 +01:00
|
|
|
description = "Mercurial repository hosting service for the sr.ht network";
|
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = with maintainers; [ eadwu ];
|
|
|
|
};
|
|
|
|
}
|