Merge pull request #318058 from pbsds/bump-amaranth-boards-1717780973
python311Packages.amaranth-soc: 0-unstable-2024-02-16 -> 0.1a-unstable-2024-05-17
This commit is contained in:
@@ -5,11 +5,12 @@
|
||||
amaranth,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
unstableGitUpdater,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "amaranth-boards";
|
||||
version = "0-unstable-2023-12-13";
|
||||
version = "0-unstable-2024-05-01";
|
||||
pyproject = true;
|
||||
# python setup.py --version
|
||||
realVersion = "0.1.dev202+g${lib.substring 0 7 src.rev}";
|
||||
@@ -17,8 +18,8 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "amaranth-lang";
|
||||
repo = "amaranth-boards";
|
||||
rev = "170675812b71ee722bcf8ccdb88409a9ad97ffe2";
|
||||
hash = "sha256-dwZCKMJnEY9RjzkcJ9r3TEC7W+Wfi/P7Hjl4/d60/qo=";
|
||||
rev = "aba2300dc83216523e1c98fdb22471cb4bac5027";
|
||||
hash = "sha256-IMhNMkOf6dg4Djyi39TDTpU0S3TQM1+e6TBoyiITaos=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -37,6 +38,8 @@ buildPythonPackage rec {
|
||||
# no tests
|
||||
doCheck = false;
|
||||
|
||||
passthru.updateScript = unstableGitUpdater { };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Board definitions for Amaranth HDL";
|
||||
homepage = "https://github.com/amaranth-lang/amaranth-boards";
|
||||
|
||||
@@ -4,20 +4,24 @@
|
||||
fetchFromGitHub,
|
||||
amaranth,
|
||||
pdm-backend,
|
||||
unstableGitUpdater,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "amaranth-soc";
|
||||
version = "0-unstable-2024-02-16";
|
||||
version = "0.1a-unstable-2024-05-17";
|
||||
pyproject = true;
|
||||
# from `pdm show`
|
||||
realVersion = "0.1a1.dev1+g${lib.substring 0 7 src.rev}";
|
||||
realVersion = let
|
||||
tag = builtins.elemAt (lib.splitString "-" version) 0;
|
||||
rev = lib.substring 0 7 src.rev;
|
||||
in "${tag}1.dev1+g${rev}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "amaranth-lang";
|
||||
repo = "amaranth-soc";
|
||||
rev = "9f46553aa4289e2a11788a73fade6410a371b162";
|
||||
hash = "sha256-ZllDSrZEu16jZtbQ7crQSj3XCbsthueXtaAvyf45dmY=";
|
||||
rev = "45ff663b83694b09b2b8f3fc0f10c555a12ba987";
|
||||
hash = "sha256-Ql8XYC13wscPL96HY0kXselq78D747BpLK8X1sxpwz0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pdm-backend ];
|
||||
@@ -27,6 +31,8 @@ buildPythonPackage rec {
|
||||
export PDM_BUILD_SCM_VERSION="${realVersion}"
|
||||
'';
|
||||
|
||||
passthru.updateScript = unstableGitUpdater { tagPrefix = "v"; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "System on Chip toolkit for Amaranth HDL";
|
||||
homepage = "https://github.com/amaranth-lang/amaranth-soc";
|
||||
|
||||
Reference in New Issue
Block a user