Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / py-dmidecode / default.nix
blobbcd850def6250278c2430d74ab3126775287f96c
1 { lib
2 , buildPythonPackage
3 , dmidecode
4 , fetchPypi
5 , poetry-core
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "py-dmidecode";
11   version = "0.1.3";
12   format = "pyproject";
14   disabled = pythonOlder "3.8";
16   src = fetchPypi {
17     pname = "py_dmidecode";
18     inherit version;
19     hash = "sha256-pS1fRWuWLnXuNEGYXU/j1njC8THWQOHbnVOF9+c13Cw=";
20   };
22   nativeBuildInputs = [
23     poetry-core
24   ];
26   propagatedBuildInputs = [
27     dmidecode
28   ];
30   # Module has no tests
31   doCheck = false;
33   pythonImportsCheck = [
34     "dmidecode"
35   ];
37   meta = with lib; {
38     description = "Python library that parses the output of dmidecode";
39     homepage = "https://github.com/zaibon/py-dmidecode/";
40     changelog = "https://github.com/zaibon/py-dmidecode/releases/tag/v${version}";
41     license = licenses.asl20;
42     maintainers = with maintainers; [ davidtwco ];
43     platforms = platforms.linux;
44   };