diff options
author | Peter Simons <simons@cryp.to> | 2015-01-04 15:20:36 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2015-01-04 15:20:36 +0100 |
commit | 7af2eee47202965d53aa957cab4fcc32cf809cd1 (patch) | |
tree | 4e188a70dfea1df751f423d7c8650b4ee4349e38 /pkgs | |
parent | c7df7f6361cb160ae566065aa840cf07975fef92 (diff) | |
parent | 5b9b923abd69c3f2cf531ec20bb654e6257684ff (diff) | |
download | nixlib-7af2eee47202965d53aa957cab4fcc32cf809cd1.tar nixlib-7af2eee47202965d53aa957cab4fcc32cf809cd1.tar.gz nixlib-7af2eee47202965d53aa957cab4fcc32cf809cd1.tar.bz2 nixlib-7af2eee47202965d53aa957cab4fcc32cf809cd1.tar.lz nixlib-7af2eee47202965d53aa957cab4fcc32cf809cd1.tar.xz nixlib-7af2eee47202965d53aa957cab4fcc32cf809cd1.tar.zst nixlib-7af2eee47202965d53aa957cab4fcc32cf809cd1.zip |
Merge pull request #5561 from rycee/package/unpaper
Add package 'unpaper'.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/graphics/unpaper/default.nix | 20 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/unpaper/default.nix b/pkgs/tools/graphics/unpaper/default.nix new file mode 100644 index 000000000000..e199eeea132b --- /dev/null +++ b/pkgs/tools/graphics/unpaper/default.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl, pkgconfig, libav, libxslt }: + +stdenv.mkDerivation rec { + name = "unpaper-${version}"; + version = "6.1"; + + src = fetchurl { + url = "https://www.flameeyes.eu/files/${name}.tar.xz"; + sha256 = "0c5rbkxbmy9k8vxjh4cv0bgnqd3wqc99yzw215vkyjslvbsq8z13"; + }; + + buildInputs = [ pkgconfig libav libxslt ]; + + meta = with stdenv.lib; { + homepage = https://www.flameeyes.eu/projects/unpaper; + description = "Post-processing tool for scanned sheets of paper"; + license = licenses.gpl2; + maintainers = [ maintainers.rycee ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 872f9b9355e4..468bc0839f19 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11116,6 +11116,8 @@ let enableX11 = config.unison.enableX11 or true; }; + unpaper = callPackage ../tools/graphics/unpaper { }; + uucp = callPackage ../tools/misc/uucp { }; uvccapture = callPackage ../applications/video/uvccapture { }; |