···1+{ lib, buildGoModule, fetchFromGitHub, testers, flyctl, installShellFiles, gitUpdater }:
23+buildGoModule rec {
4 pname = "flyctl";
5+ version = "0.2.55";
67 src = fetchFromGitHub {
8 owner = "superfly";
9 repo = "flyctl";
10 rev = "v${version}";
11+ hash = "sha256-yCRaF600UrDmazsgTRp/grWtkULeSQedE5m69K6h/4Q=";
12 };
1314+ vendorHash = "sha256-1hlWyr41t8J4naN5QbEtfCv3npe/kvMH5NKKaxYvLYk=";
1516 subPackages = [ "." ];
17···34 HOME=$(mktemp -d)
35 '';
3637+ checkFlags = [
38+ # these tests require network
39+ "-skip=TestToTestMachineConfig"
40+ ];
41+42+ # We override checkPhase to be able to test ./... while using subPackages
43+ checkPhase = ''
44+ runHook preCheck
45+ # We do not set trimpath for tests, in case they reference test assets
46+ export GOFLAGS=''${GOFLAGS//-trimpath/}
47+48+ buildGoDir test ./...
49+50+ runHook postCheck
51 '';
5253 postInstall = ''
···58 ln -s $out/bin/flyctl $out/bin/fly
59 '';
6061+ # Upstream tags every PR merged with release tags like
62+ # v2024.5.20-pr3545.4. We ignore all revisions containing a '-'
63+ # to skip these releases.
64+ passthru.updateScript = gitUpdater {
65+ rev-prefix = "v";
66+ ignoredVersions = "-";
67+ };
68+69 passthru.tests.version = testers.testVersion {
70 package = flyctl;
71 command = "HOME=$(mktemp -d) flyctl version";
···77 downloadPage = "https://github.com/superfly/flyctl";
78 homepage = "https://fly.io/";
79 license = lib.licenses.asl20;
80+ maintainers = with lib.maintainers; [ adtya jsierles techknowlogick RaghavSood ];
81 mainProgram = "flyctl";
82 };
83}
+3-3
pkgs/misc/fastly/default.nix
···1011buildGoModule rec {
12 pname = "fastly";
13- version = "10.9.0";
1415 src = fetchFromGitHub {
16 owner = "fastly";
17 repo = "cli";
18 rev = "refs/tags/v${version}";
19- hash = "sha256-KdgloTp/mlkPJpjqYJk4Wa7fhgIuwFpAkeIKNxwTfFk=";
20 # The git commit is part of the `fastly version` original output;
21 # leave that output the same in nixpkgs. Use the `.git` directory
22 # to retrieve the commit SHA, and remove the directory afterwards,
···33 "cmd/fastly"
34 ];
3536- vendorHash = "sha256-gjk+igFRVauDRC44YrZUB6uDNAfqnjDcqDPcAWUBhkc=";
3738 nativeBuildInputs = [
39 installShellFiles
···1011buildGoModule rec {
12 pname = "fastly";
13+ version = "10.10.0";
1415 src = fetchFromGitHub {
16 owner = "fastly";
17 repo = "cli";
18 rev = "refs/tags/v${version}";
19+ hash = "sha256-InuaitDoSuE091PG5OwSo/DNplitpIcOgZQ4Dcyz2iI=";
20 # The git commit is part of the `fastly version` original output;
21 # leave that output the same in nixpkgs. Use the `.git` directory
22 # to retrieve the commit SHA, and remove the directory afterwards,
···33 "cmd/fastly"
34 ];
3536+ vendorHash = "sha256-Tt+Be5zsngQokC18cvQ+r5EU1h8FXQ7kfzbRFBse5TQ=";
3738 nativeBuildInputs = [
39 installShellFiles
···566567 gapi-ocaml = callPackage ../development/ocaml-modules/gapi-ocaml { };
568569+ gd4o = throw "ocamlPackages.gd4o is not maintained, use ocamlPackages.gd instead";
570+ gd = callPackage ../development/ocaml-modules/gd { inherit (pkgs) gd; };
571572 gen = callPackage ../development/ocaml-modules/gen { };
573
+2
pkgs/top-level/python-aliases.nix
···85 cchardet = faust-cchardet; # added 2023-03-02
86 cepa = throw "cepa has been removed, as onionshare switched back to stem"; # added 2024-05-07
87 class-registry = phx-class-registry; # added 2021-10-05
088 cntk = throw "cntk has been removed from nixpkgs, as it was broken and unmaintained"; # Added 2023-10-09
89 codespell = throw "codespell has been promoted to a top-level attribute name: `pkgs.codespell`"; # Added 2022-10-02
90 ColanderAlchemy = colanderalchemy; # added 2023-02-19
···328 postorius = throw "Please use pkgs.mailmanPackages.postorius"; # added 2022-04-29
329 powerlineMemSegment = powerline-mem-segment; # added 2021-10-08
330 privacyidea-ldap-proxy = throw "privacyidea-ldap-proxy has been removed from nixpkgs"; # added 2023-10-31
0331 prometheus_client = prometheus-client; # added 2021-06-10
332 prompt_toolkit = prompt-toolkit; # added 2021-07-22
333 protonup = protonup-ng; # Added 2022-11-06
···85 cchardet = faust-cchardet; # added 2023-03-02
86 cepa = throw "cepa has been removed, as onionshare switched back to stem"; # added 2024-05-07
87 class-registry = phx-class-registry; # added 2021-10-05
88+ cld2-cffi = throw "cld2-cffi has been removed, as the last release was in 2016"; # added 2024-05-20
89 cntk = throw "cntk has been removed from nixpkgs, as it was broken and unmaintained"; # Added 2023-10-09
90 codespell = throw "codespell has been promoted to a top-level attribute name: `pkgs.codespell`"; # Added 2022-10-02
91 ColanderAlchemy = colanderalchemy; # added 2023-02-19
···329 postorius = throw "Please use pkgs.mailmanPackages.postorius"; # added 2022-04-29
330 powerlineMemSegment = powerline-mem-segment; # added 2021-10-08
331 privacyidea-ldap-proxy = throw "privacyidea-ldap-proxy has been removed from nixpkgs"; # added 2023-10-31
332+ proboscis = throw "proboscis has been removed since it has not been maintained for 11 years"; # added 2024-05-20
333 prometheus_client = prometheus-client; # added 2021-06-10
334 prompt_toolkit = prompt-toolkit; # added 2021-07-22
335 protonup = protonup-ng; # Added 2022-11-06