sourcehut.todosrht: 0.62.1 -> 0.64.14
This commit is contained in:
parent
1383d5574b
commit
fc5daae1fa
@ -1,15 +1,24 @@
|
|||||||
{ lib, fetchgit, buildPythonPackage
|
{ lib
|
||||||
, srht, redis, alembic, pystache
|
, fetchFromSourcehut
|
||||||
, pytest, factory_boy }:
|
, buildPythonPackage
|
||||||
|
, srht
|
||||||
|
, redis
|
||||||
|
, alembic
|
||||||
|
, pystache
|
||||||
|
, pytest
|
||||||
|
, factory_boy
|
||||||
|
, python
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "todosrht";
|
pname = "todosrht";
|
||||||
version = "0.62.1";
|
version = "0.64.14";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchFromSourcehut {
|
||||||
url = "https://git.sr.ht/~sircmpwn/todo.sr.ht";
|
owner = "~sircmpwn";
|
||||||
|
repo = "todo.sr.ht";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "17fsv2z37sjzqzpvx39nc36xln1ayivzjg309d2vmb94aaym4nz2";
|
sha256 = "sha256-huIAhn6h1F5w5ST4/yBwr82kAzyYwhLu+gpRuOQgnsE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = srht.nativeBuildInputs;
|
nativeBuildInputs = srht.nativeBuildInputs;
|
||||||
@ -23,6 +32,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
export PKGVER=${version}
|
export PKGVER=${version}
|
||||||
|
export SRHT_PATH=${srht}/${python.sitePackages}/srht
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# pytest tests fail
|
# pytest tests fail
|
||||||
|
Loading…
x
Reference in New Issue
Block a user