···11-{ lib
22-, buildPythonPackage
33-, fetchFromGitHub
44-, fetchpatch
55-, pythonOlder
66-, pyserial
77-, click
88-, ecdsa
99-, behave
1010-, nose
1111-}:
1212-1313-buildPythonPackage rec {
1414- pname = "adafruit-nrfutil";
1515- version = "1";
1616- format = "setuptools";
1717-1818- disabled = pythonOlder "3.7";
1919-2020- src = fetchFromGitHub {
2121- owner = "adafruit";
2222- repo = "Adafruit_nRF52_nrfutil";
2323- rev = "refs/tags/appveyor-test-release-${version}";
2424- hash = "sha256-wsspDg8XwEtJwJye6Z3TXaIN1TcfI7gYDah3L/xiiLo=";
2525- };
2626-2727- patches = [
2828- # Pull a patch which fixes the tests, but is not yet released in a new version:
2929- # https://github.com/adafruit/Adafruit_nRF52_nrfutil/pull/38
3030- (fetchpatch {
3131- name = "fix-tests.patch";
3232- url = "https://github.com/adafruit/Adafruit_nRF52_nrfutil/commit/e5fbcc8ee5958041db38c04139ba686bf7d1b845.patch";
3333- hash = "sha256-0tbJldGtYcDdUzA3wZRv0lenXVn6dqV016U9nMpQ6/w=";
3434- })
3535- ];
3636-3737- propagatedBuildInputs = [
3838- pyserial
3939- click
4040- ecdsa
4141- ];
4242-4343- nativeCheckInputs = [
4444- behave
4545- nose
4646- ];
4747-4848- preCheck = ''
4949- mkdir test-reports
5050- '';
5151-5252- pythonImportsCheck = [
5353- "nordicsemi"
5454- ];
5555-5656- meta = with lib; {
5757- homepage = "https://github.com/adafruit/Adafruit_nRF52_nrfutil";
5858- description = "Modified version of Nordic's nrfutil 0.5.x for use with the Adafruit Feather nRF52";
5959- license = licenses.bsd3;
6060- maintainers = with maintainers; [ stargate01 ];
6161- };
6262-}
+1
pkgs/top-level/python-aliases.nix
···3535mapAliases ({
3636 abodepy = jaraco-abode; # added 2023-02-01
3737 acebinf = throw "acebinf has been removed because it is abandoned and broken."; # Added 2023-05-19
3838+ adafruit-nrfutil = throw "adafruit-nrfutil has been promoted to a top-level attribute."; # Added 2023-11-19
3839 aioh2 = throw "aioh2 has been removed because it is abandoned and broken."; # Added 2022-03-30
3940 aionotify = throw "aionotify has been removed because is unmaintained and incompatible with python3.11."; # Added 2023-10-27
4041 aiosenseme = throw "aiosenseme has been removed, because it does no longer work with the latest firmware and has become unmaintained"; # Added 2023-07-05