about summary refs log tree commit diff
path: root/pkgs/by-name
diff options
context:
space:
mode:
authorJohann Wagner <johann.wagner@wobcom.de>2023-09-10 11:59:25 +0200
committerJohann Wagner <johann.wagner@wobcom.de>2023-09-10 12:54:15 +0200
commit2c3cc38221e100f416d73173085f1b9b37bffc4c (patch)
treeb53f4a3a25f1f5ae6faff4ce5a1cbaae20ba3414 /pkgs/by-name
parentc109edf44dfa6804d7388ebc8675a39a3e0270b8 (diff)
airscan: init at 0.3
Diffstat (limited to 'pkgs/by-name')
-rw-r--r--pkgs/by-name/ai/airscan/package.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/by-name/ai/airscan/package.nix b/pkgs/by-name/ai/airscan/package.nix
new file mode 100644
index 0000000000000..0859a6c21be87
--- /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 ];
+  };
+}