10 buildPythonPackage rec {
11 pname = "bibtexparser";
13 format = "setuptools";
15 disabled = pythonOlder "3.7";
17 src = fetchFromGitHub {
18 owner = "sciunto-org";
19 repo = "python-${pname}";
20 rev = "refs/tags/v${version}";
21 hash = "sha256-dP3ETzgVPI4NsxFI6Hv+nUInrjF+I1FwdqmeAetzL38=";
24 propagatedBuildInputs = [
34 # https://github.com/sciunto-org/python-bibtexparser/pull/259
35 substituteInPlace bibtexparser/tests/test_crossref_resolving.py \
36 --replace "import unittest2 as unittest" "import unittest"
39 pythonImportsCheck = [
44 description = "Bibtex parser for Python";
45 homepage = "https://github.com/sciunto-org/python-bibtexparser";
46 license = with licenses; [ lgpl3Only /* or */ bsd3 ];
47 maintainers = with maintainers; [ fridh ];