git.iko.soy/typeable/nixpkgs
on master help sign in
yices: s/fetchurl/fetchFromGitHub/

Signed-off-by: Austin Seipp <aseipp@pobox.com>

commitc10650760d8e16a1346c401878abea6c6394196a authorAustin Seipp <aseipp@pobox.com> dateTue 8 Jan 2019, 15:18 (8 years ago) parent38aa0a3
1 file changed+7−6
pkgs/applications/science/logic/yices/default.nix+7−6
pkgs/applications/science/logic/yices/default.nix+7−6
@@ -1,13 +1,14 @@
1−{ stdenv, fetchurl, gmp-static, gperf, autoreconfHook, libpoly }:
1+{ stdenv, fetchFromGitHub, gmp-static, gperf, autoreconfHook, libpoly }:
22
33stdenv.mkDerivation rec {
44 name = "yices-${version}";
55 version = "2.6.1";
66
7− src = fetchurl {
8− url = "https://github.com/SRI-CSL/yices2/archive/Yices-${version}.tar.gz";
9− name = "${name}-src.tar.gz";
10− sha256 = "14xvflv14qn8ssm8rklvckp6l1q94vn49qz2snz73j40nwzshaww";
7+ src = fetchFromGitHub {
8+ owner = "SRI-CSL";
9+ repo = "yices2";
10+ rev = "Yices-${version}";
11+ sha256 = "04vf468spsh00jh7gj94cjnq8kjyfwy9l6r4z7l2pm0zgwkqgyhm";
1112 };
1213
1314 nativeBuildInputs = [ autoreconfHook ];
@@ -38,6 +39,6 @@ stdenv.mkDerivation rec {
3839 homepage = "http://yices.csl.sri.com";
3940 license = licenses.gpl3;
4041 platforms = with platforms; linux ++ darwin;
41− maintainers = [ maintainers.thoughtpolice ];
42+ maintainers = with maintainers; [ thoughtpolice ];
4243 };
4344}