lol
at 24.05-pre 39 lines 1.1 kB view raw
1{ lib, stdenv, fetchFromGitHub, cmake, pkg-config 2, curl, libxml2, pam, sblim-sfcc }: 3 4stdenv.mkDerivation rec { 5 pname = "openwsman"; 6 version = "2.7.2"; 7 8 src = fetchFromGitHub { 9 owner = "Openwsman"; 10 repo = "openwsman"; 11 rev = "v${version}"; 12 sha256 = "sha256-CH2pqWs64Dznim3IljmsthKEQfACVlaAKQ/07MgryHo="; 13 }; 14 15 nativeBuildInputs = [ cmake pkg-config ]; 16 17 buildInputs = [ curl libxml2 pam sblim-sfcc ]; 18 19 cmakeFlags = [ 20 "-DCMAKE_BUILD_RUBY_GEM=no" 21 "-DBUILD_PYTHON=no" 22 "-DBUILD_PYTHON3=yes" 23 ]; 24 25 preConfigure = '' 26 cmakeFlags="$cmakeFlags -DPACKAGE_ARCHITECTURE=$(uname -m)"; 27 ''; 28 29 configureFlags = [ "--disable-more-warnings" ]; 30 31 meta = with lib; { 32 description = "Openwsman server implementation and client API with bindings"; 33 downloadPage = "https://github.com/Openwsman/openwsman/releases"; 34 homepage = "https://openwsman.github.io"; 35 license = licenses.bsd3; 36 maintainers = with maintainers; [ deepfire ]; 37 platforms = platforms.linux; # PAM is not available on Darwin 38 }; 39}