diff --git a/pkgs/development/python-modules/readlike/default.nix b/pkgs/development/python-modules/readlike/default.nix new file mode 100644 index 000000000000..f2e3d11e7edd --- /dev/null +++ b/pkgs/development/python-modules/readlike/default.nix @@ -0,0 +1,28 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, python +}: + +buildPythonPackage rec { + pname = "readlike"; + version = "0.1.3"; + + src = fetchFromGitHub { + owner = "jangler"; + repo = "readlike"; + rev = version; + sha256 = "1mw8j8ads8hqdbz42siwpffi4wi5s33z9g14a5c2i7vxp8m68qc1"; + }; + + checkPhase = '' + ${python.interpreter} -m unittest discover -s tests + ''; + + meta = with lib; { + description = "GNU Readline-like line editing module"; + homepage = "https://github.com/jangler/readlike"; + license = licenses.mit; + maintainers = with maintainers; [ dotlambda ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 9adf1f901297..cdc571cc8863 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7313,6 +7313,8 @@ in { readchar = callPackage ../development/python-modules/readchar { }; + readlike = callPackage ../development/python-modules/readlike { }; + readme = callPackage ../development/python-modules/readme { }; readme_renderer = callPackage ../development/python-modules/readme_renderer { };