nix/pkgs/heptapod-runner: update to 0.4.0, fix patch

This commit is contained in:
Luke Granger-Brown 2021-12-20 02:47:45 +00:00
parent 3cbfd2b52c
commit 7c0d51e9db

View file

@ -2,13 +2,13 @@
#
# SPDX-License-Identifier: Apache-2.0
{ pkgs, ... }:
{ pkgs, depot, ... }:
let
version = "hpd-0.2.0";
version = "hpd-0.4.0";
newSrc = pkgs.fetchhg {
url = "https://mirror.octobus.net/heptapod/heptapod-runner";
rev = "b4fda456f403";
sha256 = "1ybkd2jnq2dvkj157w2nlf9rmrgbd8kas43kimi9aarajgi9sri1";
rev = "8b729b09e365";
sha256 = "1769kcpgmhnibdmhvsdnylsdk8w08c7mgxi23vrx7vjfxgij1bdr";
};
in
{
@ -16,6 +16,7 @@ in
inherit version;
buildInputs = oldAttrs.buildInputs ++ [ pkgs.makeWrapper ];
src = newSrc;
patches = [ "${depot.third_party.nixpkgs.path}/pkgs/development/tools/continuous-integration/gitlab-runner/fix-shell-path.patch" ];
});
heptapod-runner-mercurial = pkgs.symlinkJoin {
name = pkgs.mercurial.name;