From 2ed34da4cec1656f35d048a5075cf961251a9459 Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Tue, 12 Jun 2018 20:36:30 +0000 Subject: [PATCH] Revert "pcsclite: fix URL for debian move to gitlab" This reverts commit c256347ceea6c0434fd755e8c8fb5f6a7df620d6 on staging. The issue was fixed on master in #41790 (aa18847e004293a0bc7239d9e6d22922dc51d690) Closes #41869 --- pkgs/tools/security/pcsclite/default.nix | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/pkgs/tools/security/pcsclite/default.nix b/pkgs/tools/security/pcsclite/default.nix index 3904a1eaca3..589316b1d1c 100644 --- a/pkgs/tools/security/pcsclite/default.nix +++ b/pkgs/tools/security/pcsclite/default.nix @@ -1,16 +1,15 @@ -{ stdenv, fetchFromGitLab, pkgconfig, udev, dbus_libs, perl, python2 +{ stdenv, fetchurl, pkgconfig, udev, dbus_libs, perl, python2 , IOKit ? null }: stdenv.mkDerivation rec { name = "pcsclite-${version}"; version = "1.8.23"; - src = fetchFromGitLab { - domain = "salsa.debian.org"; - owner = "debian"; - repo = "pcsc-lite"; - rev = "upstream%2F${version}"; - sha256 = "09b7a79hjkgiyvhyvwf8gpxaf8b7wd0342hx6zrpd269hhfbjvwy"; + src = fetchurl { + # This URL changes in unpredictable ways, so it is not sensible + # to put a version variable in there. + url = "https://alioth.debian.org/frs/download.php/file/4235/pcsc-lite-1.8.23.tar.bz2"; + sha256 = "1jc9ws5ra6v3plwraqixin0w0wfxj64drahrbkyrrwzghqjjc9ss"; }; patches = [ ./no-dropdir-literals.patch ]; @@ -37,7 +36,7 @@ stdenv.mkDerivation rec { meta = with stdenv.lib; { description = "Middleware to access a smart card using SCard API (PC/SC)"; - homepage = https://salsa.debian.org/debian/pcsc-lite; + homepage = http://pcsclite.alioth.debian.org/; license = licenses.bsd3; maintainers = with maintainers; [ viric wkennington ]; platforms = with platforms; unix;