tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
lasso: switch to python3
Armeen Mahdian
4 years ago
43049e86
18776448
+34
-8
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
lasso
default.nix
+34
-8
pkgs/development/libraries/lasso/default.nix
reviewed
···
1
1
-
{ lib, stdenv, autoconf, automake, autoreconfHook, fetchurl, glib, gobject-introspection, gtk-doc, libtool, libxml2, libxslt, openssl, pkg-config, python27Packages, xmlsec, zlib }:
1
1
+
{ lib, stdenv
2
2
+
, autoreconfHook
3
3
+
, fetchurl
4
4
+
, glib
5
5
+
, gobject-introspection
6
6
+
, gtk-doc
7
7
+
, libtool
8
8
+
, libxml2
9
9
+
, libxslt
10
10
+
, openssl
11
11
+
, pkg-config
12
12
+
, python3
13
13
+
, xmlsec
14
14
+
, zlib
15
15
+
}:
2
16
3
17
stdenv.mkDerivation rec {
4
4
-
5
18
pname = "lasso";
6
19
version = "2.8.0";
7
20
8
21
src = fetchurl {
9
22
url = "https://dev.entrouvert.org/lasso/lasso-${version}.tar.gz";
10
10
-
sha256 = "sha256-/8vVhR2YWGx+HK9DutZhZCEaO2HRK/hgoFmESP+fKzg=";
11
11
-
23
23
+
hash = "sha256-/8vVhR2YWGx+HK9DutZhZCEaO2HRK/hgoFmESP+fKzg=";
12
24
};
13
25
14
14
-
nativeBuildInputs = [ autoreconfHook pkg-config autoconf automake ];
15
15
-
buildInputs = [ glib gobject-introspection gtk-doc libtool libxml2 libxslt openssl python27Packages.six xmlsec zlib ];
26
26
+
nativeBuildInputs = [
27
27
+
autoreconfHook
28
28
+
pkg-config
29
29
+
python3
30
30
+
];
31
31
+
32
32
+
buildInputs = [
33
33
+
glib
34
34
+
gobject-introspection
35
35
+
gtk-doc
36
36
+
libtool
37
37
+
libxml2
38
38
+
libxslt
39
39
+
openssl
40
40
+
python3.pkgs.six
41
41
+
xmlsec
42
42
+
zlib
43
43
+
];
16
44
17
45
configurePhase = ''
18
46
./configure --with-pkg-config=$PKG_CONFIG_PATH \
19
19
-
--disable-python \
20
47
--disable-perl \
21
48
--prefix=$out
22
49
'';
···
55
28
platforms = platforms.linux;
56
29
maintainers = with maintainers; [ womfoo ];
57
30
};
58
58
-
59
31
}