python3Packages.duecredit: init at 0.8.0
This commit is contained in:
parent
4c2504a6bf
commit
a6d8a12e4e
37
pkgs/development/python-modules/duecredit/default.nix
Normal file
37
pkgs/development/python-modules/duecredit/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
@ -2071,6 +2071,8 @@ in {
|
||||
|
||||
dodgy = callPackage ../development/python-modules/dodgy { };
|
||||
|
||||
duecredit = callPackage ../development/python-modules/duecredit { };
|
||||
|
||||
dugong = callPackage ../development/python-modules/dugong {};
|
||||
|
||||
easysnmp = callPackage ../development/python-modules/easysnmp {
|
||||
|
Loading…
x
Reference in New Issue
Block a user