tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
acsccid: 1.1.8 -> 1.1.12
Ari Lotter
5 months ago
60795c8b
9c79364c
+12
-19
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
ac
acsccid
package.nix
+12
-19
pkgs/by-name/ac/acsccid/package.nix
···
1
{
2
lib,
3
stdenv,
4
-
fetchFromGitHub,
5
autoconf,
0
6
automake,
7
libtool,
8
gettext,
···
14
libiconv,
15
}:
16
17
-
stdenv.mkDerivation rec {
18
-
version = "1.1.8";
19
pname = "acsccid";
20
21
-
src = fetchFromGitHub {
22
-
owner = "acshk";
23
-
repo = "acsccid";
24
-
tag = "v${version}";
25
-
sha256 = "12aahrvsk21qgpjwcrr01s742ixs44nmjkvcvqyzhqb307x1rrn3";
26
};
27
28
nativeBuildInputs = [
29
pkg-config
30
autoconf
0
31
automake
32
libtool
33
gettext
···
50
doCheck = true;
51
52
postPatch = ''
53
-
sed -e s_/bin/echo_echo_g -i src/Makefile.am
0
54
patchShebangs src/convert_version.pl
55
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
'';
65
66
meta = {
···
78
services.pcscd.enable = true;
79
services.pcscd.plugins = [ pkgs.acsccid ];
80
'';
81
-
homepage = src.meta.homepage;
82
license = lib.licenses.lgpl2Plus;
83
maintainers = with lib.maintainers; [ ];
84
platforms = lib.platforms.unix;
85
};
86
-
}
···
1
{
2
lib,
3
stdenv,
4
+
fetchurl,
5
autoconf,
6
+
autoconf-archive,
7
automake,
8
libtool,
9
gettext,
···
15
libiconv,
16
}:
17
18
+
stdenv.mkDerivation (finalAttrs: {
19
+
version = "1.1.12";
20
pname = "acsccid";
21
22
+
src = fetchurl {
23
+
url = "mirror://sourceforge/acsccid/acsccid-${finalAttrs.version}.tar.bz2";
24
+
sha256 = "sha256-KPYHWlSUpWjOL9hmbEifb0pRWZtE+8k5Dh3bSNPMxb0=";
0
0
25
};
26
27
nativeBuildInputs = [
28
pkg-config
29
autoconf
30
+
autoconf-archive
31
automake
32
libtool
33
gettext
···
50
doCheck = true;
51
52
postPatch = ''
53
+
substituteInPlace src/Makefile.in \
54
+
--replace-fail '$(INSTALL_UDEV_RULE_FILE)' ""
55
patchShebangs src/convert_version.pl
56
patchShebangs src/create_Info_plist.pl
0
0
0
0
0
0
0
0
57
'';
58
59
meta = {
···
71
services.pcscd.enable = true;
72
services.pcscd.plugins = [ pkgs.acsccid ];
73
'';
74
+
homepage = "http://acsccid.sourceforge.net";
75
license = lib.licenses.lgpl2Plus;
76
maintainers = with lib.maintainers; [ ];
77
platforms = lib.platforms.unix;
78
};
79
+
})