2021-03-23 19:22:30 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, cmigemo }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "percol";
|
2021-03-23 19:22:30 +00:00
|
|
|
version = "unstable-2019-07-24";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-03-23 19:22:30 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mooz";
|
|
|
|
repo = "percol";
|
|
|
|
rev = "4b28037e328da3d0fe8165c11b800cbaddcb525e";
|
|
|
|
sha256 = "07sq3517wzn04j2dzlmczmcvx3w6r7xnzz3634zgf1zi6dbr2a3g";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-03-23 19:22:30 +00:00
|
|
|
propagatedBuildInputs = [ cmigemo ];
|
|
|
|
|
|
|
|
# package has no tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "percol" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/mooz/percol";
|
|
|
|
description = "Adds flavor of interactive filtering to the traditional pipe concept of shell";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "percol";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ koral ];
|
|
|
|
};
|
|
|
|
}
|