xeus-cling: fix improper linking with LLVM (#351130)
[NixPkgs.git] / pkgs / development / python-modules / archspec / default.nix
blob3c9c0f00f7d7f2fdf27829af55248ce71c22b3bc
2   lib,
3   buildPythonPackage,
4   click,
5   fetchFromGitHub,
6   jsonschema,
7   poetry-core,
8   pytestCheckHook,
9   pythonOlder,
12 buildPythonPackage rec {
13   pname = "archspec";
14   version = "0.2.4";
15   pyproject = true;
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "archspec";
21     repo = "archspec";
22     rev = "refs/tags/v${version}";
23     fetchSubmodules = true;
24     hash = "sha256-Xg1XdmKk2b6fqzOdedU3SGIgy65CjExxDByt/Xvmr24=";
25   };
27   build-system = [ poetry-core ];
29   dependecies = [ click ];
31   nativeCheckInputs = [
32     pytestCheckHook
33     jsonschema
34   ];
36   pythonImportsCheck = [ "archspec" ];
38   meta = with lib; {
39     description = "Library for detecting, labeling, and reasoning about microarchitectures";
40     homepage = "https://archspec.readthedocs.io/";
41     changelog = "https://github.com/archspec/archspec/releases/tag/v${version}";
42     license = with licenses; [
43       mit
44       asl20
45     ];
46     maintainers = with maintainers; [ atila ];
47     mainProgram = "archspec";
48   };