2020-06-15 15:56:04 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy3k, nose
|
|
|
|
, lxml
|
|
|
|
, requests
|
|
|
|
, pyparsing
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "twill";
|
2020-06-15 15:56:04 +00:00
|
|
|
version = "2.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-15 15:56:04 +00:00
|
|
|
sha256 = "225e114da85555d50433a1e242ed4215fe613c30072d13fbe4c4aacf0ad53b0a";
|
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; {
|
|
|
|
homepage = "http://twill.idyll.org/";
|
|
|
|
description = "A simple scripting language for Web browsing";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ mic92 ];
|
|
|
|
};
|
|
|
|
}
|