mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 09:13:17 +00:00
22 lines
449 B
Nix
22 lines
449 B
Nix
{ lib, buildPythonPackage, fetchPypi }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ansi";
|
|
version = "0.1.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "02sknsbx55r6nylznslmmzzkfi3rsw7akpyzi6f1bqvr2ila8p0f";
|
|
};
|
|
|
|
checkPhase = ''
|
|
python -c "import ansi.color"
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "ANSI cursor movement and graphics";
|
|
homepage = "https://github.com/tehmaze/ansi/";
|
|
license = licenses.mit;
|
|
};
|
|
}
|