forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / by-name / la / lasso / package.nix
blob7b2965f1f7305618f12a7851c823ddef65de8e16
1 { lib, stdenv
2 , autoreconfHook
3 , fetchurl
4 , fetchpatch
5 , glib
6 , gobject-introspection
7 , gtk-doc
8 , libtool
9 , libxml2
10 , libxslt
11 , openssl
12 , pkg-config
13 , python3
14 , xmlsec
15 , zlib
18 stdenv.mkDerivation rec {
19   pname = "lasso";
20   version = "2.8.2";
22   src = fetchurl {
23     url = "https://dev.entrouvert.org/lasso/lasso-${version}.tar.gz";
24     hash = "sha256-ahgxv9v49CTHUIq6R7BF1RNB7A/ekSLziwuGsJbvUz4=";
25   };
27   patches = [
28     # Fix build with xmlsec 1.3.0
29     (fetchpatch {
30       url = "https://git.entrouvert.org/entrouvert/lasso/commit/ffaddeb015a61db3e52c391de00430107a23e2f1.patch";
31       hash = "sha256-D2npxpIuR/KrNYiKO3KXCvHEb/XVXUKIP0HQUd+w56k=";
32     })
33   ];
35   nativeBuildInputs = [
36     autoreconfHook
37     pkg-config
38     python3
39     gobject-introspection
40   ];
42   buildInputs = [
43     glib
44     gtk-doc
45     libtool
46     libxml2
47     libxslt
48     openssl
49     python3.pkgs.six
50     xmlsec
51     zlib
52   ];
54   configurePhase = ''
55     ./configure --with-pkg-config=$PKG_CONFIG_PATH \
56                 --disable-perl \
57                 --prefix=$out
58   '';
60   meta = with lib; {
61     homepage = "https://lasso.entrouvert.org/";
62     description = "Liberty Alliance Single Sign-On library";
63     changelog = "https://git.entrouvert.org/entrouvert/lasso/raw/tag/v${version}/ChangeLog";
64     license = licenses.gpl2Plus;
65     platforms = platforms.linux;
66     maintainers = with maintainers; [ womfoo ];
67   };