nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

lasso: switch to python3

+34 -8
+34 -8
pkgs/development/libraries/lasso/default.nix
··· 1 - { lib, stdenv, autoconf, automake, autoreconfHook, fetchurl, glib, gobject-introspection, gtk-doc, libtool, libxml2, libxslt, openssl, pkg-config, python27Packages, xmlsec, zlib }: 1 + { lib, stdenv 2 + , autoreconfHook 3 + , fetchurl 4 + , glib 5 + , gobject-introspection 6 + , gtk-doc 7 + , libtool 8 + , libxml2 9 + , libxslt 10 + , openssl 11 + , pkg-config 12 + , python3 13 + , xmlsec 14 + , zlib 15 + }: 2 16 3 17 stdenv.mkDerivation rec { 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 - sha256 = "sha256-/8vVhR2YWGx+HK9DutZhZCEaO2HRK/hgoFmESP+fKzg="; 11 - 23 + hash = "sha256-/8vVhR2YWGx+HK9DutZhZCEaO2HRK/hgoFmESP+fKzg="; 12 24 }; 13 25 14 - nativeBuildInputs = [ autoreconfHook pkg-config autoconf automake ]; 15 - buildInputs = [ glib gobject-introspection gtk-doc libtool libxml2 libxslt openssl python27Packages.six xmlsec zlib ]; 26 + nativeBuildInputs = [ 27 + autoreconfHook 28 + pkg-config 29 + python3 30 + ]; 31 + 32 + buildInputs = [ 33 + glib 34 + gobject-introspection 35 + gtk-doc 36 + libtool 37 + libxml2 38 + libxslt 39 + openssl 40 + python3.pkgs.six 41 + xmlsec 42 + zlib 43 + ]; 16 44 17 45 configurePhase = '' 18 46 ./configure --with-pkg-config=$PKG_CONFIG_PATH \ 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 - 59 31 }