sourcehut.mansrht: 0.15.4 -> 0.15.12
This commit is contained in:
parent
fc5daae1fa
commit
9b3a109c3e
|
@ -1,14 +1,20 @@
|
||||||
{ lib, fetchgit, buildPythonPackage
|
{ lib
|
||||||
, srht, pygit2 }:
|
, fetchFromSourcehut
|
||||||
|
, buildPythonPackage
|
||||||
|
, srht
|
||||||
|
, pygit2
|
||||||
|
, python
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "mansrht";
|
pname = "mansrht";
|
||||||
version = "0.15.4";
|
version = "0.15.12";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchFromSourcehut {
|
||||||
url = "https://git.sr.ht/~sircmpwn/man.sr.ht";
|
owner = "~sircmpwn";
|
||||||
|
repo = "man.sr.ht";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0spi0yy2myxw4kggy54yskda14c4vaq2ng9dd9krqsajnsy7anrw";
|
sha256 = "sha256-MqH/8K9XRvEg6P7GHE6XXtWnhDP3wT8iGoNaFtYQbio=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = srht.nativeBuildInputs;
|
nativeBuildInputs = srht.nativeBuildInputs;
|
||||||
|
@ -20,10 +26,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/man.sr.ht";
|
homepage = "https://git.sr.ht/~sircmpwn/man.sr.ht";
|
||||||
description = "Wiki service for the sr.ht network";
|
description = "Wiki service for the sr.ht network";
|
||||||
|
|
Loading…
Reference in New Issue