nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 37 lines 802 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 dmidecode, 5 fetchPypi, 6 poetry-core, 7}: 8 9buildPythonPackage rec { 10 pname = "py-dmidecode"; 11 version = "0.1.3"; 12 pyproject = true; 13 14 src = fetchPypi { 15 pname = "py_dmidecode"; 16 inherit version; 17 hash = "sha256-pS1fRWuWLnXuNEGYXU/j1njC8THWQOHbnVOF9+c13Cw="; 18 }; 19 20 nativeBuildInputs = [ poetry-core ]; 21 22 propagatedBuildInputs = [ dmidecode ]; 23 24 # Module has no tests 25 doCheck = false; 26 27 pythonImportsCheck = [ "dmidecode" ]; 28 29 meta = { 30 description = "Python library that parses the output of dmidecode"; 31 homepage = "https://github.com/zaibon/py-dmidecode/"; 32 changelog = "https://github.com/zaibon/py-dmidecode/releases/tag/v${version}"; 33 license = lib.licenses.asl20; 34 maintainers = [ ]; 35 platforms = lib.platforms.linux; 36 }; 37}