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

32 lines
708 B
Nix
Raw Normal View History

2020-06-11 13:01:09 +01:00
{ lib, buildPythonPackage, fetchPypi, isPy3k, nose
, lxml
, requests
, pyparsing
}:
2017-01-13 23:17:58 +00:00
buildPythonPackage rec {
pname = "twill";
2021-03-24 09:28:31 +00:00
version = "3.0";
2017-01-13 23:17:58 +00:00
src = fetchPypi {
inherit pname version;
2021-03-24 09:28:31 +00:00
sha256 = "01770eddb34f5fe6ee59992b84619968885d359ad3d6d9191e8ba8eec93482aa";
2017-01-13 23:17:58 +00:00
};
checkInputs = [ nose ];
2017-01-13 23:17:58 +00:00
2020-06-11 13:01:09 +01:00
propagatedBuildInputs = [
lxml
requests
pyparsing
];
2017-01-13 23:17:58 +00:00
doCheck = false; # pypi package comes without tests, other homepage does not provide all verisons
meta = with lib; {
homepage = "https://twill-tools.github.io/twill/";
description = "A simple scripting language for Web browsing";
2017-01-13 23:17:58 +00:00
license = licenses.mit;
maintainers = with maintainers; [ mic92 ];
2017-01-13 23:17:58 +00:00
};
}