mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
adafruit-nrfutil: migrate from python package set
We only keep libraries in the python package set, not applications.
This commit is contained in:
parent
25b859ae0e
commit
50ddafc931
@ -1,21 +1,9 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, python3Packages
|
||||
, fetchFromGitHub
|
||||
|
||||
# build-system
|
||||
, setuptools
|
||||
|
||||
# dependencies
|
||||
, pyserial
|
||||
, click
|
||||
, ecdsa
|
||||
|
||||
# tests
|
||||
, behave
|
||||
, nose
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "adafruit-nrfutil";
|
||||
version = "0.5.3.post17";
|
||||
pyproject = true;
|
||||
@ -27,17 +15,17 @@ buildPythonPackage rec {
|
||||
hash = "sha256-mHHKOQE9AGBX8RAyaPOy+JS3fTs98+AFdq9qsVy7go4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
nativeBuildInputs = with python3Packages; [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
click
|
||||
ecdsa
|
||||
pyserial
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
behave
|
||||
nose
|
||||
];
|
@ -35,6 +35,7 @@ in
|
||||
mapAliases ({
|
||||
abodepy = jaraco-abode; # added 2023-02-01
|
||||
acebinf = throw "acebinf has been removed because it is abandoned and broken."; # Added 2023-05-19
|
||||
adafruit-nrfutil = throw "adafruit-nrfutil has been promoted to a top-level attribute."; # Added 2023-11-19
|
||||
aioh2 = throw "aioh2 has been removed because it is abandoned and broken."; # Added 2022-03-30
|
||||
aionotify = throw "aionotify has been removed because is unmaintained and incompatible with python3.11."; # Added 2023-10-27
|
||||
aiosenseme = throw "aiosenseme has been removed, because it does no longer work with the latest firmware and has become unmaintained"; # Added 2023-07-05
|
||||
|
@ -54,8 +54,6 @@ self: super: with self; {
|
||||
|
||||
adafruit-io = callPackage ../development/python-modules/adafruit-io { };
|
||||
|
||||
adafruit-nrfutil = callPackage ../development/python-modules/adafruit-nrfutil { };
|
||||
|
||||
adafruit-platformdetect = callPackage ../development/python-modules/adafruit-platformdetect { };
|
||||
|
||||
adafruit-pureio = callPackage ../development/python-modules/adafruit-pureio { };
|
||||
|
Loading…
Reference in New Issue
Block a user