10 buildPythonPackage rec {
13 format = "setuptools";
15 # pypi does not ship tests
16 src = fetchFromGitLab {
17 domain = "framagit.org";
20 rev = "d887bd8b340172d1c9bbcca6426529b8d1c2a241"; # no tags
21 sha256 = "1d66nka81mv9c07mki78lp5hdajqv4cq6aq2k7bh3mhkc5hwnwlg";
26 propagatedBuildInputs = [ jinja2 ];
28 nativeCheckInputs = [ pytest ];
30 # for some reason tests only work if the module is properly installed
33 export PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH
38 inherit (src.meta) homepage;
39 description = "A simple library and cli-tool to help you solve some debts settlement scenarios";
40 mainProgram = "debts";
41 license = licenses.beerware;
42 maintainers = [ maintainers.symphorien ];