sourcehut.todosrht: 0.62.1 -> 0.64.14

authored by

Thomas Bereknyei and committed by
tomberek
fc5daae1 1383d557

+17 -7
+17 -7
pkgs/applications/version-management/sourcehut/todo.nix
··· 1 - { lib, fetchgit, buildPythonPackage 2 - , srht, redis, alembic, pystache 3 - , pytest, factory_boy }: 4 5 buildPythonPackage rec { 6 pname = "todosrht"; 7 - version = "0.62.1"; 8 9 - src = fetchgit { 10 - url = "https://git.sr.ht/~sircmpwn/todo.sr.ht"; 11 rev = version; 12 - sha256 = "17fsv2z37sjzqzpvx39nc36xln1ayivzjg309d2vmb94aaym4nz2"; 13 }; 14 15 nativeBuildInputs = srht.nativeBuildInputs; ··· 23 24 preBuild = '' 25 export PKGVER=${version} 26 ''; 27 28 # pytest tests fail
··· 1 + { lib 2 + , fetchFromSourcehut 3 + , buildPythonPackage 4 + , srht 5 + , redis 6 + , alembic 7 + , pystache 8 + , pytest 9 + , factory_boy 10 + , python 11 + }: 12 13 buildPythonPackage rec { 14 pname = "todosrht"; 15 + version = "0.64.14"; 16 17 + src = fetchFromSourcehut { 18 + owner = "~sircmpwn"; 19 + repo = "todo.sr.ht"; 20 rev = version; 21 + sha256 = "sha256-huIAhn6h1F5w5ST4/yBwr82kAzyYwhLu+gpRuOQgnsE="; 22 }; 23 24 nativeBuildInputs = srht.nativeBuildInputs; ··· 32 33 preBuild = '' 34 export PKGVER=${version} 35 + export SRHT_PATH=${srht}/${python.sitePackages}/srht 36 ''; 37 38 # pytest tests fail