Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 52 lines 1.1 kB view raw
1{ 2 stdenv, 3 fetchFromGitHub, 4 autoreconfHook, 5 pkg-config, 6 openssl, 7 openwsman, 8}: 9 10stdenv.mkDerivation rec { 11 pname = "wsmancli"; 12 version = "2.8.0"; 13 14 src = fetchFromGitHub { 15 owner = "Openwsman"; 16 repo = "wsmancli"; 17 tag = "v${version}"; 18 hash = "sha256-pTA5p5+Fuiw2lQaaSKnp/29HMy8NZNTFwP5K/+sJ9OU="; 19 }; 20 21 nativeBuildInputs = [ 22 autoreconfHook 23 pkg-config 24 ]; 25 26 buildInputs = [ 27 openwsman 28 openssl 29 ]; 30 31 postPatch = '' 32 touch AUTHORS NEWS README 33 ''; 34 35 meta = { 36 description = "Openwsman command-line client"; 37 longDescription = '' 38 Openwsman provides a command-line tool, wsman, to perform basic 39 operations on the command-line. These operations include Get, Put, 40 Invoke, Identify, Delete, Create, and Enumerate. The command-line tool 41 also has several switches to allow for optional features of the 42 WS-Management specification and Testing. 43 ''; 44 downloadPage = "https://github.com/Openwsman/wsmancli/releases"; 45 inherit (openwsman.meta) 46 homepage 47 license 48 maintainers 49 platforms 50 ; 51 }; 52}