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