Files
nixpkgs/pkgs/by-name/op/openwsman/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

57 lines
1.0 KiB
Nix

{
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
};
}