mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
papis: init at 0.5.2
This commit is contained in:
parent
3c3bc83c39
commit
dd4144ed62
44
pkgs/tools/misc/papis/default.nix
Normal file
44
pkgs/tools/misc/papis/default.nix
Normal file
@ -0,0 +1,44 @@
|
||||
{ buildPythonApplication, lib, fetchFromGitHub
|
||||
, argcomplete, arxiv2bib, beautifulsoup4, bibtexparser
|
||||
, configparser, habanero, papis-python-rofi, pylibgen
|
||||
, prompt_toolkit, pyparser, python_magic, pyyaml
|
||||
, requests, unidecode, urwid, vobject, tkinter
|
||||
, vim
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "papis";
|
||||
version = "0.5.2";
|
||||
|
||||
# Missing tests on Pypi
|
||||
src = fetchFromGitHub {
|
||||
owner = "alejandrogallo";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0cw6ajdaknijka3j2bkkkn0bcxqifk825kq0a0rdbbmc6661pgxb";
|
||||
};
|
||||
|
||||
postPatch = "sed -i 's/configparser>=3.0.0/# configparser>=3.0.0/' setup.py";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
argcomplete arxiv2bib beautifulsoup4 bibtexparser
|
||||
configparser habanero papis-python-rofi pylibgen
|
||||
prompt_toolkit pyparser python_magic pyyaml
|
||||
requests unidecode urwid vobject tkinter
|
||||
vim
|
||||
];
|
||||
|
||||
# Papis tries to create the config folder under $HOME during the tests
|
||||
preCheck = ''
|
||||
mkdir -p check-phase
|
||||
export HOME=$(pwd)/check-phase
|
||||
'';
|
||||
|
||||
|
||||
meta = {
|
||||
description = "Powerful command-line document and bibliography manager";
|
||||
homepage = http://papis.readthedocs.io/en/latest/;
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = [ lib.maintainers.nico202 ];
|
||||
};
|
||||
}
|
@ -13985,6 +13985,8 @@ with pkgs;
|
||||
|
||||
papirus-icon-theme = callPackage ../data/icons/papirus-icon-theme { };
|
||||
|
||||
papis = python3Packages.callPackage ../tools/misc/papis { };
|
||||
|
||||
pecita = callPackage ../data/fonts/pecita {};
|
||||
|
||||
paratype-pt-mono = callPackage ../data/fonts/paratype-pt/mono.nix {};
|
||||
|
Loading…
Reference in New Issue
Block a user