From 272c87fbdf45cc4a0bf9e58eaeb4e837ed83ecee Mon Sep 17 00:00:00 2001 From: Alexander Ried Date: Tue, 26 Apr 2016 10:45:48 +0200 Subject: [PATCH] antimicro 2.18 -> 2.18.2 The original repo was deleted by it's author. I took the one with the most recent releases I could find. See: https://github.com/Ryochan7/antimicro-packaging/issues/1#issuecomment-205949365 --- pkgs/tools/misc/antimicro/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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 = [