Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / duecredit / default.nix
blobba51405e5e9157678e524fc0458d0daf5f34161e
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , isPy27
5 , contextlib2
6 , pytest
7 , pytestCheckHook
8 , vcrpy
9 , citeproc-py
10 , requests
11 , setuptools
12 , six
15 buildPythonPackage rec {
16   pname = "duecredit";
17   version = "0.8.1";
18   disabled = isPy27;
20   src = fetchPypi {
21     inherit pname version;
22     sha256 = "43b3f01ab5fb2bf2ecc27d3fcf92b873c6b288f44becef3e2e87c96cb89d7b01";
23   };
25   # bin/duecredit requires setuptools at runtime
26   propagatedBuildInputs = [ citeproc-py requests setuptools six ];
28   checkInputs = [ contextlib2 pytest pytestCheckHook vcrpy ];
29   disabledTests = [ "test_io" ];
31   meta = with lib; {
32     homepage = "https://github.com/duecredit/duecredit";
33     description = "Simple framework to embed references in code";
34     license = licenses.bsd2;
35     maintainers = with maintainers; [ bcdarwin ];
36   };