1{ lib, buildPythonPackage, fetchPypi, dmidecode }: 2 3buildPythonPackage rec { 4 pname = "py-dmidecode"; 5 version = "0.1.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "1bv1vmhj8h520kj6slwpz16xfmgp117yjjkfyihkl5ix6mn5zkpa"; 10 }; 11 12 propagatedBuildInputs = [ dmidecode ]; 13 14 # Project has no tests. 15 doCheck = false; 16 pythonImportsCheck = [ "dmidecode" ]; 17 18 meta = with lib; { 19 homepage = "https://github.com/zaibon/py-dmidecode/"; 20 description = "Python library that parses the output of dmidecode"; 21 license = licenses.asl20; 22 maintainers = with maintainers; [ davidtwco ]; 23 platforms = platforms.linux; 24 }; 25}