Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 37 lines 801 B view raw
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 13}: 14 15buildPythonPackage rec { 16 pname = "duecredit"; 17 version = "0.8.0"; 18 disabled = isPy27; 19 20 src = fetchPypi { 21 inherit pname version; 22 sha256 = "1yxd8579pakrfhq0hls0iy37nxllsm8y33na220g08znibrp7ix0"; 23 }; 24 25 # bin/duecredit requires setuptools at runtime 26 propagatedBuildInputs = [ citeproc-py requests setuptools six ]; 27 28 checkInputs = [ contextlib2 pytest pytestCheckHook vcrpy ]; 29 disabledTests = [ "test_io" ]; 30 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 }; 37}