Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pdfshuffler: init at unstable-2017-02-26
- Loading branch information
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ stdenv, fetchsvn | ||
, wrapGAppsHook, makeWrapper, gettext | ||
, python3Packages, gtk3, poppler_gi | ||
, gnome3, gsettings_desktop_schemas, shared_mime_info, | ||
}: | ||
|
||
python3Packages.buildPythonApplication rec { | ||
name = "pdfshuffler-unstable-2017-02-26"; # no official release in 5 years | ||
|
||
src = fetchsvn { | ||
url = "http://svn.gna.org/svn/pdfshuffler/trunk"; | ||
rev = "20"; | ||
sha256 = "1g20dy45xg5vda9y58d2b1gkczj44xgrfi59jx6hr62ynd3z0dfc"; | ||
}; | ||
|
||
nativeBuildInputs = [ wrapGAppsHook gettext makeWrapper ]; | ||
|
||
buildInputs = [ | ||
gtk3 gsettings_desktop_schemas poppler_gi gnome3.adwaita-icon-theme | ||
]; | ||
|
||
propagatedBuildInputs = with python3Packages; [ | ||
pygobject3 | ||
pycairo | ||
pypdf2 | ||
]; | ||
|
||
preFixup = '' | ||
gappsWrapperArgs+=(--prefix XDG_DATA_DIRS : "${shared_mime_info}/share") | ||
''; | ||
|
||
doCheck = false; # no tests | ||
|
||
meta = with stdenv.lib; { | ||
homepage = https://gna.org/projects/pdfshuffler/; | ||
description = "Merge or split pdf documents and rotate, crop and rearrange their pages"; | ||
platforms = platforms.linux; | ||
maintainers = with maintainers; [ mic92 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters