nixpkgs/pkgs/by-name/ai/airscan/package.nix
2023-09-10 12:54:15 +02:00

27 lines
700 B
Nix

{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "airscan";
version = "0.3";
src = fetchFromGitHub {
owner = "stapelberg";
repo = "airscan";
rev = "refs/tags/v${version}";
hash = "sha256-gk0soDzrsFBh+SrWcfO/quW6JweX6MthOigTHcaq1oE=";
};
vendorHash = "sha256-I5JRGaff6OIwx4q7BjpFwvJiQe4kw03V8+McYPcJhho=";
meta = with lib; {
description = "Package to scan paper documents using the Apple AirScan (eSCL) protocol";
homepage = "https://github.com/stapelberg/airscan";
changelog = "https://github.com/stapelberg/airscan/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ johannwagner ];
};
}