depot/third_party/nixpkgs/pkgs/by-name/ai/airscan/package.nix

28 lines
730 B
Nix
Raw Normal View History

{ 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";
mainProgram = "airscan1";
homepage = "https://github.com/stapelberg/airscan";
changelog = "https://github.com/stapelberg/airscan/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ johannwagner ];
};
}