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
|
, 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 ];
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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)";
|
||||||
|
|
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue