acsccid: 1.1.8 -> 1.1.12

+12 -19
+12 -19
pkgs/by-name/ac/acsccid/package.nix
··· 1 1 { 2 2 lib, 3 3 stdenv, 4 - fetchFromGitHub, 4 + fetchurl, 5 5 autoconf, 6 + autoconf-archive, 6 7 automake, 7 8 libtool, 8 9 gettext, ··· 14 15 libiconv, 15 16 }: 16 17 17 - stdenv.mkDerivation rec { 18 - version = "1.1.8"; 18 + stdenv.mkDerivation (finalAttrs: { 19 + version = "1.1.12"; 19 20 pname = "acsccid"; 20 21 21 - src = fetchFromGitHub { 22 - owner = "acshk"; 23 - repo = "acsccid"; 24 - tag = "v${version}"; 25 - sha256 = "12aahrvsk21qgpjwcrr01s742ixs44nmjkvcvqyzhqb307x1rrn3"; 22 + src = fetchurl { 23 + url = "mirror://sourceforge/acsccid/acsccid-${finalAttrs.version}.tar.bz2"; 24 + sha256 = "sha256-KPYHWlSUpWjOL9hmbEifb0pRWZtE+8k5Dh3bSNPMxb0="; 26 25 }; 27 26 28 27 nativeBuildInputs = [ 29 28 pkg-config 30 29 autoconf 30 + autoconf-archive 31 31 automake 32 32 libtool 33 33 gettext ··· 50 50 doCheck = true; 51 51 52 52 postPatch = '' 53 - sed -e s_/bin/echo_echo_g -i src/Makefile.am 53 + substituteInPlace src/Makefile.in \ 54 + --replace-fail '$(INSTALL_UDEV_RULE_FILE)' "" 54 55 patchShebangs src/convert_version.pl 55 56 patchShebangs src/create_Info_plist.pl 56 - ''; 57 - 58 - preConfigure = '' 59 - libtoolize --force 60 - aclocal 61 - autoheader 62 - automake --force-missing --add-missing 63 - autoconf 64 57 ''; 65 58 66 59 meta = { ··· 78 71 services.pcscd.enable = true; 79 72 services.pcscd.plugins = [ pkgs.acsccid ]; 80 73 ''; 81 - homepage = src.meta.homepage; 74 + homepage = "http://acsccid.sourceforge.net"; 82 75 license = lib.licenses.lgpl2Plus; 83 76 maintainers = with lib.maintainers; [ ]; 84 77 platforms = lib.platforms.unix; 85 78 }; 86 - } 79 + })