sourcehut.hgsrht: 0.26.19 -> 0.27.4
This commit is contained in:
parent
c4dda181cf
commit
22c2b7a64d
|
@ -1,14 +1,21 @@
|
||||||
{ lib, fetchhg, buildPythonPackage
|
{ lib
|
||||||
, srht, hglib, scmsrht, unidiff }:
|
, fetchhg
|
||||||
|
, buildPythonPackage
|
||||||
|
, srht
|
||||||
|
, hglib
|
||||||
|
, scmsrht
|
||||||
|
, unidiff
|
||||||
|
, python
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "hgsrht";
|
pname = "hgsrht";
|
||||||
version = "0.26.19";
|
version = "0.27.4";
|
||||||
|
|
||||||
src = fetchhg {
|
src = fetchhg {
|
||||||
url = "https://hg.sr.ht/~sircmpwn/hg.sr.ht";
|
url = "https://hg.sr.ht/~sircmpwn/hg.sr.ht";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0dc0lgqq8zdaywbd50dlxypk1lv0nffvqr3889v10ycy45qcfymv";
|
sha256 = "1c0qfi0gmbfngvds6917fy9ii2iglawn429757rh7b4bvzn7n6mr";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = srht.nativeBuildInputs;
|
nativeBuildInputs = srht.nativeBuildInputs;
|
||||||
|
@ -22,10 +29,9 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
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/hg.sr.ht";
|
homepage = "https://git.sr.ht/~sircmpwn/hg.sr.ht";
|
||||||
description = "Mercurial repository hosting service for the sr.ht network";
|
description = "Mercurial repository hosting service for the sr.ht network";
|
||||||
|
|
Loading…
Reference in New Issue