forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.nix
47 lines (39 loc) · 852 Bytes
/
default.nix
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
38
39
40
41
42
43
44
45
46
47
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptoolsLegacyNamespaceHook
, oset
, pybtex
, pybtex-docutils
, sphinx
}:
buildPythonPackage rec {
pname = "sphinxcontrib-bibtex";
version = "2.5.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-cbQuXbDi4oTyQ4dTJr+ZNqqadjKCJ311BIgm/vWwDqo=";
};
nativeBuildInputs = [
setuptoolsLegacyNamespaceHook
];
propagatedBuildInputs = [
oset
pybtex
pybtex-docutils
sphinx
];
doCheck = false;
pythonImportsCheck = [
"sphinxcontrib.bibtex"
];
meta = with lib; {
description = "A Sphinx extension for BibTeX style citations";
homepage = "https://github.com/mcmtroffaes/sphinxcontrib-bibtex";
license = licenses.bsd2;
maintainers = with maintainers; [ ];
};
}