Merge pull request #230911 from fabaff/censys-bump
python310Packages.censys: 2.2.0 -> 2.2.2, python310Packages.argcomplete: 2.1.1 -> 3.1.1
This commit is contained in:
commit
6d70eb4514
2 changed files with 21 additions and 18 deletions
|
@ -1,33 +1,33 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
, pexpect
|
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
, setuptools
|
||||||
|
, setuptools-scm
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "argcomplete";
|
pname = "argcomplete";
|
||||||
version = "2.1.1";
|
version = "3.1.1";
|
||||||
format = "setuptools";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "kislyuk";
|
||||||
hash = "sha256-cuCDQIUtMlREWcDBmq0bSKosOpbejG5XQkVrT1OMpS8=";
|
repo = pname;
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-N1Us/dpF/y638qIuwTzBiuv4vXfBMtWxmQnMBxNTUuc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
substituteInPlace setup.py \
|
|
||||||
--replace '"coverage",' "" \
|
|
||||||
--replace " + lint_require" ""
|
|
||||||
'';
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pexpect
|
setuptools
|
||||||
|
setuptools-scm
|
||||||
];
|
];
|
||||||
|
|
||||||
# tries to build and install test packages which fails
|
# Tries to build and install test packages which fails
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{ lib
|
{ lib
|
||||||
|
, argcomplete
|
||||||
, backoff
|
, backoff
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
@ -17,7 +18,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "censys";
|
pname = "censys";
|
||||||
version = "2.2.0";
|
version = "2.2.4";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
@ -26,7 +27,7 @@ buildPythonPackage rec {
|
||||||
owner = "censys";
|
owner = "censys";
|
||||||
repo = "censys-python";
|
repo = "censys-python";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-CtW6EN9oH/OIZ4XaoSuKlMYK9Mh/ewRs6y34xbfY234=";
|
hash = "sha256-gCq01lfAoKoS74C8gjj84mZpXDMtdNVaRLwhlEXwiPI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -35,6 +36,7 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
argcomplete
|
||||||
backoff
|
backoff
|
||||||
requests
|
requests
|
||||||
rich
|
rich
|
||||||
|
@ -73,6 +75,7 @@ buildPythonPackage rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python API wrapper for the Censys Search Engine (censys.io)";
|
description = "Python API wrapper for the Censys Search Engine (censys.io)";
|
||||||
homepage = "https://github.com/censys/censys-python";
|
homepage = "https://github.com/censys/censys-python";
|
||||||
|
changelog = "https://github.com/censys/censys-python/releases/tag/v${version}";
|
||||||
license = with licenses; [ asl20 ];
|
license = with licenses; [ asl20 ];
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue