nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 46 lines 953 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 click, 5 fetchFromGitHub, 6 jsonschema, 7 poetry-core, 8 pytestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "archspec"; 13 version = "0.2.5"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "archspec"; 18 repo = "archspec"; 19 tag = "v${version}"; 20 fetchSubmodules = true; 21 hash = "sha256-BfjFNwfNyT/da0Z5/bBdbv+RT8lqM0s2q64cz79vuF0="; 22 }; 23 24 build-system = [ poetry-core ]; 25 26 dependecies = [ click ]; 27 28 nativeCheckInputs = [ 29 pytestCheckHook 30 jsonschema 31 ]; 32 33 pythonImportsCheck = [ "archspec" ]; 34 35 meta = { 36 description = "Library for detecting, labeling, and reasoning about microarchitectures"; 37 homepage = "https://archspec.readthedocs.io/"; 38 changelog = "https://github.com/archspec/archspec/releases/tag/${src.tag}"; 39 license = with lib.licenses; [ 40 mit 41 asl20 42 ]; 43 maintainers = with lib.maintainers; [ atila ]; 44 mainProgram = "archspec"; 45 }; 46}