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