From 5b9fd6b6c90694a552326a397f2c922b432a990c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Sat, 8 Apr 2023 11:02:04 +0100 Subject: [PATCH] remove drone-runner-docker --- ci/drone-runner-docker/default.nix | 44 ---------------------------- ci/drone-runner-docker/goVendor.hash | 1 - ci/drone-runner-docker/source.json | 11 ------- flake.nix | 1 - 4 files changed, 57 deletions(-) delete mode 100644 ci/drone-runner-docker/default.nix delete mode 100644 ci/drone-runner-docker/goVendor.hash delete mode 100644 ci/drone-runner-docker/source.json diff --git a/ci/drone-runner-docker/default.nix b/ci/drone-runner-docker/default.nix deleted file mode 100644 index 464a1ac..0000000 --- a/ci/drone-runner-docker/default.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ - fetchFromGitHub, - buildGoModule, - writeScript, -}: let - source = builtins.fromJSON (builtins.readFile ./source.json); - src = fetchFromGitHub { - owner = "drone-runners"; - repo = "drone-runner-docker"; - inherit (source) rev sha256; - }; -in - buildGoModule rec { - pname = "drone-runner-docker"; - version = source.date; - inherit src; - vendorSha256 = builtins.readFile ./goVendor.hash; - proxyVendor = true; - meta = { - description = "Docker executor for drone"; - license = [ - { - free = false; - fullName = "PolyForm Small Business License 1.0.0"; - redistributable = true; - spdxId = "PolyForm-Small-Business-1.0.0"; - url = "https://spdx.org/licenses/PolyForm-Small-Business-1.0.0.html"; - } - { - free = false; - fullName = "PolyForm Free Trial License 1.0.0"; - redistributable = true; - url = "https://polyformproject.org/licenses/free-trial/1.0.0/"; - } - ]; - }; - passthru.updateScript = writeScript "update-matrix-media-repo" '' - ${../../scripts/update-git.sh} "https://github.com/drone-runners/drone-runner-docker" ci/drone-runner-docker/source.json - if [ "$(git diff -- ci/drone-runner-docker/source.json)" ]; then - SRC_PATH=$(nix-build -E '(import ./. {}).${pname}.src') - ${../../scripts/update-go.sh} ./ci/drone-runner-docker ci/drone-runner-docker/goVendor.hash - fi - ''; - } diff --git a/ci/drone-runner-docker/goVendor.hash b/ci/drone-runner-docker/goVendor.hash deleted file mode 100644 index da37a71..0000000 --- a/ci/drone-runner-docker/goVendor.hash +++ /dev/null @@ -1 +0,0 @@ -sha256-E4VV1sM408eXtOFCewOWG275rbqbomlVFw8nZI6uN0E= diff --git a/ci/drone-runner-docker/source.json b/ci/drone-runner-docker/source.json deleted file mode 100644 index f71b410..0000000 --- a/ci/drone-runner-docker/source.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "url": "https://github.com/drone-runners/drone-runner-docker", - "rev": "7e9969423c0883c0300c974bbb7583e3d9ece875", - "date": "2023-01-31T11:26:39+00:00", - "path": "/nix/store/di6ahlqfjgpac2s2y8xcxz0a8nhghxnz-drone-runner-docker", - "sha256": "0k28w2s8ck0k37wajp0370gijzyjp88fgn6n8ywnyda9fba0q8yw", - "fetchLFS": false, - "fetchSubmodules": false, - "deepClone": false, - "leaveDotGit": false -} diff --git a/flake.nix b/flake.nix index ec02379..622261a 100644 --- a/flake.nix +++ b/flake.nix @@ -63,7 +63,6 @@ emoji-volpeon-vlpn = pkgs.callPackage ./art/emoji/volpeon/vlpn.nix {}; emoji-caro = pkgs.callPackage ./art/emoji/caro {}; lotte-art = pkgs.callPackage ./art/lotte {}; - drone-runner-docker = pkgs.callPackage ./ci/drone-runner-docker {}; alco-sans = pkgs.callPackage ./fonts/kreative/alco-sans.nix {}; constructium = pkgs.callPackage ./fonts/kreative/constructium.nix {}; fairfax = pkgs.callPackage ./fonts/kreative/fairfax.nix {};