about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/ai/airscan/package.nix
blob: e6001b44f3efe23b1ffc47c0c45ad5af93bcb966 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ 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 ];
  };
}