nixpkgs/pkgs/by-name/sa/sane-airscan/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
936 B
Nix
Raw Normal View History

2024-03-19 02:18:55 +00:00
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, avahi, libjpeg, libpng, libtiff
2021-03-09 12:20:49 +00:00
, libxml2, gnutls, sane-backends }:
2020-03-10 15:40:12 +00:00
stdenv.mkDerivation rec {
pname = "sane-airscan";
2024-03-19 02:18:55 +00:00
version = "0.99.29";
2020-03-10 15:40:12 +00:00
nativeBuildInputs = [ meson ninja pkg-config ];
2024-03-19 02:18:55 +00:00
buildInputs = [ avahi gnutls libjpeg libpng libxml2 libtiff sane-backends ];
2020-03-10 15:40:12 +00:00
src = fetchFromGitHub {
owner = "alexpevzner";
repo = pname;
rev = version;
2024-03-19 02:18:55 +00:00
sha256 = "sha256-9ErTC9NztyO9o6y2FjQPl2lu1gICasZYm2tnaCVCLt8=";
2020-03-10 15:40:12 +00:00
};
meta = with lib; {
homepage = "https://github.com/alexpevzner/sane-airscan";
description = "Scanner Access Now Easy - Apple AirScan (eSCL) driver";
mainProgram = "airscan-discover";
2020-03-10 15:40:12 +00:00
longDescription = ''
sane-airscan: Linux support of Apple AirScan (eSCL) compatible document scanners.
'';
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ zaninime ];
};
}