Skip to content

Commit

Permalink
python312Packages.pyfwup: 0.5.0 -> 0.5.2 (NixOS#332596)
Browse files Browse the repository at this point in the history
  • Loading branch information
wegank authored Sep 11, 2024
2 parents faa2e8e + 1de931f commit edfacdc
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions pkgs/development/python-modules/pyfwup/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@
tqdm,
libusb1,
setuptools,
setuptools-git-versioning,
pythonOlder,
}:

buildPythonPackage rec {
pname = "pyfwup";
version = "0.5.0";
version = "0.5.2";

pyproject = true;

Expand All @@ -22,19 +21,22 @@ buildPythonPackage rec {
owner = "greatscottgadgets";
repo = "pyfwup";
rev = "refs/tags/${version}";
hash = "sha256-HZaR7X19kWb8w/VcnRHReGPkUBQ/u89BjmkTPpayoxE=";
hash = "sha256-Kyc3f8beTg0W1+U7SvZuNPN1pdsco9rBUfoEtR7AI44=";
};

postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail '"setuptools-git-versioning<2"' "" \
--replace-fail 'dynamic = ["version"]' 'version = "${version}"'
'';

dependencies = [
pyusb
tqdm
libusb1
];

build-system = [
setuptools
setuptools-git-versioning
];
build-system = [ setuptools ];

pythonImportsCheck = [
"fwup"
Expand Down

0 comments on commit edfacdc

Please sign in to comment.