From 2c3cc38221e100f416d73173085f1b9b37bffc4c Mon Sep 17 00:00:00 2001 From: Johann Wagner Date: Sun, 10 Sep 2023 11:59:25 +0200 Subject: [PATCH] airscan: init at 0.3 --- pkgs/by-name/ai/airscan/package.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 pkgs/by-name/ai/airscan/package.nix diff --git a/pkgs/by-name/ai/airscan/package.nix b/pkgs/by-name/ai/airscan/package.nix new file mode 100644 index 000000000000..0859a6c21be8 --- /dev/null +++ b/pkgs/by-name/ai/airscan/package.nix @@ -0,0 +1,26 @@ +{ 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 ]; + }; +}