Files
quantenzitrone 6b61249106 various: switch to finalAttrs pattern
this shouldn't create any rebuilds
2026-01-30 02:36:22 +01:00

53 lines
1.1 KiB
Nix

{
stdenv,
fetchFromGitHub,
autoreconfHook,
pkg-config,
openssl,
openwsman,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "wsmancli";
version = "2.8.0";
src = fetchFromGitHub {
owner = "Openwsman";
repo = "wsmancli";
tag = "v${finalAttrs.version}";
hash = "sha256-pTA5p5+Fuiw2lQaaSKnp/29HMy8NZNTFwP5K/+sJ9OU=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
openwsman
openssl
];
postPatch = ''
touch AUTHORS NEWS README
'';
meta = {
description = "Openwsman command-line client";
longDescription = ''
Openwsman provides a command-line tool, wsman, to perform basic
operations on the command-line. These operations include Get, Put,
Invoke, Identify, Delete, Create, and Enumerate. The command-line tool
also has several switches to allow for optional features of the
WS-Management specification and Testing.
'';
downloadPage = "https://github.com/Openwsman/wsmancli/releases";
inherit (openwsman.meta)
homepage
license
maintainers
platforms
;
};
})