summaryrefslogtreecommitdiff
path: root/overlays/pdf-redact-tools.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2023-02-25 13:27:37 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2023-02-25 13:27:37 +0100
commitf122223243cbb50fa65d96646bc06f53567fd815 (patch)
treec14a2c875e2c56131857fa98f13a7e26581a3782 /overlays/pdf-redact-tools.nix
parent07f9ba7096d0db355d87147468990bc30b732a00 (diff)
downloadnixos-f122223243cbb50fa65d96646bc06f53567fd815.tar
nixos-f122223243cbb50fa65d96646bc06f53567fd815.tar.gz
nixos-f122223243cbb50fa65d96646bc06f53567fd815.tar.bz2
nixos-f122223243cbb50fa65d96646bc06f53567fd815.tar.xz
nixos-f122223243cbb50fa65d96646bc06f53567fd815.zip
...
Diffstat (limited to 'overlays/pdf-redact-tools.nix')
-rw-r--r--overlays/pdf-redact-tools.nix28
1 files changed, 0 insertions, 28 deletions
diff --git a/overlays/pdf-redact-tools.nix b/overlays/pdf-redact-tools.nix
deleted file mode 100644
index d7879787..00000000
--- a/overlays/pdf-redact-tools.nix
+++ /dev/null
@@ -1,28 +0,0 @@
1{ final, prev, ... }: {
2 pdf-redact-tools = prev.stdenv.mkDerivation {
3 pname = "pdf-redact-tools";
4 version = "0.1.2";
5
6 src = prev.fetchFromGitHub {
7 owner = "firstlookmedia";
8 repo = "pdf-redact-tools";
9 rev = "e407942fa19027718b706033d460a1dec2097094";
10 sha256 = "sha256-mnz43HLau4PQ2xYqTx67I0BD+fVe0lRxQz2uAeCsaX0=";
11 };
12
13 buildInputs = [
14 (final.python3.withPackages (ps: with ps; []))
15 final.makeWrapper
16 ];
17
18 buildPhase = "true";
19
20 installPhase = ''
21 mkdir -p $out/bin
22 install -m 0755 -t $out/bin \
23 pdf-redact-tools
24 wrapProgram $out/bin/pdf-redact-tools \
25 --prefix PATH : ${prev.lib.makeBinPath (with final; [ imagemagick ghostscriptX exiftool ])}
26 '';
27 };
28}