python313Packages.pyspiflash: 0.6.3 -> 0.6.5 (#393341)

This commit is contained in:
Nick Cao
2025-03-26 17:58:07 -04:00
committed by GitHub
@@ -1,21 +1,26 @@
{
lib,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
pyftdi,
setuptools,
}:
buildPythonPackage rec {
pname = "pyspiflash";
version = "0.6.3";
format = "setuptools";
version = "0.6.5";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "0ifnw1qm4nssb03af93qw6vpa92rmyc2hisw9m4043pm9ryqcmpc";
src = fetchFromGitHub {
owner = "eblot";
repo = "pyspiflash";
tag = "v${version}";
hash = "sha256-NXYXvGSRhsTHu10pDYaZF84+d4QyPKECpuKpmgFstg0=";
};
propagatedBuildInputs = [ pyftdi ];
build-system = [ setuptools ];
dependencies = [ pyftdi ];
# tests are not shipped with the PyPI source
doCheck = false;
@@ -25,7 +30,8 @@ buildPythonPackage rec {
meta = with lib; {
description = "SPI data flash device drivers in Python";
homepage = "https://github.com/eblot/pyspiflash";
license = with licenses; [ mit ];
changelog = "https://github.com/eblot/pyspiflash/releases/tag/${src.tag}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}