pythonPackages.readchar: init at 2.0.0
This commit is contained in:
parent
14ebdbb3d9
commit
195935f626
24
pkgs/development/python-modules/readchar/default.nix
Normal file
24
pkgs/development/python-modules/readchar/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchFromGitHub, flake8, pytest, pytestcov, pexpect }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "readchar";
|
||||||
|
version = "2.0.0";
|
||||||
|
|
||||||
|
# Don't use wheels on PyPI
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "magmax";
|
||||||
|
repo = "python-${pname}";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0j1vj4f2j8x5f40rs6h8qplklcxcdbvkkvjpkpmr1xagw05i12bm";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ flake8 ];
|
||||||
|
checkInputs = [ pytest pytestcov pexpect ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = "https://github.com/magmax/python-readchar";
|
||||||
|
description = "Python library to read characters and key strokes";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = [ maintainers.mmahut ];
|
||||||
|
};
|
||||||
|
}
|
@ -4254,6 +4254,8 @@ in {
|
|||||||
|
|
||||||
readme_renderer = callPackage ../development/python-modules/readme_renderer { };
|
readme_renderer = callPackage ../development/python-modules/readme_renderer { };
|
||||||
|
|
||||||
|
readchar = callPackage ../development/python-modules/readchar { };
|
||||||
|
|
||||||
rivet = disabledIf isPy3k (toPythonModule (pkgs.rivet.override {
|
rivet = disabledIf isPy3k (toPythonModule (pkgs.rivet.override {
|
||||||
python2 = python;
|
python2 = python;
|
||||||
}));
|
}));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user