nixpkgs/pkgs/development/python-modules/twill/default.nix
2024-03-12 18:25:00 +01:00

41 lines
770 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, lxml
, requests
, pyparsing
, pythonOlder
}:
buildPythonPackage rec {
pname = "twill";
version = "3.2.3";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-m4jrxx7udWkRXzYS0Yfd14tKVHt8kGYPn2eTa4unOdc=";
};
propagatedBuildInputs = [
lxml
requests
pyparsing
];
pythonImportsCheck = [
"twill"
];
# pypi package comes without tests, other homepage does not provide all verisons
doCheck = false;
meta = with lib; {
description = "A simple scripting language for Web browsing";
homepage = "https://twill-tools.github.io/twill/";
license = licenses.mit;
maintainers = with maintainers; [ mic92 ];
};
}