From f8eb39bc3bdc42ec51ba51a6d104c9ea6c2d53c3 Mon Sep 17 00:00:00 2001 From: Patrick Hilhorst Date: Thu, 16 Jan 2020 20:33:13 +0100 Subject: [PATCH] mcfly: correctly format version --- pkgs/tools/misc/mcfly/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/mcfly/default.nix b/pkgs/tools/misc/mcfly/default.nix index db697bc9d511..4ea27ce092f7 100644 --- a/pkgs/tools/misc/mcfly/default.nix +++ b/pkgs/tools/misc/mcfly/default.nix @@ -2,13 +2,12 @@ rustPlatform.buildRustPackage rec { pname = "mcfly"; - version = "v0.3.1"; - rev = version; + version = "0.3.1"; src = fetchFromGitHub { - inherit rev; owner = "cantino"; repo = "mcfly"; + rev = "v${version}"; sha256 = "0pmyw21zns4zn7pffji4yvbj63fx3g15cx81pk4bs6lzyz5zbdc2"; };