Merge pull request #148712 from symphorien/paperwork-git

paperwork: 2.0.3 -> 2.1.0
This commit is contained in:
Guillaume Girol 2021-12-12 19:50:50 +00:00 committed by GitHub
commit e0f72254f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 9 deletions

View file

@ -2,7 +2,7 @@
, isPy3k, isPyPy , isPy3k, isPyPy
, distro, setuptools , distro, setuptools, psutil
, pkgs , pkgs
}: }:
@ -25,6 +25,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ propagatedBuildInputs = [
distro distro
setuptools setuptools
psutil
]; ];
nativeBuildInputs = [ pkgs.gettext pkgs.which ]; nativeBuildInputs = [ pkgs.gettext pkgs.which ];

View file

@ -38,6 +38,7 @@ buildPythonPackage rec {
pygobject3 pygobject3
pkgs.poppler_gi pkgs.poppler_gi
pkgs.gtk3 pkgs.gtk3
pkgs.libhandy
distro distro
pkgs.pango pkgs.pango
openpaperwork-core openpaperwork-core

View file

@ -6,7 +6,7 @@
, isPyPy , isPyPy
, pyenchant , pyenchant
, simplebayes , scikit-learn
, pypillowfight , pypillowfight
, pycountry , pycountry
, whoosh , whoosh
@ -41,7 +41,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ propagatedBuildInputs = [
pyenchant pyenchant
simplebayes scikit-learn
pypillowfight pypillowfight
pycountry pycountry
whoosh whoosh
@ -61,12 +61,12 @@ buildPythonPackage rec {
export HOME=$(mktemp -d) export HOME=$(mktemp -d)
''; '';
nativeBuildInputs = [ pkgs.gettext pkgs.which ]; nativeBuildInputs = [ pkgs.gettext pkgs.which pkgs.shared-mime-info ];
preBuild = '' preBuild = ''
make l10n_compile make l10n_compile
''; '';
checkInputs = [ openpaperwork-gtk psutil ]; checkInputs = [ openpaperwork-gtk psutil pkgs.libreoffice ];
meta = { meta = {
description = "Backend part of Paperwork (Python API, no UI)"; description = "Backend part of Paperwork (Python API, no UI)";

View file

@ -1,13 +1,13 @@
{fetchFromGitLab}: {fetchFromGitLab}:
rec { rec {
version = "2.0.3"; version = "2.1.0";
src = fetchFromGitLab { src = fetchFromGitLab {
domain = "gitlab.gnome.org"; domain = "gitlab.gnome.org";
repo = "paperwork"; repo = "paperwork";
group = "World"; group = "World";
owner = "OpenPaperwork"; owner = "OpenPaperwork";
rev = version; rev = version;
sha256 = "02c2ysca75j59v87n1axqfncvs167kmdr40m0f05asdh2akwrbi9"; sha256 = "0d1cw6k1giqs8ji8h3h97ckb134s8pszgip0nac5hmw0mvqq84xa";
}; };
sample_documents = fetchFromGitLab { sample_documents = fetchFromGitLab {
domain = "gitlab.gnome.org"; domain = "gitlab.gnome.org";
@ -15,8 +15,8 @@ rec {
group = "World"; group = "World";
owner = "OpenPaperwork"; owner = "OpenPaperwork";
# https://gitlab.gnome.org/World/OpenPaperwork/paperwork/-/blob/master/paperwork-gtk/src/paperwork_gtk/model/help/screenshot.sh see TEST_DOCS_TAG # 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"; rev = "2.1";
sha256 = "155nhw2jmlgfi6c3wm241vrr3yma6lw85k9lxn844z96kyi7wbpr"; sha256 = "0m79fgc1ycsj0q0alqgr0axn16klz1sfs2km1h83zn3kysqcs6xr";
}; };
} }