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";