mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
42 lines
770 B
Nix
42 lines
770 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, lxml
|
|
, requests
|
|
, pyparsing
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "twill";
|
|
version = "3.0.2";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-dWtrdkiR1+IBfeF9jwbOjKE2UMXDJji0iOb+USbY7zk=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|