mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
29 lines
717 B
Nix
29 lines
717 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, six, wcwidth, pytest, mock
|
|
, glibcLocales }:
|
|
|
|
buildPythonPackage rec {
|
|
name = "${pname}-${version}";
|
|
pname = "blessed";
|
|
version = "1.14.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0fv9f0074kxy1849h0kwwxw12sifpq3bv63pcz900zzjsigi4hi3";
|
|
};
|
|
|
|
checkInputs = [ pytest mock glibcLocales ];
|
|
|
|
checkPhase = ''
|
|
LANG=en_US.utf-8 py.test blessed/tests
|
|
'';
|
|
|
|
propagatedBuildInputs = [ wcwidth six ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/jquast/blessed;
|
|
description = "A thin, practical wrapper around terminal capabilities in Python.";
|
|
maintainers = with maintainers; [ eqyiel ];
|
|
license = licenses.mit;
|
|
};
|
|
}
|