From 17c457e47bd60e26d0c5135e0126d519cc69a653 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 14 Jan 2017 00:17:58 +0100 Subject: [PATCH] pythonPackages.twill: init at 0.9.1 --- .../python-modules/twill/default.nix | 23 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/python-modules/twill/default.nix diff --git a/pkgs/development/python-modules/twill/default.nix b/pkgs/development/python-modules/twill/default.nix new file mode 100644 index 000000000000..6d4e3cbf1df3 --- /dev/null +++ b/pkgs/development/python-modules/twill/default.nix @@ -0,0 +1,23 @@ +{ stdenv, buildPythonPackage, fetchurl, isPy3k, pythonPackages }: +buildPythonPackage rec { + name = "twill-0.9.1"; + + disabled = isPy3k; + + src = fetchurl { + url = "mirror://pypi/t/twill/${name}.tar.gz"; + sha256 = "0zmssp41cgb5sz1jym7rxy6mamb64dxq3wra1bn6snna9v653pyj"; + }; + + 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 6ec0a9606116..0186b8499fc8 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -25879,6 +25879,8 @@ in { }; }; + twill = callPackage ../development/python-modules/twill { }; + twitter = buildPythonPackage rec { name = "twitter-${version}"; version = "1.15.0";