Merge pull request #122555 from davidtwco/py-dmidecode-init

py-dmidecode: init at 0.1.0
This commit is contained in:
Sandro 2021-05-12 15:47:28 +02:00 committed by GitHub
commit 7c41923470
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ lib, buildPythonPackage, fetchPypi, dmidecode }:
buildPythonPackage rec {
pname = "py-dmidecode";
version = "0.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "1bv1vmhj8h520kj6slwpz16xfmgp117yjjkfyihkl5ix6mn5zkpa";
};
propagatedBuildInputs = [ dmidecode ];
# Project has no tests.
doCheck = false;
pythonImportsCheck = [ "dmidecode" ];
meta = with lib; {
homepage = "https://github.com/zaibon/py-dmidecode/";
description = "Python library that parses the output of dmidecode";
license = licenses.asl20;
maintainers = with maintainers; [ davidtwco ];
platforms = platforms.linux;
};
}

View File

@ -5300,6 +5300,8 @@ in {
py-air-control-exporter = callPackage ../development/python-modules/py-air-control-exporter { }; py-air-control-exporter = callPackage ../development/python-modules/py-air-control-exporter { };
py-dmidecode = callPackage ../development/python-modules/py-dmidecode { };
py2bit = callPackage ../development/python-modules/py2bit { }; py2bit = callPackage ../development/python-modules/py2bit { };
py3buddy = toPythonModule (callPackage ../development/python-modules/py3buddy { }); py3buddy = toPythonModule (callPackage ../development/python-modules/py3buddy { });