cloud-print-connector: init at unstable-2017-01-19

This adds a fairly basic build for just the binaries for the Google
Cloud Print CUPS connector (gcp-cups-connector), and gcp-connector-util
to set it up in the first place. In the future I would like to
streamline the configuration more and make gcp-cups-connector a
proper NixOS service - as right now it must be run by hand.
This commit is contained in:
Chris Hodapp
2017-04-30 08:54:54 -04:00
parent 2f481960cf
commit cc4f861f82
5 changed files with 100 additions and 2 deletions
@@ -1,4 +1,4 @@
{ go, govers, parallel, lib, fetchgit, fetchhg, rsync, removeReferencesTo }:
{ go, govers, parallel, lib, fetchgit, fetchhg, fetchbzr, rsync, removeReferencesTo }:
{ name, buildInputs ? [], nativeBuildInputs ? [], passthru ? {}, preFixup ? ""
@@ -54,7 +54,11 @@ let
fetchhg {
inherit (goDep.fetch) url rev sha256;
}
else abort "Unrecognized package fetch type";
else if goDep.fetch.type == "bzr" then
fetchbzr {
inherit (goDep.fetch) url rev sha256;
}
else abort "Unrecognized package fetch type: ${goDep.fetch.type}";
};
importGodeps = { depsFile }: