From a86c178a58cf335c2e5bf44efcceafcf801487f7 Mon Sep 17 00:00:00 2001 From: Austin Seipp Date: Tue, 21 May 2019 13:33:43 -0500 Subject: [PATCH] conmon: unstable-2019-03-19 -> 0.0.1pre52_6905a4d Signed-off-by: Austin Seipp --- .../virtualization/podman/conmon.nix | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/virtualization/podman/conmon.nix b/pkgs/applications/virtualization/podman/conmon.nix index 7ddfc2ebab06..a8e15d075b30 100644 --- a/pkgs/applications/virtualization/podman/conmon.nix +++ b/pkgs/applications/virtualization/podman/conmon.nix @@ -1,23 +1,21 @@ { stdenv, lib, fetchFromGitHub, pkgconfig, glib }: with lib; +with builtins; stdenv.mkDerivation rec { name = "conmon-${version}"; - version = "unstable-2019-03-19"; - rev = "84c860029893e2e2dd71d62231f009c9dcd3c0b4"; + version = "0.0.1pre52_${substring 0 7 src.rev}"; src = fetchFromGitHub { - owner = "containers"; - repo = "conmon"; - sha256 = "1ydidl3s7s5rfwk9gx0k80nxcixlilxw61g7x0vqsdy3mkylysv5"; - inherit rev; + owner = "containers"; + repo = "conmon"; + rev = "6905a4dc47830fbd1110e937228057c0b073ebe1"; + sha256 = "1igny1hr2q1zrhsaxcx7l8xkdr5ragl8pj18qbr1lpa2v5v2f6hs"; }; nativeBuildInputs = [ pkgconfig ]; - buildInputs = [ - glib - ]; + buildInputs = [ glib ]; installPhase = '' install -D -m 555 bin/conmon $out/bin/conmon