depot/third_party/nixpkgs/pkgs/development/python-modules/readlike/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

28 lines
594 B
Nix

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