Merge branch 'master' into staging-next
This commit is contained in:
commit
01e4b493de
6 changed files with 92 additions and 10 deletions
37
pkgs/development/python-modules/angrop/default.nix
Normal file
37
pkgs/development/python-modules/angrop/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, angr
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, progressbar
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "angrop";
|
||||
version = "9.0.6790";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "angr";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "16r22ajkj8sxbgsym0i85xdjvphgf1566p5s7d915kkj37qdrrpy";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
angr
|
||||
progressbar
|
||||
];
|
||||
|
||||
# Tests have additional requirements, e.g., angr binaries
|
||||
# cle is executing the tests with the angr binaries already and is a requirement of angr
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "angrop" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "ROP gadget finder and chain builder";
|
||||
homepage = "https://github.com/angr/angrop";
|
||||
license = with licenses; [ bsd2 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
36
pkgs/development/python-modules/pydroid-ipcam/default.nix
Normal file
36
pkgs/development/python-modules/pydroid-ipcam/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, yarl
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pydroid-ipcam";
|
||||
version = "unstable-2021-04-16";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "home-assistant-libs";
|
||||
repo = pname;
|
||||
rev = "9f22682c6f9182aa5e42762f52223337b8b6909c";
|
||||
sha256 = "1lvppyzmwg0fp8zch11j51an4sb074yl9shzanakvjmbqpnif6s6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
yarl
|
||||
];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "pydroid_ipcam" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for Android IP Webcam";
|
||||
homepage = "https://github.com/home-assistant-libs/pydroid-ipcam";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -14,11 +14,11 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "tqdm";
|
||||
version = "4.59.0";
|
||||
version = "4.60.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d666ae29164da3e517fcf125e41d4fe96e5bb375cd87ff9763f6b38b5592fe33";
|
||||
sha256 = "ebdebdb95e3477ceea267decfc0784859aa3df3e27e22d23b83e9b272bf157ae";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -39,14 +39,19 @@ buildPythonPackage rec {
|
|||
|
||||
# Remove performance testing.
|
||||
# Too sensitive for on Hydra.
|
||||
PYTEST_ADDOPTS = "-k \"not perf\"";
|
||||
disabledTests = [
|
||||
"perf"
|
||||
];
|
||||
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
||||
meta = {
|
||||
pythonImportsCheck = [ "tqdm" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Fast, Extensible Progress Meter";
|
||||
homepage = "https://github.com/tqdm/tqdm";
|
||||
license = with lib.licenses; [ mit ];
|
||||
maintainers = with lib.maintainers; [ fridh ];
|
||||
changelog = "https://tqdm.github.io/releases/";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fridh ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "dockle";
|
||||
version = "0.3.11";
|
||||
version = "0.3.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "goodwithtech";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-TAV+bdHURclrwM0ByfbM2S4GdAnHrwclStyUlGraOpw=";
|
||||
sha256 = "sha256-U0nIGuQ4QjBaCck0Kg1RTS2IQwfivN3VI5vxh8lxAYE=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-npbUE3ch8TamW0aikdKuFElE4YDRKwNVUscuvmlQxl4=";
|
||||
vendorSha256 = "sha256-uHHm4AgnjTdPgpu3OpXXIRzrGhkpOoRY8qynfl7DO6w=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ btrfs-progs lvm2 ];
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
"amcrest" = ps: with ps; [ amcrest ha-ffmpeg ];
|
||||
"ampio" = ps: with ps; [ ]; # missing inputs: asmog
|
||||
"analytics" = ps: with ps; [ aiohttp-cors ];
|
||||
"android_ip_webcam" = ps: with ps; [ ]; # missing inputs: pydroid-ipcam
|
||||
"android_ip_webcam" = ps: with ps; [ pydroid-ipcam ];
|
||||
"androidtv" = ps: with ps; [ adb-shell androidtv pure-python-adb ];
|
||||
"anel_pwrctrl" = ps: with ps; [ ]; # missing inputs: anel_pwrctrl-homeassistant
|
||||
"anthemav" = ps: with ps; [ ]; # missing inputs: anthemav
|
||||
|
|
|
@ -393,6 +393,8 @@ in {
|
|||
|
||||
angr = callPackage ../development/python-modules/angr { };
|
||||
|
||||
angrop = callPackage ../development/python-modules/angrop { };
|
||||
|
||||
aniso8601 = callPackage ../development/python-modules/aniso8601 { };
|
||||
|
||||
annexremote = callPackage ../development/python-modules/annexremote { };
|
||||
|
@ -5423,6 +5425,8 @@ in {
|
|||
|
||||
pydrive = callPackage ../development/python-modules/pydrive { };
|
||||
|
||||
pydroid-ipcam = callPackage ../development/python-modules/pydroid-ipcam { };
|
||||
|
||||
pydsdl = callPackage ../development/python-modules/pydsdl { };
|
||||
|
||||
pydub = callPackage ../development/python-modules/pydub { };
|
||||
|
|
Loading…
Reference in a new issue