python3Packages.pysmart-smartx: init at 0.3.10

This commit is contained in:
Ryan Horiguchi 2021-04-16 12:57:19 +02:00
parent f4c9dc066f
commit ff795a714b
No known key found for this signature in database
GPG key ID: CA7EE98D45A1132A
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, isPy3k
, future
, pytestCheckHook
, mock
}:
buildPythonPackage rec {
pname = "pysmart-smartx";
version = "0.3.10";
src = fetchFromGitHub {
owner = "smartxworks";
repo = "pySMART";
rev = "v${version}";
sha256 = "1irl4nlgz3ds3aikraa9928gzn6hz8chfh7jnpmq2q7d2vqbdrjs";
};
propagatedBuildInputs = [ future ];
# tests require contextlib.nested
doCheck = !isPy3k;
checkInputs = [ pytestCheckHook mock ];
pythonImportsCheck = [ "pySMART" ];
meta = with lib; {
description = "It's a fork of pySMART with lots of bug fix and enhances";
homepage = "https://github.com/smartxworks/pySMART";
maintainers = with maintainers; [ rhoriguchi ];
license = licenses.gpl2Only;
};
}

View file

@ -6357,6 +6357,8 @@ in {
pysmb = callPackage ../development/python-modules/pysmb { };
pysmart-smartx = callPackage ../development/python-modules/pysmart-smartx { };
pysmbc = callPackage ../development/python-modules/pysmbc { };
pysmf = callPackage ../development/python-modules/pysmf { };