uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
39
pkgs/development/libraries/openwsman/default.nix
Normal file
39
pkgs/development/libraries/openwsman/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
|
||||
, curl, libxml2, pam, sblim-sfcc }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "openwsman";
|
||||
version = "2.7.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Openwsman";
|
||||
repo = "openwsman";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-/fSVzpGPObMkJIu7j6eR6A7Gtf2jttoPhcSayBvn3IU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
|
||||
buildInputs = [ curl libxml2 pam sblim-sfcc ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_BUILD_RUBY_GEM=no"
|
||||
"-DBUILD_PYTHON=no"
|
||||
"-DBUILD_PYTHON3=yes"
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
cmakeFlags="$cmakeFlags -DPACKAGE_ARCHITECTURE=$(uname -m)";
|
||||
'';
|
||||
|
||||
configureFlags = [ "--disable-more-warnings" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Openwsman server implementation and client API with bindings";
|
||||
downloadPage = "https://github.com/Openwsman/openwsman/releases";
|
||||
homepage = "https://openwsman.github.io";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ deepfire ];
|
||||
platforms = platforms.linux; # PAM is not available on Darwin
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue