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