cloud-print-connector: 1.11 -> 1.16
This commit is contained in:
@@ -1,24 +1,45 @@
|
||||
# This file was generated by https://github.com/kamilchm/go2nix v1.2.0
|
||||
{ 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
|
||||
# provides.
|
||||
|
||||
# Mic92 has an example module:
|
||||
# - https://github.com/Mic92/dotfiles/blob/ba2a01144cfdc71c829d872a3fc816c64663ad7f/nixos/vms/matchbox/modules/cloud-print-connector.nix
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "cloud-print-connector-unstable-${version}";
|
||||
version = "1.11";
|
||||
version = "1.16";
|
||||
rev = "481ad139cc023a3ba65e769f08f277368fa8a5de";
|
||||
|
||||
goPackagePath = "github.com/google/cloud-print-connector";
|
||||
|
||||
subPackages = [
|
||||
"gcp-connector-util"
|
||||
"gcp-cups-connector"
|
||||
];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "cloud-print-connector";
|
||||
sha256 = "1vryhhv92bsncy1bsx9j4graz3sz9ddmizakv2fdrns09mmcgchm";
|
||||
sha256 = "0z2xad4wsv962rc1rspghfcfkz4nj2j5l5cm7xyn6qmsag0m8y2x";
|
||||
rev = "v${version}";
|
||||
};
|
||||
|
||||
# To compute a new go2nix deps.go file,
|
||||
# change to the gcp-connector-util directory and create a nix-shell with avahi and
|
||||
# cups in it.
|
||||
|
||||
# manually mirrored from launchpad because cloning failed due insecure http protocol
|
||||
# {
|
||||
# goPackagePath = "launchpad.net/go-xdg/v0";
|
||||
# fetch = {
|
||||
# type = "git";
|
||||
# url = "https://github.com/Mic92/go-xdg";
|
||||
# rev = "b3fc6b3106d78701853b0caf62ebedae42769af2";
|
||||
# sha256 = "0fd68kkxzxjanpgannpys962bxzqdf8c1qvzk687hv504a3dp76f";
|
||||
# };
|
||||
# }
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
buildInputs = [ avahi cups ];
|
||||
|
||||
Reference in New Issue
Block a user