archspec: init 0.1.4
This commit is contained in:
parent
cd07d6c82e
commit
2aad2691bc
36
pkgs/development/python-modules/archspec/default.nix
Normal file
36
pkgs/development/python-modules/archspec/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, click
|
||||
, six
|
||||
, pytestCheckHook
|
||||
, jsonschema
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "archspec";
|
||||
version = "0.1.4";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
fetchSubmodules = true;
|
||||
sha256 = "sha256-ScigEpYNArveqi5tlqiA7LwsVs2RkjT+GChxhSy/ndw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
propagatedBuildInputs = [ click six ];
|
||||
checkInputs = [ pytestCheckHook jsonschema ];
|
||||
|
||||
pythonImportsCheck = [ "archspec" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A library for detecting, labeling, and reasoning about microarchitectures";
|
||||
homepage = "https://archspec.readthedocs.io/en/latest/";
|
||||
license = with licenses; [ mit asl20 ];
|
||||
maintainers = with maintainers; [ atila ];
|
||||
};
|
||||
}
|
|
@ -617,6 +617,8 @@ in {
|
|||
|
||||
archinfo = callPackage ../development/python-modules/archinfo { };
|
||||
|
||||
archspec = callPackage ../development/python-modules/archspec { };
|
||||
|
||||
area = callPackage ../development/python-modules/area { };
|
||||
|
||||
arelle = callPackage ../development/python-modules/arelle {
|
||||
|
|
Loading…
Reference in a new issue