ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / habitipy / default.nix
blobd20c89e82e7928cb26f278b3560d784f661de8ee
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , plumbum
5 , requests
6 , setuptools
7 , hypothesis
8 , nose
9 , responses
12 buildPythonPackage rec {
13   pname = "habitipy";
14   version = "0.3.0";
16   src = fetchFromGitHub {
17     owner = "ASMfreaK";
18     repo = "habitipy";
19     rev = "v${version}";
20     sha256 = "1vf485z5m4h61p64zr3sgkcil2s3brq7dja4n7m49d1fvzcirylv";
21   };
23   propagatedBuildInputs = [
24     plumbum
25     requests
26     setuptools
27   ];
29   checkInputs = [
30     hypothesis
31     nose
32     responses
33   ];
35   checkPhase = ''
36     HOME=$TMPDIR nosetests
37   '';
39   pythonImportsCheck = [ "habitipy" ];
41   meta = with lib; {
42     description = "Tools and library for Habitica restful API";
43     homepage = "https://github.com/ASMfreaK/habitipy";
44     license = licenses.mit;
45     maintainers = with maintainers; [ dotlambda ];
46   };