git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #5561 from rycee/package/unpaper
7af2eeePeter Simons
pkgs/tools/graphics/unpaper/default.nixnew file+20
@@ -0,0 +1,20 @@
1+{ stdenv, fetchurl, pkgconfig, libav, libxslt }:
2+
3+stdenv.mkDerivation rec {
4+ name = "unpaper-${version}";
5+ version = "6.1";
6+
7+ src = fetchurl {
8+ url = "https://www.flameeyes.eu/files/${name}.tar.xz";
9+ sha256 = "0c5rbkxbmy9k8vxjh4cv0bgnqd3wqc99yzw215vkyjslvbsq8z13";
10+ };
11+
12+ buildInputs = [ pkgconfig libav libxslt ];
13+
14+ meta = with stdenv.lib; {
15+ homepage = https://www.flameeyes.eu/projects/unpaper;
16+ description = "Post-processing tool for scanned sheets of paper";
17+ license = licenses.gpl2;
18+ maintainers = [ maintainers.rycee ];
19+ };
20+}
pkgs/top-level/all-packages.nix+2
@@ -11116,6 +11116,8 @@ let
11116 enableX11 = config.unison.enableX11 or true;
11116 enableX11 = config.unison.enableX11 or true;
11117 };
11117 };
11118
11118
11119+ unpaper = callPackage ../tools/graphics/unpaper { };
11120+
11119 uucp = callPackage ../tools/misc/uucp { };
11121 uucp = callPackage ../tools/misc/uucp { };
11120
11122
11121 uvccapture = callPackage ../applications/video/uvccapture { };
11123 uvccapture = callPackage ../applications/video/uvccapture { };