mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #148712 from symphorien/paperwork-git
paperwork: 2.0.3 -> 2.1.0
This commit is contained in:
commit
e0f72254f2
4 changed files with 11 additions and 9 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
, isPy3k, isPyPy
|
||||
|
||||
, distro, setuptools
|
||||
, distro, setuptools, psutil
|
||||
|
||||
, pkgs
|
||||
}:
|
||||
|
@ -25,6 +25,7 @@ buildPythonPackage rec {
|
|||
propagatedBuildInputs = [
|
||||
distro
|
||||
setuptools
|
||||
psutil
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkgs.gettext pkgs.which ];
|
||||
|
|
|
@ -38,6 +38,7 @@ buildPythonPackage rec {
|
|||
pygobject3
|
||||
pkgs.poppler_gi
|
||||
pkgs.gtk3
|
||||
pkgs.libhandy
|
||||
distro
|
||||
pkgs.pango
|
||||
openpaperwork-core
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
, isPyPy
|
||||
|
||||
, pyenchant
|
||||
, simplebayes
|
||||
, scikit-learn
|
||||
, pypillowfight
|
||||
, pycountry
|
||||
, whoosh
|
||||
|
@ -41,7 +41,7 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [
|
||||
pyenchant
|
||||
simplebayes
|
||||
scikit-learn
|
||||
pypillowfight
|
||||
pycountry
|
||||
whoosh
|
||||
|
@ -61,12 +61,12 @@ buildPythonPackage rec {
|
|||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pkgs.gettext pkgs.which ];
|
||||
nativeBuildInputs = [ pkgs.gettext pkgs.which pkgs.shared-mime-info ];
|
||||
preBuild = ''
|
||||
make l10n_compile
|
||||
'';
|
||||
|
||||
checkInputs = [ openpaperwork-gtk psutil ];
|
||||
checkInputs = [ openpaperwork-gtk psutil pkgs.libreoffice ];
|
||||
|
||||
meta = {
|
||||
description = "Backend part of Paperwork (Python API, no UI)";
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
{fetchFromGitLab}:
|
||||
rec {
|
||||
version = "2.0.3";
|
||||
version = "2.1.0";
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.gnome.org";
|
||||
repo = "paperwork";
|
||||
group = "World";
|
||||
owner = "OpenPaperwork";
|
||||
rev = version;
|
||||
sha256 = "02c2ysca75j59v87n1axqfncvs167kmdr40m0f05asdh2akwrbi9";
|
||||
sha256 = "0d1cw6k1giqs8ji8h3h97ckb134s8pszgip0nac5hmw0mvqq84xa";
|
||||
};
|
||||
sample_documents = fetchFromGitLab {
|
||||
domain = "gitlab.gnome.org";
|
||||
|
@ -15,8 +15,8 @@ rec {
|
|||
group = "World";
|
||||
owner = "OpenPaperwork";
|
||||
# https://gitlab.gnome.org/World/OpenPaperwork/paperwork/-/blob/master/paperwork-gtk/src/paperwork_gtk/model/help/screenshot.sh see TEST_DOCS_TAG
|
||||
rev = "1.0";
|
||||
sha256 = "155nhw2jmlgfi6c3wm241vrr3yma6lw85k9lxn844z96kyi7wbpr";
|
||||
rev = "2.1";
|
||||
sha256 = "0m79fgc1ycsj0q0alqgr0axn16klz1sfs2km1h83zn3kysqcs6xr";
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue