summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/readlike/default.nix
blob: 093dbfe508f8509f95040fd868e85a8051ca2a9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  unittestCheckHook,
}:

buildPythonPackage rec {
  pname = "readlike";
  version = "0.1.3";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "jangler";
    repo = "readlike";
    rev = version;
    sha256 = "1mw8j8ads8hqdbz42siwpffi4wi5s33z9g14a5c2i7vxp8m68qc1";
  };

  nativeCheckInputs = [ unittestCheckHook ];

  unittestFlagsArray = [
    "-s"
    "tests"
  ];

  meta = {
    description = "GNU Readline-like line editing module";
    homepage = "https://github.com/jangler/readlike";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ dotlambda ];
  };
}