diff options
Diffstat (limited to 'pkgs/servers/cloud-print-connector')
-rw-r--r-- | pkgs/servers/cloud-print-connector/default.nix | 19 | ||||
-rw-r--r-- | pkgs/servers/cloud-print-connector/deps.nix | 16 |
2 files changed, 18 insertions, 17 deletions
diff --git a/pkgs/servers/cloud-print-connector/default.nix b/pkgs/servers/cloud-print-connector/default.nix index 634eeda298bc..3a28368cc81c 100644 --- a/pkgs/servers/cloud-print-connector/default.nix +++ b/pkgs/servers/cloud-print-connector/default.nix @@ -1,5 +1,5 @@ # This file was generated by https://github.com/kamilchm/go2nix v1.2.0 -{ pkgs ? import <nixpkgs> {}, stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }: +{ stdenv, buildGoPackage, fetchFromGitHub, avahi, cups }: # TODO: Add a service for gcp-cups-connector and perhaps some other # kind of configuration for the same thing that gcp-connector-util @@ -7,21 +7,22 @@ buildGoPackage rec { name = "cloud-print-connector-unstable-${version}"; - version = "2017-01-19"; + version = "1.11"; rev = "481ad139cc023a3ba65e769f08f277368fa8a5de"; goPackagePath = "github.com/google/cloud-print-connector"; - src = fetchgit { - inherit rev; - url = "https://github.com/google/cloud-print-connector"; - sha256 = "0syq7s8qjspq33qd9ibvz0kwc1zxyh9jkhk7khdvgfv6n0dvql86"; + src = fetchFromGitHub { + owner = "google"; + repo = "cloud-print-connector"; + sha256 = "1vryhhv92bsncy1bsx9j4graz3sz9ddmizakv2fdrns09mmcgchm"; + rev = "v${version}"; }; goDeps = ./deps.nix; - buildInputs = [ pkgs.avahi pkgs.cups ]; - + buildInputs = [ avahi cups ]; + meta = with stdenv.lib; { description = "Share printers from your Windows, Linux, FreeBSD or OS X computer with ChromeOS and Android devices, using the Cloud Print Connector"; homepage = https://github.com/google/cloud-print-connector; @@ -30,5 +31,5 @@ buildGoPackage rec { # TODO: Fix broken build on OS X. The GitHub presently lists the # FreeBSD build as broken too, but this may change in the future. platforms = platforms.linux; - }; + }; } diff --git a/pkgs/servers/cloud-print-connector/deps.nix b/pkgs/servers/cloud-print-connector/deps.nix index 53a8f4779332..67901bdffeef 100644 --- a/pkgs/servers/cloud-print-connector/deps.nix +++ b/pkgs/servers/cloud-print-connector/deps.nix @@ -5,8 +5,8 @@ fetch = { type = "git"; url = "https://github.com/coreos/go-systemd"; - rev = "c4308da792903734bd95f877255249cef0862886"; - sha256 = "1gcy548s9vvyjwh80yx5fi35abmbxksgn8xzhgx9rfy2i7jfg7yy"; + rev = "1f9909e51b2dab2487c26d64c8f2e7e580e4c9f5"; + sha256 = "1cc76wcmnyhhhi03dsc11lmxjwkzy09k3zx3h78bg05z8lhry4vn"; }; } { @@ -14,8 +14,8 @@ fetch = { type = "git"; url = "https://github.com/urfave/cli"; - rev = "9e5b04886c4bfee2ceba1465b8121057355c4e53"; - sha256 = "18jx6ypc1w02ha37rsx6hhmdwqmnybajd6l54qm07bdb850ip9db"; + rev = "d70f47eeca3afd795160003bc6e28b001d60c67c"; + sha256 = "1xm203qp4sdlvffcbag7v6mc2d6q61i25iiz3y9yqpy25jpcpgif"; }; } { @@ -23,8 +23,8 @@ fetch = { type = "git"; url = "https://go.googlesource.com/net"; - rev = "a6577fac2d73be281a500b310739095313165611"; - sha256 = "00wks377dp0ws47dvc9f6y4sin1mwdk649v5jfz047ik1jh1nq5h"; + rev = "513929065c19401a1c7b76ecd942f9f86a0c061b"; + sha256 = "19ziin0k3n45nccjbk094f61hr198wzqnas93cmcxdja8f8fz27q"; }; } { @@ -32,8 +32,8 @@ fetch = { type = "git"; url = "https://go.googlesource.com/oauth2"; - rev = "30fcca6531eb4bb278493c9fb299295b3b145934"; - sha256 = "01x5rfaafhwzbbf7266a71y0ffjikyrbl7waf5scv92frp78py69"; + rev = "f047394b6d14284165300fd82dad67edb3a4d7f6"; + sha256 = "1l1a2iz1nmfmzzbjj1h8066prag4jvjqh13iv1jdlh05fgv6769i"; }; } { |