python312Packages.fnllm: 0.0.11 -> 0.0.12 (#364582)
[NixPkgs.git] / pkgs / development / python-modules / py-dmidecode / default.nix
blob893121ff1e3d37348737f64f0172ff939409efaa
2   lib,
3   buildPythonPackage,
4   dmidecode,
5   fetchPypi,
6   poetry-core,
7   pythonOlder,
8 }:
10 buildPythonPackage rec {
11   pname = "py-dmidecode";
12   version = "0.1.3";
13   format = "pyproject";
15   disabled = pythonOlder "3.8";
17   src = fetchPypi {
18     pname = "py_dmidecode";
19     inherit version;
20     hash = "sha256-pS1fRWuWLnXuNEGYXU/j1njC8THWQOHbnVOF9+c13Cw=";
21   };
23   nativeBuildInputs = [ poetry-core ];
25   propagatedBuildInputs = [ dmidecode ];
27   # Module has no tests
28   doCheck = false;
30   pythonImportsCheck = [ "dmidecode" ];
32   meta = with lib; {
33     description = "Python library that parses the output of dmidecode";
34     homepage = "https://github.com/zaibon/py-dmidecode/";
35     changelog = "https://github.com/zaibon/py-dmidecode/releases/tag/v${version}";
36     license = licenses.asl20;
37     maintainers = with maintainers; [ davidtwco ];
38     platforms = platforms.linux;
39   };