sourcehut.pastesrht: 0.11.2 -> 0.12.1
This commit is contained in:
parent
1dbd9b2476
commit
350f4867c7
@ -1,14 +1,20 @@
|
|||||||
{ lib, fetchgit, buildPythonPackage
|
{ lib
|
||||||
, srht, pyyaml }:
|
, fetchFromSourcehut
|
||||||
|
, buildPythonPackage
|
||||||
|
, srht
|
||||||
|
, pyyaml
|
||||||
|
, python
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pastesrht";
|
pname = "pastesrht";
|
||||||
version = "0.11.2";
|
version = "0.12.1";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchFromSourcehut {
|
||||||
url = "https://git.sr.ht/~sircmpwn/paste.sr.ht";
|
owner = "~sircmpwn";
|
||||||
|
repo = "paste.sr.ht";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "15hm5165v8a7ryw6i0vlf189slw4rp22cfgzznih18pbml7d0c8s";
|
sha256 = "sha256-QQhd2LeH9BLmlHilhsv+9fZ+RPNmEMSmOpFA3dsMBFc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
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/paste.sr.ht";
|
homepage = "https://git.sr.ht/~sircmpwn/paste.sr.ht";
|
||||||
description = "Ad-hoc text file hosting service for the sr.ht network";
|
description = "Ad-hoc text file hosting service for the sr.ht network";
|
||||||
|
Loading…
Reference in New Issue
Block a user