mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
python.pkgs.ansi: move to python-modules and fix test with python3
This commit is contained in:
parent
1f1081d701
commit
69daf1235b
15
pkgs/development/python-modules/ansi/default.nix
Normal file
15
pkgs/development/python-modules/ansi/default.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{ buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ansi";
|
||||
version = "0.1.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "06y6470bzvlqys3zi2vc68rmk9n05v1ibral14gbfpgfa8fzy7pg";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
python -c "import ansi.color"
|
||||
'';
|
||||
}
|
@ -22840,15 +22840,7 @@ EOF
|
||||
doCheck = false;
|
||||
};
|
||||
|
||||
ansi = buildPythonPackage rec {
|
||||
name = "ansi-${version}";
|
||||
version = "0.1.3";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/a/ansi/${name}.tar.gz";
|
||||
sha256 = "06y6470bzvlqys3zi2vc68rmk9n05v1ibral14gbfpgfa8fzy7pg";
|
||||
};
|
||||
};
|
||||
ansi = callPackage ../development/python-modules/ansi { };
|
||||
|
||||
pygments-markdown-lexer = buildPythonPackage rec {
|
||||
name = "pygments-markdown-lexer-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user