stockholm/makefu/2configs/ham/androidtv/adbshell.nix

39 lines
691 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, cryptography
, pyasn1
, rsa
, pycryptodome
}:
buildPythonPackage rec {
pname = "adb_shell";
2020-07-01 07:41:10 +00:00
version = "0.1.3";
src = fetchPypi {
inherit pname version;
2020-07-01 07:41:10 +00:00
sha256 = "16wb8n4fsh465fjlbsxi83xpi7xklaf28s9568bsb3nkyvfvl58h";
};
propagatedBuildInputs = [
cryptography
pyasn1
rsa
];
# tests are not part of pypi package
doCheck = false;
checkInputs = [
pycryptodome
];
meta = with lib; {
description = "A Python implementation of ADB with shell and FileSync functionality";
homepage = https://github.com/JeffLIrion/adb_shell/;
license = licenses.mit;
# maintainers = [ maintainers. ];
};
}