git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #33024 from peterhoeg/u/sblim

openwsman: 2.6.0 -> 2.6.5

commit63ac0b0114be31e9dc73294abb478dd015db052a authorGraham Christensen <graham@grahamc.com> dateSun 24 Dec 2017, 08:30 (9 years ago) parentb792b3cda0d8e2
3 files changed+56−68
pkgs/development/libraries/openwsman/default.nix+18−19 pkgs/development/libraries/sblim-sfcc/default.nix+16−18 pkgs/tools/system/wsmancli/default.nix+22−31
pkgs/development/libraries/openwsman/default.nix+18−19
@@ -1,16 +1,20 @@
1−{ fetchurl, stdenv, autoconf, automake, libtool, pkgconfig, libxml2, curl, cmake, pam, sblim-sfcc }:
1+{ stdenv, fetchFromGitHub, cmake, pkgconfig
2+, curl, libxml2, pam, sblim-sfcc }:
23
34stdenv.mkDerivation rec {
4− version = "2.6.0";
55 name = "openwsman-${version}";
6+ version = "2.6.5";
67
7− src = fetchurl {
8− url = "https://github.com/Openwsman/openwsman/archive/v${version}.tar.gz";
9− sha256 = "0gw2dsjxzpchg3s85kplwgp9xhd9l7q4fh37iy7r203pvir4k6s4";
8+ src = fetchFromGitHub {
9+ owner = "Openwsman";
10+ repo = "openwsman";
11+ rev = "v${version}";
12+ sha256 = "1r0zslgpcr4m20car4s3hsccy10xcb39qhpw3dhpjv42xsvvs5xv";
1013 };
1114
12− nativeBuildInputs = [ pkgconfig ];
13− buildInputs = [ autoconf automake libtool libxml2 curl cmake pam sblim-sfcc ];
15+ nativeBuildInputs = [ cmake pkgconfig ];
16+
17+ buildInputs = [ curl libxml2 pam sblim-sfcc ];
1418
1519 cmakeFlags = [
1620 "-DCMAKE_BUILD_RUBY_GEM=no"
@@ -22,18 +26,13 @@ stdenv.mkDerivation rec {
2226
2327 configureFlags = "--disable-more-warnings";
2428
25− meta = {
26− description = "Openwsman server implementation and client api with bindings";
27−
28− homepage = https://github.com/Openwsman/openwsman;
29− downloadPage = "https://github.com/Openwsman/openwsman/releases";
30−
31− maintainers = [ stdenv.lib.maintainers.deepfire ];
32−
33− license = stdenv.lib.licenses.bsd3;
34−
35− platforms = stdenv.lib.platforms.gnu; # arbitrary choice
36−
29+ meta = with stdenv.lib; {
30+ description = "Openwsman server implementation and client API with bindings";
31+ downloadPage = https://github.com/Openwsman/openwsman/releases;
32+ homepage = https://openwsman.github.io;
33+ license = licenses.bsd3;
34+ maintainers = with maintainers; [ deepfire ];
35+ platforms = platforms.unix;
3736 inherit version;
3837 };
3938}
pkgs/development/libraries/sblim-sfcc/default.nix+16−18
@@ -1,30 +1,28 @@
1−{ fetchgit, stdenv, autoconf, automake, libtool, curl }:
1+{ stdenv, fetchFromGitHub, autoreconfHook, curl }:
22
33stdenv.mkDerivation rec {
4− version = "2.2.9";
54 name = "sblim-sfcc-${version}";
5+ version = "2.2.9"; # this is technically 2.2.9-preview
66
7− src = fetchgit {
8− url = "https://github.com/kkaempf/sblim-sfcc.git";
9− rev = "f70fecb410a53531e4fe99d39cf81b581819cac9";
10− sha256 = "1hsxim284qzldh599gf6khxj80g8q5263xl3lj3hdndxbhbs843v";
7+ src = fetchFromGitHub {
8+ owner = "kkaempf";
9+ repo = "sblim-sfcc";
10+ rev = "514a76af2020fd6dc6fc380df76cbe27786a76a2";
11+ sha256 = "06c1mskl9ixbf26v88w0lvn6v2xd6n5f0jd5mckqrn9j4vmh70hs";
1112 };
1213
13− preConfigure = "./autoconfiscate.sh";
14+ buildInputs = [ curl ];
1415
15− buildInputs = [ autoconf automake libtool curl ];
16+ nativeBuildInputs = [ autoreconfHook ];
1617
17− meta = {
18− description = "Small Footprint CIM Client Library";
19−
20− homepage = https://sourceforge.net/projects/sblim/;
21−
22− maintainers = [ stdenv.lib.maintainers.deepfire ];
23−
24− license = stdenv.lib.licenses.cpl10;
25−
26− platforms = stdenv.lib.platforms.gnu; # arbitrary choice
18+ enableParallelBuilding = true;
2719
20+ meta = with stdenv.lib; {
21+ description = "Small Footprint CIM Client Library";
22+ homepage = https://sourceforge.net/projects/sblim/;
23+ license = licenses.cpl10;
24+ maintainers = with maintainers; [ deepfire ];
25+ platforms = platforms.unix;
2826 inherit version;
2927 };
3028}
pkgs/tools/system/wsmancli/default.nix+22−31
@@ -1,45 +1,36 @@
1−{ fetchurl, stdenv, autoconf, automake, libtool, pkgconfig, openwsman, openssl }:
1+{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
2+, openssl, openwsman }:
23
34stdenv.mkDerivation rec {
4− version = "2.6.0";
55 name = "wsmancli-${version}";
6+ version = "2.6.0";
67
7− src = fetchurl {
8− url = "https://github.com/Openwsman/wsmancli/archive/v${version}.tar.gz";
9− sha256 = "03ay6sa4ii8h6rr3l2qiqqml8xl6gplrlg4v2avdh9y6sihfyvvn";
8+ src = fetchFromGitHub {
9+ owner = "Openwsman";
10+ repo = "wsmancli";
11+ rev = "v${version}";
12+ sha256 = "0a67fz9lj7xkyfqim6ai9kj7v6hzx94r1bg0g0l5dymgng648b9j";
1013 };
1114
12− nativeBuildInputs = [ pkgconfig ];
13− buildInputs = [ autoconf automake libtool openwsman openssl ];
15+ nativeBuildInputs = [ autoreconfHook pkgconfig ];
1416
15− preConfigure = ''
16− ./bootstrap
17+ buildInputs = [ openwsman openssl ];
1718
18− configureFlagsArray=(
19− LIBS="-L${openssl.out}/lib -lssl -lcrypto"
20− )
19+ postPatch = ''
20+ touch AUTHORS NEWS README
2121 '';
2222
23− meta = {
23+ meta = with stdenv.lib; {
2424 description = "Openwsman command-line client";
25−
26− longDescription =
27− '' Openwsman provides a command-line tool, wsman, to perform basic
28− operations on the command-line. These operations include Get, Put,
29− Invoke, Identify, Delete, Create, and Enumerate. The command-line tool
30− also has several switches to allow for optional features of the
31− WS-Management specification and Testing.
32− '';
33−
34− homepage = https://github.com/Openwsman/wsmancli;
35− downloadPage = "https://github.com/Openwsman/wsmancli/releases";
36−
37− maintainers = [ stdenv.lib.maintainers.deepfire ];
38−
39− license = stdenv.lib.licenses.bsd3;
40−
41− platforms = stdenv.lib.platforms.gnu; # arbitrary choice
42−
25+ longDescription = ''
26+ Openwsman provides a command-line tool, wsman, to perform basic
27+ operations on the command-line. These operations include Get, Put,
28+ Invoke, Identify, Delete, Create, and Enumerate. The command-line tool
29+ also has several switches to allow for optional features of the
30+ WS-Management specification and Testing.
31+ '';
32+ downloadPage = https://github.com/Openwsman/wsmancli/releases;
33+ inherit (openwsman.meta) homepage license maintainers platforms;
4334 inherit version;
4435 };
4536}