Unverified Commit de0e393f authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

drone{,-oss}: migrate to `pkgs/by-name` (#507040)

parents ce1a9dc9 927d6ef9
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
{
  drone,
}:

drone.override { enableUnfree = false; }
+4 −4
Original line number Diff line number Diff line
@@ -5,15 +5,15 @@
  enableUnfree ? true,
}:

buildGoModule rec {
buildGoModule (finalAttrs: {
  pname = "drone.io${lib.optionalString (!enableUnfree) "-oss"}";
  version = "2.28.1";

  src = fetchFromGitHub {
    owner = "harness";
    repo = "drone";
    rev = "v${version}";
    sha256 = "sha256-p4fsQu46HX8Gc2W/RCvvjI1KZGcN2S/3ZOLty0MHmfg=";
    tag = "v${finalAttrs.version}";
    hash = "sha256-p4fsQu46HX8Gc2W/RCvvjI1KZGcN2S/3ZOLty0MHmfg=";
  };

  vendorHash = "sha256-6a4Xdp8lcPq+GPewQmEPzr9hXjSrqHR7kqw7pqHzjXE=";
@@ -35,4 +35,4 @@ buildGoModule rec {
    ];
    license = with lib.licenses; if enableUnfree then unfreeRedistributable else asl20;
  };
}
})
+0 −5
Original line number Diff line number Diff line
@@ -2246,11 +2246,6 @@ with pkgs;

  diffutils = callPackage ../tools/text/diffutils { };

  drone = callPackage ../development/tools/continuous-integration/drone { };
  drone-oss = callPackage ../development/tools/continuous-integration/drone {
    enableUnfree = false;
  };

  dsview = libsForQt5.callPackage ../applications/science/electronics/dsview { };

  inherit (import ../build-support/dlang/dub-support.nix { inherit callPackage; })