File tree Expand file tree Collapse file tree 1 file changed +12
-19
lines changed Expand file tree Collapse file tree 1 file changed +12
-19
lines changed Original file line number Diff line number Diff line change 11{
22 lib ,
33 stdenv ,
4- fetchFromGitHub ,
4+ fetchurl ,
55 autoconf ,
6+ autoconf-archive ,
67 automake ,
78 libtool ,
89 gettext ,
1415 libiconv ,
1516} :
1617
17- stdenv . mkDerivation rec {
18- version = "1.1.8 " ;
18+ stdenv . mkDerivation ( finalAttrs : {
19+ version = "1.1.12 " ;
1920 pname = "acsccid" ;
2021
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=" ;
2625 } ;
2726
2827 nativeBuildInputs = [
2928 pkg-config
3029 autoconf
30+ autoconf-archive
3131 automake
3232 libtool
3333 gettext
@@ -50,19 +50,12 @@ stdenv.mkDerivation rec {
5050 doCheck = true ;
5151
5252 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)' ""
5455 patchShebangs src/convert_version.pl
5556 patchShebangs src/create_Info_plist.pl
5657 '' ;
5758
58- preConfigure = ''
59- libtoolize --force
60- aclocal
61- autoheader
62- automake --force-missing --add-missing
63- autoconf
64- '' ;
65-
6659 meta = {
6760 description = "PC/SC driver for Linux/Mac OS X and it supports ACS CCID smart card readers" ;
6861 longDescription = ''
@@ -78,9 +71,9 @@ stdenv.mkDerivation rec {
7871 services.pcscd.enable = true;
7972 services.pcscd.plugins = [ pkgs.acsccid ];
8073 '' ;
81- homepage = src . meta . homepage ;
74+ homepage = "http://acsccid.sourceforge.net" ;
8275 license = lib . licenses . lgpl2Plus ;
8376 maintainers = with lib . maintainers ; [ ] ;
8477 platforms = lib . platforms . unix ;
8578 } ;
86- }
79+ } )
You can’t perform that action at this time.
0 commit comments