biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / cpe / default.nix
bloba608f7717b883230b60db6d91e6217faf2475ddd
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "cpe";
12   version = "1.3.1";
13   pyproject = true;
15   disabled = pythonOlder "3.10";
17   src = fetchFromGitHub {
18     owner = "nilp0inter";
19     repo = "cpe";
20     rev = "refs/tags/v${version}";
21     hash = "sha256-QI5XHy2TDSUqK6BZBoFWViBcOKfo+zg0ulzEzF4eg4w=";
22   };
24   build-system = [ setuptools ];
26   nativeCheckInputs = [ pytestCheckHook ];
28   pythonImportsCheck = [ "cpe" ];
30   meta = {
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 ];
36   };