mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
e8ab2b3eeb
Signed-off-by: David Wood <david.wood@codeplay.com>
26 lines
647 B
Nix
26 lines
647 B
Nix
{ 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;
|
|
};
|
|
}
|