lol

Merge pull request #268564 from mweinelt/adafruit-nrfutil

python311Packages.adafruit-nrfutil: 1 -> 0.5.3.post17

authored by

Robert Scott and committed by
GitHub
c0383457 0bd183e0

+48 -64
+47
pkgs/by-name/ad/adafruit-nrfutil/package.nix
··· 1 + { lib 2 + , python3Packages 3 + , fetchFromGitHub 4 + }: 5 + 6 + python3Packages.buildPythonApplication rec { 7 + pname = "adafruit-nrfutil"; 8 + version = "0.5.3.post17"; 9 + pyproject = true; 10 + 11 + src = fetchFromGitHub { 12 + owner = "adafruit"; 13 + repo = "Adafruit_nRF52_nrfutil"; 14 + rev = "refs/tags/${version}"; 15 + hash = "sha256-mHHKOQE9AGBX8RAyaPOy+JS3fTs98+AFdq9qsVy7go4="; 16 + }; 17 + 18 + nativeBuildInputs = with python3Packages; [ 19 + setuptools 20 + ]; 21 + 22 + propagatedBuildInputs = with python3Packages; [ 23 + click 24 + ecdsa 25 + pyserial 26 + ]; 27 + 28 + nativeCheckInputs = with python3Packages; [ 29 + behave 30 + nose 31 + ]; 32 + 33 + preCheck = '' 34 + mkdir test-reports 35 + ''; 36 + 37 + pythonImportsCheck = [ 38 + "nordicsemi" 39 + ]; 40 + 41 + meta = with lib; { 42 + homepage = "https://github.com/adafruit/Adafruit_nRF52_nrfutil"; 43 + description = "Modified version of Nordic's nrfutil 0.5.x for use with the Adafruit Feather nRF52"; 44 + license = licenses.bsd3; 45 + maintainers = with maintainers; [ stargate01 ]; 46 + }; 47 + }
-62
pkgs/development/python-modules/adafruit-nrfutil/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , fetchFromGitHub 4 - , fetchpatch 5 - , pythonOlder 6 - , pyserial 7 - , click 8 - , ecdsa 9 - , behave 10 - , nose 11 - }: 12 - 13 - buildPythonPackage rec { 14 - pname = "adafruit-nrfutil"; 15 - version = "1"; 16 - format = "setuptools"; 17 - 18 - disabled = pythonOlder "3.7"; 19 - 20 - src = fetchFromGitHub { 21 - owner = "adafruit"; 22 - repo = "Adafruit_nRF52_nrfutil"; 23 - rev = "refs/tags/appveyor-test-release-${version}"; 24 - hash = "sha256-wsspDg8XwEtJwJye6Z3TXaIN1TcfI7gYDah3L/xiiLo="; 25 - }; 26 - 27 - patches = [ 28 - # Pull a patch which fixes the tests, but is not yet released in a new version: 29 - # https://github.com/adafruit/Adafruit_nRF52_nrfutil/pull/38 30 - (fetchpatch { 31 - name = "fix-tests.patch"; 32 - url = "https://github.com/adafruit/Adafruit_nRF52_nrfutil/commit/e5fbcc8ee5958041db38c04139ba686bf7d1b845.patch"; 33 - hash = "sha256-0tbJldGtYcDdUzA3wZRv0lenXVn6dqV016U9nMpQ6/w="; 34 - }) 35 - ]; 36 - 37 - propagatedBuildInputs = [ 38 - pyserial 39 - click 40 - ecdsa 41 - ]; 42 - 43 - nativeCheckInputs = [ 44 - behave 45 - nose 46 - ]; 47 - 48 - preCheck = '' 49 - mkdir test-reports 50 - ''; 51 - 52 - pythonImportsCheck = [ 53 - "nordicsemi" 54 - ]; 55 - 56 - meta = with lib; { 57 - homepage = "https://github.com/adafruit/Adafruit_nRF52_nrfutil"; 58 - description = "Modified version of Nordic's nrfutil 0.5.x for use with the Adafruit Feather nRF52"; 59 - license = licenses.bsd3; 60 - maintainers = with maintainers; [ stargate01 ]; 61 - }; 62 - }
+1
pkgs/top-level/python-aliases.nix
··· 35 35 mapAliases ({ 36 36 abodepy = jaraco-abode; # added 2023-02-01 37 37 acebinf = throw "acebinf has been removed because it is abandoned and broken."; # Added 2023-05-19 38 + adafruit-nrfutil = throw "adafruit-nrfutil has been promoted to a top-level attribute."; # Added 2023-11-19 38 39 aioh2 = throw "aioh2 has been removed because it is abandoned and broken."; # Added 2022-03-30 39 40 aionotify = throw "aionotify has been removed because is unmaintained and incompatible with python3.11."; # Added 2023-10-27 40 41 aiosenseme = throw "aiosenseme has been removed, because it does no longer work with the latest firmware and has become unmaintained"; # Added 2023-07-05
-2
pkgs/top-level/python-packages.nix
··· 54 54 55 55 adafruit-io = callPackage ../development/python-modules/adafruit-io { }; 56 56 57 - adafruit-nrfutil = callPackage ../development/python-modules/adafruit-nrfutil { }; 58 - 59 57 adafruit-platformdetect = callPackage ../development/python-modules/adafruit-platformdetect { }; 60 58 61 59 adafruit-pureio = callPackage ../development/python-modules/adafruit-pureio { };