2021-12-06 16:07:01 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, nose
|
2020-06-15 15:56:04 +00:00
|
|
|
, lxml
|
|
|
|
, requests
|
|
|
|
, pyparsing
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "twill";
|
2021-12-19 01:06:50 +00:00
|
|
|
version = "3.0.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-19 01:06:50 +00:00
|
|
|
sha256 = "57cde4c3a2265f1a14d80007aa4f66c2135d509555499e9b156d2b4cf5048c2c";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
|
2020-06-15 15:56:04 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
lxml
|
|
|
|
requests
|
|
|
|
pyparsing
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
doCheck = false; # pypi package comes without tests, other homepage does not provide all verisons
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-08-20 17:08:02 +00:00
|
|
|
homepage = "https://twill-tools.github.io/twill/";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A simple scripting language for Web browsing";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ mic92 ];
|
|
|
|
};
|
|
|
|
}
|