2017-04-22 01:21:31 +01:00
|
|
|
# This file was generated by https://github.com/kamilchm/go2nix v1.2.0
|
2017-05-20 18:21:25 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub, avahi, cups }:
|
2017-04-22 01:21:31 +01:00
|
|
|
|
|
|
|
# TODO: Add a service for gcp-cups-connector and perhaps some other
|
|
|
|
# kind of configuration for the same thing that gcp-connector-util
|
|
|
|
# provides.
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "cloud-print-connector-unstable-${version}";
|
2017-05-20 18:21:25 +01:00
|
|
|
version = "1.11";
|
2017-04-22 01:21:31 +01:00
|
|
|
rev = "481ad139cc023a3ba65e769f08f277368fa8a5de";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/google/cloud-print-connector";
|
|
|
|
|
2017-05-20 18:21:25 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "google";
|
|
|
|
repo = "cloud-print-connector";
|
|
|
|
sha256 = "1vryhhv92bsncy1bsx9j4graz3sz9ddmizakv2fdrns09mmcgchm";
|
|
|
|
rev = "v${version}";
|
2017-04-22 01:21:31 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
2017-05-20 18:21:25 +01:00
|
|
|
buildInputs = [ avahi cups ];
|
|
|
|
|
2017-04-22 01:21:31 +01:00
|
|
|
meta = with stdenv.lib; {
|
2017-08-06 23:05:18 +01:00
|
|
|
description = "Share printers from your Windows, Linux, FreeBSD or macOS computer with ChromeOS and Android devices, using the Cloud Print Connector";
|
2017-04-22 01:21:31 +01:00
|
|
|
homepage = https://github.com/google/cloud-print-connector;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ hodapp ];
|
2017-08-06 23:05:18 +01:00
|
|
|
# TODO: Fix broken build on macOS. The GitHub presently lists the
|
2017-04-22 01:21:31 +01:00
|
|
|
# FreeBSD build as broken too, but this may change in the future.
|
|
|
|
platforms = platforms.linux;
|
2017-05-20 18:21:25 +01:00
|
|
|
};
|
2017-04-22 01:21:31 +01:00
|
|
|
}
|