From caf7476762680166ec3a10cc1bc39a2fbe494138 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 8 Jan 2023 00:49:28 +0100 Subject: [PATCH 1/2] python310Packages.archspec: add changelog to meta --- .../python-modules/archspec/default.nix | 27 ++++++++++++++----- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/archspec/default.nix b/pkgs/development/python-modules/archspec/default.nix index ea48798b6898..fc873f5ad870 100644 --- a/pkgs/development/python-modules/archspec/default.nix +++ b/pkgs/development/python-modules/archspec/default.nix @@ -18,18 +18,31 @@ buildPythonPackage rec { repo = pname; rev = "v${version}"; fetchSubmodules = true; - sha256 = "sha256-ScigEpYNArveqi5tlqiA7LwsVs2RkjT+GChxhSy/ndw="; + hash = "sha256-ScigEpYNArveqi5tlqiA7LwsVs2RkjT+GChxhSy/ndw="; }; - nativeBuildInputs = [ poetry-core ]; - propagatedBuildInputs = [ click six ]; - checkInputs = [ pytestCheckHook jsonschema ]; + nativeBuildInputs = [ + poetry-core + ]; - pythonImportsCheck = [ "archspec" ]; + 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/"; + description = "Library for detecting, labeling, and reasoning about microarchitectures"; + homepage = "https://archspec.readthedocs.io/"; + changelog = ""; license = with licenses; [ mit asl20 ]; maintainers = with maintainers; [ atila ]; }; From ebd1b2eb181193c350216b7aeab5042f0d801f4c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 8 Jan 2023 00:51:47 +0100 Subject: [PATCH 2/2] 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 fc873f5ad870..54c5d323ca89 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 ]; };