tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
pdfmm: init at unstable-2019-01-24
Fixes #212088
Colin Arnott
3 years ago
71f63237
396d53eb
+59
2 changed files
expand all
collapse all
unified
split
pkgs
applications
office
pdfmm
default.nix
top-level
all-packages.nix
+57
pkgs/applications/office/pdfmm/default.nix
···
1
1
+
{ bash
2
2
+
, coreutils
3
3
+
, fetchFromGitHub
4
4
+
, ghostscript
5
5
+
, glibc
6
6
+
, gnome
7
7
+
, gnused
8
8
+
, lib
9
9
+
, resholve
10
10
+
, xorg
11
11
+
}:
12
12
+
13
13
+
resholve.mkDerivation rec {
14
14
+
pname = "pdfmm";
15
15
+
version = "unstable-2019-01-24";
16
16
+
17
17
+
src = fetchFromGitHub {
18
18
+
owner = "jpfleury";
19
19
+
repo = pname;
20
20
+
rev = "45ee7796659d23bb030bf06647f1af85e1d2b52d";
21
21
+
hash = "sha256-TOISD/2g7MwnLrtpMnfr2Ln0IiwlJVNavWl4eh/uwN0=";
22
22
+
};
23
23
+
24
24
+
dontBuild = true;
25
25
+
26
26
+
installPhase = ''
27
27
+
install -Dm 0755 pdfmm $out/bin/pdfmm
28
28
+
'';
29
29
+
30
30
+
solutions.default = {
31
31
+
scripts = [
32
32
+
"bin/pdfmm"
33
33
+
];
34
34
+
interpreter = "${bash}/bin/bash";
35
35
+
inputs = [
36
36
+
coreutils
37
37
+
ghostscript
38
38
+
glibc
39
39
+
gnome.zenity
40
40
+
gnused
41
41
+
xorg.xmessage
42
42
+
];
43
43
+
execer = [
44
44
+
"cannot:${glibc.bin}/bin/locale"
45
45
+
"cannot:${gnome.zenity}/bin/zenity"
46
46
+
"cannot:${xorg.xmessage}/bin/xmessage"
47
47
+
];
48
48
+
keep."$toutLu" = true;
49
49
+
};
50
50
+
51
51
+
meta = with lib; {
52
52
+
description = "Graphical assistant to reduce the size of a PDF file";
53
53
+
homepage = "https://github.com/jpfleury/pdfmm";
54
54
+
license = licenses.gpl3Only;
55
55
+
maintainers = with maintainers; [ urandom ];
56
56
+
};
57
57
+
}
+2
pkgs/top-level/all-packages.nix
···
31404
31404
31405
31405
pdfmixtool = libsForQt5.callPackage ../applications/office/pdfmixtool { };
31406
31406
31407
31407
+
pdfmm = callPackage ../applications/office/pdfmm {};
31408
31408
+
31407
31409
pig = callPackage ../applications/networking/cluster/pig { };
31408
31410
31409
31411
pijul = callPackage ../applications/version-management/pijul { };