diff --git a/pkgs/development/python-modules/bibtexparser/default.nix b/pkgs/development/python-modules/bibtexparser/default.nix new file mode 100644 index 000000000000..0f624a145e01 --- /dev/null +++ b/pkgs/development/python-modules/bibtexparser/default.nix @@ -0,0 +1,25 @@ +{ lib +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "bibtexparser"; + version = "0.6.2"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "5888219ac5db1c63ae0ad4db52ec7ad87fe7a32bd60e62ee87bceedb8ebf73b8"; + }; + + # No tests in archive + doCheck = false; + + meta = { + description = "Bibtex parser for python 2.7 and 3.3 and newer"; + homepage = https://github.com/sciunto-org/python-bibtexparser; + license = with lib.licenses; [ gpl3 bsd3 ]; + maintainer = with lib.maintainers; [ fridh ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 93a22b7f5a37..c41ed0522c46 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2217,6 +2217,8 @@ in { }; }; + bibtexparser = callPackage ../development/python-modules/bibtexparser { }; + binwalk_fun = { visualizationSupport ? false, pyqtgraph ? null }: assert visualizationSupport -> pyqtgraph != null;