pythonPackages.readlike: init at 0.1.3

This commit is contained in:
Robert Schütz 2021-06-19 12:10:54 +02:00
parent ef6fa37bae
commit 6f9d7000ce
2 changed files with 30 additions and 0 deletions

View File

@ -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 ];
};
}

View File

@ -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 { };