mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-20 20:03:24 +00:00
Merge pull request #307768 from fabaff/twill-bump
python312Packages.quixote: init at 3.6, python312Packages.twill: 3.2.3 -> 3.2.4
This commit is contained in:
commit
50fa993519
40
pkgs/development/python-modules/quixote/default.nix
Normal file
40
pkgs/development/python-modules/quixote/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "quixote";
|
||||
version = "3.6";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "Quixote";
|
||||
inherit version;
|
||||
hash = "sha256-78t6tznI3+vIRkWNi0HDPGhR8aGaET3IMXQvmAPdSSY=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "quixote" ];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Test has additional requirements
|
||||
"quixote/ptl/test/test_ptl.py"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A small and flexible Python Web application framework";
|
||||
homepage = "https://pypi.org/project/Quixote/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -1,40 +1,57 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, lxml
|
||||
, requests
|
||||
, pyparsing
|
||||
, pythonOlder
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
httpx,
|
||||
lxml,
|
||||
pyparsing,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
pythonRelaxDepsHook,
|
||||
quixote,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "twill";
|
||||
version = "3.2.3";
|
||||
format = "setuptools";
|
||||
version = "3.2.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-m4jrxx7udWkRXzYS0Yfd14tKVHt8kGYPn2eTa4unOdc=";
|
||||
hash = "sha256-YlZKvOGxLWwGh+MqCXf8tfruxLK60H73k1VQhGOSTc8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pythonRelaxDeps = [ "lxml" ];
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
||||
|
||||
dependencies = [
|
||||
httpx
|
||||
lxml
|
||||
requests
|
||||
pyparsing
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"twill"
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
quixote
|
||||
];
|
||||
|
||||
# pypi package comes without tests, other homepage does not provide all verisons
|
||||
doCheck = false;
|
||||
disabledTestPaths = [
|
||||
# pytidylib is abandoned
|
||||
"tests/test_tidy.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "twill" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple scripting language for Web browsing";
|
||||
homepage = "https://twill-tools.github.io/twill/";
|
||||
changelog = "https://github.com/twill-tools/twill/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mic92 ];
|
||||
};
|
||||
|
@ -12899,6 +12899,8 @@ self: super: with self; {
|
||||
|
||||
quil = callPackage ../development/python-modules/quil { };
|
||||
|
||||
quixote = callPackage ../development/python-modules/quixote { };
|
||||
|
||||
qutip = callPackage ../development/python-modules/qutip { };
|
||||
|
||||
qmk-dotty-dict = callPackage ../development/python-modules/qmk-dotty-dict { };
|
||||
|
Loading…
Reference in New Issue
Block a user