Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

arxiv2bib: init at 1.0.8

+30
+28
pkgs/development/python-modules/arxiv2bib/default.nix
···
··· 1 + { buildPythonPackage, python, lib, fetchFromGitHub 2 + , mock 3 + }: 4 + 5 + buildPythonPackage rec { 6 + pname = "arxiv2bib"; 7 + version = "1.0.8"; 8 + 9 + # Missing tests on Pypi 10 + src = fetchFromGitHub { 11 + owner = "nathangrigg"; 12 + repo = "arxiv2bib"; 13 + rev = version; 14 + sha256 = "1kp2iyx20lpc9dv4qg5fgwf83a1wx6f7hj1ldqyncg0kn9xcrhbg"; 15 + }; 16 + 17 + # Required for tests only 18 + checkInputs = [ mock ]; 19 + 20 + checkPhase = "${python.interpreter} -m unittest discover -s tests"; 21 + 22 + meta = with lib; { 23 + description = "Get a BibTeX entry from an arXiv id number, using the arxiv.org API"; 24 + homepage = http://nathangrigg.github.io/arxiv2bib/; 25 + license = licenses.bsd3; 26 + maintainers = [ maintainers.nico202 ]; 27 + }; 28 + }
+2
pkgs/top-level/python-packages.nix
··· 598 599 area53 = callPackage ../development/python-modules/area53 { }; 600 601 chai = callPackage ../development/python-modules/chai { }; 602 603 chainmap = callPackage ../development/python-modules/chainmap { };
··· 598 599 area53 = callPackage ../development/python-modules/area53 { }; 600 601 + arxiv2bib = callPackage ../development/python-modules/arxiv2bib { }; 602 + 603 chai = callPackage ../development/python-modules/chai { }; 604 605 chainmap = callPackage ../development/python-modules/chainmap { };