2017-01-13 23:17:58 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchurl, isPy3k, pythonPackages }:
|
|
|
|
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-05-27 10:25:35 +01:00
|
|
|
name = "${pname}-${version}";
|
2017-01-13 23:17:58 +00:00
|
|
|
|
|
|
|
disabled = isPy3k;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/t/twill/${name}.tar.gz";
|
2017-05-27 13:24:47 +01:00
|
|
|
sha256 = "d63e8b09aa4f6645571c70cd3ba47a911abbae4d7baa4b38fc7eb72f6cfda188";
|
2017-01-13 23:17:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with pythonPackages; [ nose ];
|
|
|
|
|
|
|
|
doCheck = false; # pypi package comes without tests, other homepage does not provide all verisons
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://twill.idyll.org/;
|
|
|
|
description = "a simple scripting language for Web browsing";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
2017-01-19 15:48:27 +00:00
|
|
|
maintainers = with maintainers; [ mic92 ];
|
2017-01-13 23:17:58 +00:00
|
|
|
};
|
|
|
|
}
|