10 stdenv.mkDerivation rec {
14 src = fetchFromGitHub {
18 sha256 = "1w1mdbiwz37wzry1q38h8dyjaa6iggmsb9wcyhhlawwm1vj50w48";
26 nativeBuildInputs = [ autoPatchelfHook ];
30 doInstallCheck = true;
35 install -Dm755 bin/wmic_ubuntu_x64 $out/bin/wmic
36 install -Dm644 -t $out/share/doc/wmic LICENSE README.md
41 installCheckPhase = ''
42 runHook preInstallCheck
44 $out/bin/wmic --help >/dev/null
46 runHook postInstallCheck
50 description = "WMI client for Linux (binary)";
52 homepage = "https://www.openvas.org";
53 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
54 license = licenses.mit;
55 maintainers = with maintainers; [ peterhoeg ];
56 platforms = [ "x86_64-linux" ];