diff --git a/pkgs/tools/misc/antimicro/default.nix b/pkgs/tools/misc/antimicro/default.nix index 1d7984ac11da..343559bb1e11 100644 --- a/pkgs/tools/misc/antimicro/default.nix +++ b/pkgs/tools/misc/antimicro/default.nix @@ -1,12 +1,14 @@ -{ stdenv, cmake, pkgconfig, SDL2, qtbase, qttools, xorg, fetchzip }: +{ stdenv, cmake, pkgconfig, SDL2, qtbase, qttools, xorg, fetchFromGitHub }: stdenv.mkDerivation rec { name = "antimicro-${version}"; - version = "2.18"; + version = "2.18.2"; - src = fetchzip { - url = "https://github.com/Ryochan7/antimicro/archive/${version}.tar.gz"; - sha256 = "0kyl4xl2am50v2xscgy2irpcdj78f7flgfhljyjck4ynf8d40vb7"; + src = fetchFromGitHub { + owner = "7185"; + repo = "antimicro"; + rev = "${version}"; + sha256 = "1mqw5idn57yj6c1w8y0byzh0xafcpbhaa6czgljh206abwfixjmk"; }; buildInputs = [