pcsclite: fix URL for debian move to gitlab

Another repo moved as part of https://github.com/NixOS/nixpkgs/issues/39927
This commit is contained in:
Benjamin Hipple 2018-06-09 11:25:13 -04:00
parent 34d3a97ec6
commit c256347cee

View File

@ -1,15 +1,16 @@
{ stdenv, fetchurl, pkgconfig, udev, dbus_libs, perl, python2 { stdenv, fetchFromGitLab, pkgconfig, udev, dbus_libs, perl, python2
, IOKit ? null }: , IOKit ? null }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "pcsclite-${version}"; name = "pcsclite-${version}";
version = "1.8.23"; version = "1.8.23";
src = fetchurl { src = fetchFromGitLab {
# This URL changes in unpredictable ways, so it is not sensible domain = "salsa.debian.org";
# to put a version variable in there. owner = "debian";
url = "https://alioth.debian.org/frs/download.php/file/4235/pcsc-lite-1.8.23.tar.bz2"; repo = "pcsc-lite";
sha256 = "1jc9ws5ra6v3plwraqixin0w0wfxj64drahrbkyrrwzghqjjc9ss"; rev = "upstream%2F${version}";
sha256 = "09b7a79hjkgiyvhyvwf8gpxaf8b7wd0342hx6zrpd269hhfbjvwy";
}; };
patches = [ ./no-dropdir-literals.patch ]; patches = [ ./no-dropdir-literals.patch ];
@ -36,7 +37,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Middleware to access a smart card using SCard API (PC/SC)"; description = "Middleware to access a smart card using SCard API (PC/SC)";
homepage = http://pcsclite.alioth.debian.org/; homepage = https://salsa.debian.org/debian/pcsc-lite;
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ viric wkennington ]; maintainers = with maintainers; [ viric wkennington ];
platforms = with platforms; unix; platforms = with platforms; unix;