diff --git a/pkgs/development/python-modules/percol/default.nix b/pkgs/development/python-modules/percol/default.nix index eddf58e559d..58e7aff5601 100644 --- a/pkgs/development/python-modules/percol/default.nix +++ b/pkgs/development/python-modules/percol/default.nix @@ -1,25 +1,26 @@ -{ lib, buildPythonPackage, fetchPypi, isPy3k -, six -}: +{ lib, buildPythonPackage, fetchFromGitHub, cmigemo }: buildPythonPackage rec { pname = "percol"; - version = "0.2.1"; - disabled = isPy3k; + version = "unstable-2019-07-24"; - src = fetchPypi { - inherit pname version; - sha256 = "7a649c6fae61635519d12a6bcacc742241aad1bff3230baef2cedd693ed9cfe8"; + src = fetchFromGitHub { + owner = "mooz"; + repo = "percol"; + rev = "4b28037e328da3d0fe8165c11b800cbaddcb525e"; + sha256 = "07sq3517wzn04j2dzlmczmcvx3w6r7xnzz3634zgf1zi6dbr2a3g"; }; - propagatedBuildInputs = [ six ]; + propagatedBuildInputs = [ cmigemo ]; + + # package has no tests + doCheck = false; + pythonImportsCheck = [ "percol" ]; meta = with lib; { homepage = "https://github.com/mooz/percol"; description = "Adds flavor of interactive filtering to the traditional pipe concept of shell"; license = licenses.mit; maintainers = with maintainers; [ koral ]; - broken = true; # missing cmigemo package which is missing libmigemo.so - # also doesn't support python3 }; }