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

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

27 lines
700 B
Nix
Raw Normal View History

2023-09-10 09:59:25 +00:00
{ 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 ];
};
}