mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
lasso: switch to python3
This commit is contained in:
parent
187764481b
commit
43049e863c
@ -1,22 +1,49 @@
|
||||
{ lib, stdenv, autoconf, automake, autoreconfHook, fetchurl, glib, gobject-introspection, gtk-doc, libtool, libxml2, libxslt, openssl, pkg-config, python27Packages, xmlsec, zlib }:
|
||||
{ lib, stdenv
|
||||
, autoreconfHook
|
||||
, fetchurl
|
||||
, glib
|
||||
, gobject-introspection
|
||||
, gtk-doc
|
||||
, libtool
|
||||
, libxml2
|
||||
, libxslt
|
||||
, openssl
|
||||
, pkg-config
|
||||
, python3
|
||||
, xmlsec
|
||||
, zlib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
pname = "lasso";
|
||||
version = "2.8.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://dev.entrouvert.org/lasso/lasso-${version}.tar.gz";
|
||||
sha256 = "sha256-/8vVhR2YWGx+HK9DutZhZCEaO2HRK/hgoFmESP+fKzg=";
|
||||
|
||||
hash = "sha256-/8vVhR2YWGx+HK9DutZhZCEaO2HRK/hgoFmESP+fKzg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config autoconf automake ];
|
||||
buildInputs = [ glib gobject-introspection gtk-doc libtool libxml2 libxslt openssl python27Packages.six xmlsec zlib ];
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
python3
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
gobject-introspection
|
||||
gtk-doc
|
||||
libtool
|
||||
libxml2
|
||||
libxslt
|
||||
openssl
|
||||
python3.pkgs.six
|
||||
xmlsec
|
||||
zlib
|
||||
];
|
||||
|
||||
configurePhase = ''
|
||||
./configure --with-pkg-config=$PKG_CONFIG_PATH \
|
||||
--disable-python \
|
||||
--disable-perl \
|
||||
--prefix=$out
|
||||
'';
|
||||
@ -28,5 +55,4 @@ stdenv.mkDerivation rec {
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ womfoo ];
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user