nixpkgs/pkgs/development/python-modules/twill/default.nix

26 lines
755 B
Nix
Raw Normal View History

2017-01-14 00:17:58 +01:00
{ stdenv, buildPythonPackage, fetchurl, isPy3k, pythonPackages }:
buildPythonPackage rec {
pname = "twill";
version = "1.8.0";
name = "${pname}-${version}";
2017-01-14 00:17:58 +01:00
disabled = isPy3k;
src = fetchurl {
url = "mirror://pypi/t/twill/${name}.tar.gz";
sha256 = "d63e8b09aa4f6645571c70cd3ba47a911abbae4d7baa4b38fc7eb72f6cfda188";
2017-01-14 00:17:58 +01: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;
maintainers = with maintainers; [ mic92 ];
2017-01-14 00:17:58 +01:00
};
}