gobject-introspection should be in nativeBuildInputs for cross to work properly (so propagations and hook work properly)
60 lines
1.1 KiB
Nix
60 lines
1.1 KiB
Nix
{ 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.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://dev.entrouvert.org/lasso/lasso-${version}.tar.gz";
|
|
hash = "sha256-ahgxv9v49CTHUIq6R7BF1RNB7A/ekSLziwuGsJbvUz4=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
python3
|
|
gobject-introspection
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
gtk-doc
|
|
libtool
|
|
libxml2
|
|
libxslt
|
|
openssl
|
|
python3.pkgs.six
|
|
xmlsec
|
|
zlib
|
|
];
|
|
|
|
configurePhase = ''
|
|
./configure --with-pkg-config=$PKG_CONFIG_PATH \
|
|
--disable-perl \
|
|
--prefix=$out
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://lasso.entrouvert.org/";
|
|
description = "Liberty Alliance Single Sign-On library";
|
|
changelog = "https://git.entrouvert.org/entrouvert/lasso/raw/tag/v${version}/ChangeLog";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ womfoo ];
|
|
};
|
|
}
|