dagger: remove

It violates the dagger trademark policy to use `dagger` name and compile from
source.

closes #260848
This commit is contained in:
Jean-François Roche 2023-10-16 12:12:00 +02:00
parent 493c4e6a0c
commit 3c54f29cca
4 changed files with 3 additions and 46 deletions

View File

@ -297,6 +297,8 @@
- `service.borgmatic.settings.location` and `services.borgmatic.configurations.<name>.location` are deprecated, please move your options out of sections to the global scope.
- `dagger` was removed because using a package called `dagger` and packaging it from source violates their trademark policy.
## Other Notable Changes {#sec-release-23.11-notable-changes}
- The Cinnamon module now enables XDG desktop integration by default. If you are experiencing collisions related to xdg-desktop-portal-gtk you can safely remove `xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];` from your NixOS configuration.

View File

@ -1,44 +0,0 @@
{ lib, stdenv, buildGoModule, fetchFromGitHub, installShellFiles, testers, dagger }:
buildGoModule rec {
pname = "dagger";
version = "0.8.8";
src = fetchFromGitHub {
owner = "dagger";
repo = "dagger";
rev = "v${version}";
hash = "sha256-EHAQRmBgQEM0ypfUwuaoPnoKsQb1S+tarO1nHdmY5RI=";
};
vendorHash = "sha256-fUNet9P6twEJP4eYooiHZ6qaJ3jEkJUwQ2zPzk3+eIs=";
proxyVendor = true;
subPackages = [
"cmd/dagger"
];
ldflags = [ "-s" "-w" "-X github.com/dagger/dagger/engine.Version=${version}" ];
nativeBuildInputs = [ installShellFiles ];
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd dagger \
--bash <($out/bin/dagger completion bash) \
--fish <($out/bin/dagger completion fish) \
--zsh <($out/bin/dagger completion zsh)
'';
passthru.tests.version = testers.testVersion {
package = dagger;
command = "dagger version";
version = "v${version}";
};
meta = with lib; {
description = "A portable devkit for CICD pipelines";
homepage = "https://dagger.io";
license = licenses.asl20;
maintainers = with maintainers; [ jfroche sagikazarmark ];
};
}

View File

@ -166,6 +166,7 @@ mapAliases ({
### D ###
dagger = throw "'dagger' has been removed from nixpkgs, as the trademark policy of the upstream project is incompatible"; # Added 2023-10-16
dart_stable = dart; # Added 2020-01-15
dat = nodePackages.dat;
deadpixi-sam = deadpixi-sam-unstable;

View File

@ -4954,8 +4954,6 @@ with pkgs;
daemontools = callPackage ../tools/admin/daemontools { };
dagger = callPackage ../development/tools/continuous-integration/dagger { };
dale = callPackage ../development/compilers/dale { };
damon = callPackage ../tools/admin/damon { };