blob: ba51405e5e9157678e524fc0458d0daf5f34161e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, contextlib2
, pytest
, pytestCheckHook
, vcrpy
, citeproc-py
, requests
, setuptools
, six
}:
buildPythonPackage rec {
pname = "duecredit";
version = "0.8.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "43b3f01ab5fb2bf2ecc27d3fcf92b873c6b288f44becef3e2e87c96cb89d7b01";
};
# 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 ];
};
}
|