python310Packages.art: init at 5.9
https://github.com/sepandhaghighi/art
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "art";
|
||||
version = "5.9";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sepandhaghighi";
|
||||
repo = "art";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-3fX0kYYyeJ9tHX8/+hlv5aRE6LujXW915N5Ov6Q+EW8=";
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "art" ];
|
||||
|
||||
# TypeError: art() missing 1 required positional argument: 'artname'
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
$out/bin/art
|
||||
$out/bin/art test
|
||||
$out/bin/art test2
|
||||
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "ASCII art library for Python";
|
||||
homepage = "https://github.com/sepandhaghighi/art";
|
||||
changelog = "https://github.com/sepandhaghighi/art/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
};
|
||||
}
|
||||
@@ -628,6 +628,8 @@ self: super: with self; {
|
||||
|
||||
arsenic = callPackage ../development/python-modules/arsenic { };
|
||||
|
||||
art = callPackage ../development/python-modules/art { };
|
||||
|
||||
arviz = callPackage ../development/python-modules/arviz { };
|
||||
|
||||
arxiv2bib = callPackage ../development/python-modules/arxiv2bib { };
|
||||
|
||||
Reference in New Issue
Block a user