1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-01 01:51:24 +00:00
nixpkgs/pkgs/tools/graphics/unpaper/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

23 lines
619 B
Nix

{ stdenv, fetchurl, pkgconfig, libav, libxslt }:
stdenv.mkDerivation rec {
pname = "unpaper";
version = "6.1";
src = fetchurl {
url = "https://www.flameeyes.eu/files/${pname}-${version}.tar.xz";
sha256 = "0c5rbkxbmy9k8vxjh4cv0bgnqd3wqc99yzw215vkyjslvbsq8z13";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ 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;
platforms = platforms.all;
maintainers = [ maintainers.rycee ];
};
}