1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 unittestCheckHook,
6}:
7
8buildPythonPackage rec {
9 pname = "readlike";
10 version = "0.1.3";
11 format = "setuptools";
12
13 src = fetchFromGitHub {
14 owner = "jangler";
15 repo = "readlike";
16 rev = version;
17 sha256 = "1mw8j8ads8hqdbz42siwpffi4wi5s33z9g14a5c2i7vxp8m68qc1";
18 };
19
20 nativeCheckInputs = [ unittestCheckHook ];
21
22 unittestFlagsArray = [
23 "-s"
24 "tests"
25 ];
26
27 meta = with lib; {
28 description = "GNU Readline-like line editing module";
29 homepage = "https://github.com/jangler/readlike";
30 license = licenses.mit;
31 maintainers = with maintainers; [ dotlambda ];
32 };
33}