Merge pull request #292805 from fabaff/ready-check
ready-check: init at 1.2.5
This commit is contained in:
commit
91480fcfd7
40
pkgs/by-name/re/ready-check/package.nix
Normal file
40
pkgs/by-name/re/ready-check/package.nix
Normal file
@ -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";
|
||||
};
|
||||
}
|
37
pkgs/development/python-modules/thttp/default.nix
Normal file
37
pkgs/development/python-modules/thttp/default.nix
Normal file
@ -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; };
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user