diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/lasso')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/lasso/default.nix | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/lasso/default.nix b/nixpkgs/pkgs/development/libraries/lasso/default.nix new file mode 100644 index 000000000000..06825c5379d9 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/lasso/default.nix @@ -0,0 +1,58 @@ +{ 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"; + hash = "sha256-/8vVhR2YWGx+HK9DutZhZCEaO2HRK/hgoFmESP+fKzg="; + }; + + 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-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 ]; + }; +} |