lol
at 22.05-pre 34 lines 926 B view raw
1{ lib, fetchFromGitHub, python3Packages }: 2 3python3Packages.buildPythonApplication rec { 4 pname = "pubs"; 5 version = "0.8.3"; 6 7 src = fetchFromGitHub { 8 owner = "pubs"; 9 repo = "pubs"; 10 rev = "v${version}"; 11 sha256 = "0npgsyxj7kby5laznk5ilkrychs3i68y57gphwk48w8k9fvnl3zc"; 12 }; 13 14 propagatedBuildInputs = with python3Packages; [ 15 argcomplete python-dateutil configobj feedparser bibtexparser pyyaml requests six 16 beautifulsoup4 17 ]; 18 19 checkInputs = with python3Packages; [ pyfakefs mock ddt ]; 20 21 # Disabling git tests because they expect git to be preconfigured 22 # with the user's details. See 23 # https://github.com/NixOS/nixpkgs/issues/94663 24 preCheck = '' 25 rm tests/test_git.py 26 ''; 27 28 meta = with lib; { 29 description = "Command-line bibliography manager"; 30 homepage = "https://github.com/pubs/pubs"; 31 license = licenses.lgpl3; 32 maintainers = with maintainers; [ gebner ]; 33 }; 34}