depot/third_party/nixpkgs/pkgs/development/libraries/lasso/default.nix
Default email d56f44df06 Project import generated by Copybara.
GitOrigin-RevId: bc4b9eef3ce3d5a90d8693e8367c9cbfc9fc1e13
2022-04-03 20:54:34 +02:00

32 lines
1 KiB
Nix

{ lib, stdenv, autoconf, automake, autoreconfHook, fetchurl, glib, gobject-introspection, gtk-doc, libtool, libxml2, libxslt, openssl, pkg-config, python27Packages, xmlsec, zlib }:
stdenv.mkDerivation rec {
pname = "lasso";
version = "2.7.0";
src = fetchurl {
url = "https://dev.entrouvert.org/lasso/lasso-${version}.tar.gz";
sha256 = "138x8pmj4k1pbah32z14rd8ylyx4lgz70s93m39vd17f8sjz50lj";
};
nativeBuildInputs = [ autoreconfHook pkg-config autoconf automake ];
buildInputs = [ glib gobject-introspection gtk-doc libtool libxml2 libxslt openssl python27Packages.six xmlsec zlib ];
configurePhase = ''
./configure --with-pkg-config=$PKG_CONFIG_PATH \
--disable-python \
--disable-perl \
--prefix=$out
'';
meta = with lib; {
homepage = "https://lasso.entrouvert.org/";
description = "Liberty Alliance Single Sign-On library";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ womfoo ];
};
}