blob: a4dc6377fd8dff40051a2f8acf764968d9ee8144 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
{
lib,
stdenv,
fetchFromGitHub,
cmake,
pkg-config,
curl,
libxml2,
pam,
sblim-sfcc,
}:
stdenv.mkDerivation rec {
pname = "openwsman";
version = "2.8.1";
src = fetchFromGitHub {
owner = "Openwsman";
repo = "openwsman";
tag = "v${version}";
hash = "sha256-jXsnjnYZ2UiEj3sJDhMuWlopIECKLraqgIV4evw5Tbw=";
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
curl
libxml2
pam
sblim-sfcc
];
cmakeFlags = [
"-DCMAKE_BUILD_RUBY_GEM=no"
"-DBUILD_PYTHON=no"
"-DBUILD_PYTHON3=yes"
];
preConfigure = ''
appendToVar cmakeFlags "-DPACKAGE_ARCHITECTURE=$(uname -m)"
'';
configureFlags = [ "--disable-more-warnings" ];
meta = {
description = "Open source implementation of WS-Management";
downloadPage = "https://github.com/Openwsman/openwsman/releases";
homepage = "https://openwsman.github.io";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ deepfire ];
platforms = lib.platforms.linux; # PAM is not available on Darwin
};
}
|