From ffb6c50b2039bc06fd0ed86a6a43275cf65fe129 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 28 Sep 2016 23:22:16 +0200 Subject: [PATCH] path-and-address: enable tests --- pkgs/top-level/python-packages.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 8600fe89b9cf..4430583ba580 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8008,9 +8008,15 @@ in modules // { version = "2.0.1"; name = "path-and-address-${version}"; - src = pkgs.fetchurl { - url = "https://files.pythonhosted.org/packages/2b/b5/749fab14d9e84257f3b0583eedb54e013422b6c240491a4ae48d9ea5e44f/${name}.zip"; - sha256 = "1dviac24s0gm7ka2fwjjb25j9l2idc45zkgl662xx8mkhbcn6qz9"; + buildInputs = with self; [ pytest ]; + + checkPhase = "py.test"; + + src = pkgs.fetchFromGitHub { + owner = "joeyespo"; + repo = "path-and-address"; + rev = "v${version}"; + sha256 = "0b0afpsaim06mv3lhbpm8fmawcraggc11jhzr6h72kdj1cqjk5h6"; }; meta = { @@ -8020,7 +8026,7 @@ in modules // { maintainers = with maintainers; [ koral]; }; }; - + pdfminer = buildPythonPackage rec { version = "20140328";