mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
sdkmanager: init at 0.6.5
This commit is contained in:
parent
507f9c4d85
commit
998f085ff9
45
pkgs/development/python-modules/sdkmanager/default.nix
Normal file
45
pkgs/development/python-modules/sdkmanager/default.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitLab
|
||||
, pythonOlder
|
||||
, argcomplete
|
||||
, requests
|
||||
, gnupg
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sdkmanager";
|
||||
version = "0.6.5";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "fdroid";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-EQ24OjQZr42C1PFtIXr4yFzYb/M4Tatqu8Zo+9dgtEE=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
argcomplete
|
||||
requests
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/sdkmanager \
|
||||
--suffix PATH : ${lib.makeBinPath [ gnupg ]}
|
||||
'';
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "sdkmanager" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://gitlab.com/fdroid/sdkmanager";
|
||||
description = "A drop-in replacement for sdkmanager from the Android SDK written in Python";
|
||||
license = licenses.agpl3Plus;
|
||||
maintainers = with maintainers; [ linsui ];
|
||||
};
|
||||
}
|
@ -1699,6 +1699,8 @@ with pkgs;
|
||||
|
||||
sdlookup = callPackage ../tools/security/sdlookup { };
|
||||
|
||||
sdkmanager = with python3Packages; toPythonApplication sdkmanager;
|
||||
|
||||
sgrep = callPackage ../tools/text/sgrep { };
|
||||
|
||||
shell-genie = callPackage ../applications/misc/shell-genie { };
|
||||
|
@ -10900,6 +10900,8 @@ self: super: with self; {
|
||||
|
||||
sdds = callPackage ../development/python-modules/sdds { };
|
||||
|
||||
sdkmanager = callPackage ../development/python-modules/sdkmanager { };
|
||||
|
||||
sdnotify = callPackage ../development/python-modules/sdnotify { };
|
||||
|
||||
seaborn = callPackage ../development/python-modules/seaborn { };
|
||||
|
Loading…
Reference in New Issue
Block a user