10 buildPythonPackage rec {
15 disabled = pythonOlder "3.10";
17 src = fetchFromGitHub {
20 rev = "refs/tags/v${version}";
21 hash = "sha256-QI5XHy2TDSUqK6BZBoFWViBcOKfo+zg0ulzEzF4eg4w=";
24 build-system = [ setuptools ];
26 nativeCheckInputs = [ pytestCheckHook ];
28 pythonImportsCheck = [ "cpe" ];
31 changelog = "https://github.com/nilp0inter/cpe/releases/tag/v${version}";
32 description = "Common platform enumeration for python";
33 homepage = "https://github.com/nilp0inter/cpe";
34 license = lib.licenses.gpl3Only;
35 maintainers = with lib.maintainers; [ tochiaha ];