Merge pull request #292805 from fabaff/ready-check

ready-check: init at 1.2.5
This commit is contained in:
Fabian Affolter 2024-03-03 20:55:49 +01:00 committed by GitHub
commit 91480fcfd7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 79 additions and 0 deletions

@ -0,0 +1,40 @@
{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "ready-check";
version = "1.2.5";
pyproject = true;
src = fetchFromGitHub {
owner = "sesh";
repo = "ready";
rev = "refs/tags/v${version}";
hash = "sha256-eerYxpn1f+d1PQJCDlH9kD1KKlkL/dQFUpbSRcNoXlI=";
};
nativeBuildInputs = with python3.pkgs; [
setuptools
];
propagatedBuildInputs = with python3.pkgs; [
beautifulsoup4
thttp
tld
];
pythonImportsCheck = [
"ready"
];
meta = with lib; {
description = "Tool to check readiness of websites";
homepage = "https://github.com/sesh/ready";
changelog = "https://github.com/sesh/ready/releases/tag/v${version}";
license = licenses.isc;
maintainers = with maintainers; [ fab ];
mainProgram = "ready";
};
}

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, pythonOlder
}:
buildPythonPackage rec {
pname = "thttp";
version = "1.3.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "sesh";
repo = "thttp";
rev = "refs/tags/${version}";
hash = "sha256-e15QMRMpTcWo8TfH3tk23ybSlXFb8F4B/eqAp9oyK8g=";
};
nativeBuildInputs = [
setuptools
];
pythonImportsCheck = [
"thttp"
];
meta = with lib; {
description = "A lightweight wrapper around urllib";
homepage = "https://github.com/sesh/thttp";
changelog = "https://github.com/sesh/thttp/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

@ -14649,6 +14649,8 @@ self: super: with self; {
throttler = callPackage ../development/python-modules/throttler { };
thttp = callPackage ../development/python-modules/thttp { };
tkinter = callPackage ../development/python-modules/tkinter {
py = python.override { x11Support=true; };
};