From 610b499fef05df0c207843807a268b6bccae4f2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Mon, 20 May 2013 23:11:47 +0200 Subject: [PATCH] Adding extra urls for enginepkcs11/libp11 The usual urls don't work. --- pkgs/development/libraries/enginepkcs11/default.nix | 5 ++++- pkgs/development/libraries/libp11/default.nix | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/enginepkcs11/default.nix b/pkgs/development/libraries/enginepkcs11/default.nix index edd646f94fab..8c570c5421d6 100644 --- a/pkgs/development/libraries/enginepkcs11/default.nix +++ b/pkgs/development/libraries/enginepkcs11/default.nix @@ -4,7 +4,10 @@ stdenv.mkDerivation rec { name = "engine_pkcs11-0.1.8"; src = fetchurl { - url = "http://www.opensc-project.org/files/engine_pkcs11/${name}.tar.gz"; + urls = [ + "http://www.opensc-project.org/files/engine_pkcs11/${name}.tar.gz" + "http://www.openadk.org/distfiles/${name}.tar.gz" + ]; sha256 = "1rd20rxy12rfx3kwwvk5sqvc1ll87z60rqak1ksfwbf4wx0pwzfy"; }; diff --git a/pkgs/development/libraries/libp11/default.nix b/pkgs/development/libraries/libp11/default.nix index acfca9bf8885..4f1bd7de3d95 100644 --- a/pkgs/development/libraries/libp11/default.nix +++ b/pkgs/development/libraries/libp11/default.nix @@ -4,7 +4,10 @@ stdenv.mkDerivation rec { name = "libp11-0.2.7"; src = fetchurl { - url = "http://www.opensc-project.org/files/libp11/${name}.tar.gz"; + urls = [ + "http://www.opensc-project.org/files/libp11/${name}.tar.gz" + "http://www.openadk.org/distfiles/${name}.tar.gz" + ]; sha256 = "0kaz5qafaxm0ycywmajl166c29fh9cz89b8i043jqsbxlpzf4hdp"; };