pkgs/starlink-grpc: delete \o/

This commit is contained in:
Aaron Bieber 2024-06-26 13:13:31 -06:00
parent 088fd30af6
commit d045319336
No known key found for this signature in database
3 changed files with 0 additions and 80 deletions

View File

@ -328,8 +328,6 @@
};
openevse =
upkgs.python312Packages.callPackage ./pkgs/openevse.nix { inherit upkgs; };
starlink-grpc-core =
upkgs.python312Packages.callPackage ./pkgs/starlink-grpc.nix { inherit upkgs; };
sliding-sync =
spkgs.callPackage ./pkgs/sliding-sync.nix { inherit spkgs; };
gokrazy = upkgs.callPackage ./pkgs/gokrazy.nix { inherit upkgs; };

View File

@ -295,7 +295,6 @@ in
pyipp
pymetno
ical
(pkgs.python312Packages.callPackage ../../pkgs/starlink-grpc.nix { inherit (pkgs.home-assistant) pkgs; })
grpcio
];
customComponents = [
@ -326,7 +325,6 @@ in
"pushover"
"rest"
"snmp"
"starlink"
"zeroconf"
];
config = {

View File

@ -1,76 +0,0 @@
{ buildPythonPackage
, fetchFromGitHub
, grpc
, pytest
, pytest-grpc
, grpcio
, grpcio-reflection
, protobuf
, setuptools-scm
, typing-extensions
, ...
}:
let
yagrc = buildPythonPackage rec {
pname = "yagrc";
version = "1.1.2";
pyproject = true;
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
grpc
grpcio
grpcio-reflection
protobuf
];
nativeCheckInputs = [
pytest
pytest-grpc
];
checkPhase = ''
pytest
'';
src = fetchFromGitHub {
owner = "sparky8512";
repo = pname;
rev = "v${version}";
hash = "sha256-nqUzDJfLsI8n8UjfCuOXRG6T8ibdN6fSGPPxm5RJhQk=";
};
};
in
buildPythonPackage rec {
pname = "starlink-grpc";
version = "1.1.3";
pyproject = true;
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
grpc
grpcio
protobuf
typing-extensions
yagrc
];
postPatch = ''
cd packaging
'';
src = fetchFromGitHub {
owner = "sparky8512";
repo = "starlink-grpc-tools";
rev = "v${version}";
hash = "sha256-sb9UH+PuMYY6USNMoB2+mjjufcGf2LzUdAOLQGmpNow=";
};
}