yices: s/fetchurl/fetchFromGitHub/

Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
Austin Seipp 2019-01-08 15:18:45 -06:00
parent 38aa0a3df4
commit c10650760d

View File

@ -1,13 +1,14 @@
{ stdenv, fetchurl, gmp-static, gperf, autoreconfHook, libpoly }: { stdenv, fetchFromGitHub, gmp-static, gperf, autoreconfHook, libpoly }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "yices-${version}"; name = "yices-${version}";
version = "2.6.1"; version = "2.6.1";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/SRI-CSL/yices2/archive/Yices-${version}.tar.gz"; owner = "SRI-CSL";
name = "${name}-src.tar.gz"; repo = "yices2";
sha256 = "14xvflv14qn8ssm8rklvckp6l1q94vn49qz2snz73j40nwzshaww"; rev = "Yices-${version}";
sha256 = "04vf468spsh00jh7gj94cjnq8kjyfwy9l6r4z7l2pm0zgwkqgyhm";
}; };
nativeBuildInputs = [ autoreconfHook ]; nativeBuildInputs = [ autoreconfHook ];
@ -38,6 +39,6 @@ stdenv.mkDerivation rec {
homepage = "http://yices.csl.sri.com"; homepage = "http://yices.csl.sri.com";
license = licenses.gpl3; license = licenses.gpl3;
platforms = with platforms; linux ++ darwin; platforms = with platforms; linux ++ darwin;
maintainers = [ maintainers.thoughtpolice ]; maintainers = with maintainers; [ thoughtpolice ];
}; };
} }