2020-06-11 13:01:09 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy3k, nose
|
|
|
|
, lxml
|
|
|
|
, requests
|
|
|
|
, pyparsing
|
|
|
|
}:
|
2017-01-13 23:17:58 +00:00
|
|
|
buildPythonPackage rec {
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "twill";
|
2021-02-20 09:09:18 +00:00
|
|
|
version = "2.0.2";
|
2017-01-13 23:17:58 +00:00
|
|
|
|
2018-06-23 14:27:58 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-20 09:09:18 +00:00
|
|
|
sha256 = "fc694ac1cb0616cfba2f9db4720e9d354bf656c318e21ef604a7e3caaef83d10";
|
2017-01-13 23:17:58 +00:00
|
|
|
};
|
|
|
|
|
2018-06-23 14:27:58 +01:00
|
|
|
checkInputs = [ nose ];
|
2017-01-13 23:17:58 +00:00
|
|
|
|
2020-06-11 13:01:09 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
lxml
|
|
|
|
requests
|
|
|
|
pyparsing
|
|
|
|
];
|
|
|
|
|
2017-01-13 23:17:58 +00:00
|
|
|
doCheck = false; # pypi package comes without tests, other homepage does not provide all verisons
|
|
|
|
|
2018-06-23 14:27:58 +01:00
|
|
|
meta = with lib; {
|
2020-07-28 10:20:00 +01:00
|
|
|
homepage = "https://twill-tools.github.io/twill/";
|
2018-06-23 14:27:58 +01:00
|
|
|
description = "A simple scripting language for Web browsing";
|
2017-01-13 23:17:58 +00:00
|
|
|
license = licenses.mit;
|
2017-01-19 15:48:27 +00:00
|
|
|
maintainers = with maintainers; [ mic92 ];
|
2017-01-13 23:17:58 +00:00
|
|
|
};
|
|
|
|
}
|