diff options
author | Ben Darwin <bcdarwin@gmail.com> | 2020-06-09 16:09:21 -0400 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-06-12 12:33:44 -0700 |
commit | a6d8a12e4eb20ecd7c97ae695a87fa5fbab28cae (patch) | |
tree | 3f4d8102adc29ddf40bec05d00d56c4e42ec8368 /pkgs/development/python-modules/duecredit | |
parent | 4c2504a6bf9f1b566e7c08593e9915834485c58f (diff) | |
download | nixlib-a6d8a12e4eb20ecd7c97ae695a87fa5fbab28cae.tar nixlib-a6d8a12e4eb20ecd7c97ae695a87fa5fbab28cae.tar.gz nixlib-a6d8a12e4eb20ecd7c97ae695a87fa5fbab28cae.tar.bz2 nixlib-a6d8a12e4eb20ecd7c97ae695a87fa5fbab28cae.tar.lz nixlib-a6d8a12e4eb20ecd7c97ae695a87fa5fbab28cae.tar.xz nixlib-a6d8a12e4eb20ecd7c97ae695a87fa5fbab28cae.tar.zst nixlib-a6d8a12e4eb20ecd7c97ae695a87fa5fbab28cae.zip |
python3Packages.duecredit: init at 0.8.0
Diffstat (limited to 'pkgs/development/python-modules/duecredit')
-rw-r--r-- | pkgs/development/python-modules/duecredit/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/duecredit/default.nix b/pkgs/development/python-modules/duecredit/default.nix new file mode 100644 index 000000000000..28aaf8ee47c9 --- /dev/null +++ b/pkgs/development/python-modules/duecredit/default.nix @@ -0,0 +1,37 @@ +{ lib +, buildPythonPackage +, fetchPypi +, isPy27 +, contextlib2 +, pytest +, pytestCheckHook +, vcrpy +, citeproc-py +, requests +, setuptools +, six +}: + +buildPythonPackage rec { + pname = "duecredit"; + version = "0.8.0"; + disabled = isPy27; + + src = fetchPypi { + inherit pname version; + sha256 = "1yxd8579pakrfhq0hls0iy37nxllsm8y33na220g08znibrp7ix0"; + }; + + # bin/duecredit requires setuptools at runtime + propagatedBuildInputs = [ citeproc-py requests setuptools six ]; + + checkInputs = [ contextlib2 pytest pytestCheckHook vcrpy ]; + disabledTests = [ "test_io" ]; + + meta = with lib; { + homepage = "https://github.com/duecredit/duecredit"; + description = "Simple framework to embed references in code"; + license = licenses.bsd2; + maintainers = with maintainers; [ bcdarwin ]; + }; +} |