pythonPackages.py-cpuinfo: init at 4.0.0

- fetchFromGitHub to run all tests
 - all tests pass
This commit is contained in:
Chris Ostrouchov 2018-08-10 16:36:50 -04:00
parent 9745611ed6
commit 90c353d44e
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{ lib
, fetchFromGitHub
, buildPythonPackage
}:
buildPythonPackage rec {
pname = "py-cpuinfo";
version = "4.0.0";
src = fetchFromGitHub {
owner = "workhorsy";
repo = pname;
rev = "v${version}";
sha256 = "1pp561lj80jnvr2038nrzhmks2akxsbdqxvfrqa6n340x81981lm";
};
meta = {
description = "Get CPU info with pure Python 2 & 3";
homepage = https://github.com/workhorsy/py-cpuinfo;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ costrouc ];
};
}

View File

@ -384,6 +384,8 @@ in {
PyChromecast = callPackage ../development/python-modules/pychromecast { };
py-cpuinfo = callPackage ../development/python-modules/py-cpuinfo { };
pydbus = callPackage ../development/python-modules/pydbus { };
pydocstyle = callPackage ../development/python-modules/pydocstyle { };