2018-06-23 14:27:58 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy3k, nose }:
|
2017-01-13 23:17:58 +00:00
|
|
|
buildPythonPackage rec {
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "twill";
|
2017-05-27 13:24:47 +01:00
|
|
|
version = "1.8.0";
|
2017-01-13 23:17:58 +00:00
|
|
|
|
|
|
|
disabled = isPy3k;
|
|
|
|
|
2018-06-23 14:27:58 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-05-27 13:24:47 +01:00
|
|
|
sha256 = "d63e8b09aa4f6645571c70cd3ba47a911abbae4d7baa4b38fc7eb72f6cfda188";
|
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
|
|
|
|
|
|
|
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; {
|
2017-01-13 23:17:58 +00:00
|
|
|
homepage = http://twill.idyll.org/;
|
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
|
|
|
};
|
|
|
|
}
|