mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 08:31:59 +00:00
16 lines
283 B
Nix
16 lines
283 B
Nix
{ buildPythonPackage, fetchPypi }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ansi";
|
|
version = "0.1.3";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "06y6470bzvlqys3zi2vc68rmk9n05v1ibral14gbfpgfa8fzy7pg";
|
|
};
|
|
|
|
checkPhase = ''
|
|
python -c "import ansi.color"
|
|
'';
|
|
}
|