depot/third_party/nixpkgs/pkgs/development/python-modules/readlike/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

33 lines
653 B
Nix

{
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 = with lib; {
description = "GNU Readline-like line editing module";
homepage = "https://github.com/jangler/readlike";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}