mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
python3Packages.pysmart-smartx: init at 0.3.10
This commit is contained in:
parent
f4c9dc066f
commit
ff795a714b
36
pkgs/development/python-modules/pysmart-smartx/default.nix
Normal file
36
pkgs/development/python-modules/pysmart-smartx/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
|
@ -6357,6 +6357,8 @@ in {
|
||||||
|
|
||||||
pysmb = callPackage ../development/python-modules/pysmb { };
|
pysmb = callPackage ../development/python-modules/pysmb { };
|
||||||
|
|
||||||
|
pysmart-smartx = callPackage ../development/python-modules/pysmart-smartx { };
|
||||||
|
|
||||||
pysmbc = callPackage ../development/python-modules/pysmbc { };
|
pysmbc = callPackage ../development/python-modules/pysmbc { };
|
||||||
|
|
||||||
pysmf = callPackage ../development/python-modules/pysmf { };
|
pysmf = callPackage ../development/python-modules/pysmf { };
|
||||||
|
|
Loading…
Reference in a new issue