Merge remote-tracking branch 'nostromo/nostromo' into zbox
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
{ stdenv, fetchgit }:
|
||||
|
||||
let
|
||||
url = "https://github.com/cloudflare/cloudflared.git";
|
||||
version = "2020.2.1";
|
||||
hash = "";
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
name = "cloudflared";
|
||||
|
||||
src = fetchgit {
|
||||
url = url;
|
||||
rev = version;
|
||||
sha256 = "abc";
|
||||
};
|
||||
|
||||
configurePhase = ''
|
||||
# Nothing to do
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
# Nothing to do
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out/bin"
|
||||
cp ./cloudflared "$out/bin"
|
||||
'';
|
||||
}
|
||||
@@ -2,6 +2,11 @@
|
||||
|
||||
{
|
||||
nixpkgs.config.packageOverrides = pkgs: rec {
|
||||
cloudflared = import ./cloudflared.nix {
|
||||
stdenv = pkgs.stdenv;
|
||||
fetchurl = builtins.fetchurl;
|
||||
};
|
||||
|
||||
letsencrypt-ca = import ./letsencrypt-ca.nix {
|
||||
stdenv = pkgs.stdenv;
|
||||
fetchurl = builtins.fetchurl;
|
||||
|
||||
Reference in New Issue
Block a user