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:
@@ -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 }:
|
||||
|
||||
Reference in New Issue
Block a user