From ebd1b2eb181193c350216b7aeab5042f0d801f4c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 8 Jan 2023 00:51:47 +0100 Subject: [PATCH] python310Packages.archspec: 0.1.4 -> 0.2.0 Diff: https://github.com/archspec/archspec.git/compare/refs/tags/v0.1.4...v0.2.0 Changelog: https://github.com/archspec/archspec/releases/tag/v0.2.0 --- .../python-modules/archspec/default.nix | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/archspec/default.nix b/pkgs/development/python-modules/archspec/default.nix index fc873f5ad87..54c5d323ca8 100644 --- a/pkgs/development/python-modules/archspec/default.nix +++ b/pkgs/development/python-modules/archspec/default.nix @@ -1,24 +1,26 @@ { lib , buildPythonPackage -, fetchFromGitHub -, poetry-core , click -, six -, pytestCheckHook +, fetchFromGitHub , jsonschema +, poetry-core +, pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "archspec"; - version = "0.1.4"; + version = "0.2.0"; format = "pyproject"; + disabled = pythonOlder "3.7"; + src = fetchFromGitHub { owner = pname; repo = pname; - rev = "v${version}"; + rev = "refs/tags/v${version}"; fetchSubmodules = true; - hash = "sha256-ScigEpYNArveqi5tlqiA7LwsVs2RkjT+GChxhSy/ndw="; + hash = "sha256-Zu7/zx3FTVJVGpAdRDdnLBokeodspZg6ou/GBaqz4XY="; }; nativeBuildInputs = [ @@ -27,7 +29,6 @@ buildPythonPackage rec { propagatedBuildInputs = [ click - six ]; checkInputs = [ @@ -42,7 +43,7 @@ buildPythonPackage rec { meta = with lib; { description = "Library for detecting, labeling, and reasoning about microarchitectures"; homepage = "https://archspec.readthedocs.io/"; - changelog = ""; + changelog = "https://github.com/archspec/archspec/releases/tag/v0.2.0"; license = with licenses; [ mit asl20 ]; maintainers = with maintainers; [ atila ]; };