python3Packages.abjad: drop (#523703)

This commit is contained in:
dotlambda
2026-05-24 19:09:59 +00:00
committed by GitHub
3 changed files with 1 additions and 70 deletions
@@ -1,68 +0,0 @@
{
lib,
buildPythonPackage,
fetchPypi,
ply,
roman,
uqbar,
pythonAtLeast,
pytestCheckHook,
lilypond,
typing-extensions,
}:
buildPythonPackage rec {
pname = "abjad";
version = "3.31";
format = "setuptools";
# see issue upstream indicating Python 3.12 support will come
# with version 3.20: https://github.com/Abjad/abjad/issues/1574
disabled = pythonAtLeast "3.12";
src = fetchPypi {
inherit pname version;
hash = "sha256-JdbQL30q/EVLEgES0JDn09f+7aWxPZi4vDX1N50mmsg=";
};
propagatedBuildInputs = [
ply
roman
uqbar
typing-extensions
];
buildInputs = [ lilypond ];
nativeCheckInputs = [ pytestCheckHook ];
postPatch = ''
substituteInPlace abjad/io.py \
--replace-fail 'lilypond_path = self.get_lilypond_path()' \
'lilypond_path = "${lilypond}/bin/lilypond"'
# general invocations of binary for IO purposes
substituteInPlace abjad/configuration.py \
--replace-fail '["lilypond"' '["${lilypond}/bin/lilypond"'
# get_lilypond_version_string
'';
pythonImportsCheck = [ "abjad" ];
meta = {
description = "GNU LilyPond wrapper for Python";
longDescription = ''
Abjad helps composers build up complex pieces of music notation in
iterative and incremental ways. Use Abjad to create a symbolic
representation of all the notes, rests, chords, tuplets, beams and slurs
in any score. Because Abjad extends the Python programming language, you
can use Abjad to make systematic changes to music as you work. Because
Abjad wraps the LilyPond music notation package, you can use Abjad to
control the typographic detail of symbols on the page.
'';
license = lib.licenses.mit;
homepage = "https://abjad.github.io/";
changelog = "https://abjad.github.io/appendices/changes.html";
maintainers = [ ];
};
}
+1
View File
@@ -75,6 +75,7 @@ mapAliases {
fetchPypi = super.pkgs.fetchPypi; # added 2023-05-25, too many usages
# keep-sorted start case=no numeric=yes
abjad = throw "'abjad' was removed due to lack of maintenance"; # Added 2026-03-24
abodepy = throw "'abodepy' has been renamed to/replaced by 'jaraco-abode'"; # Converted to throw 2025-10-29
aioinflux = throw "'aioinflux' was removed because it is abandonned upstream. For InfluxDB v2+ support, please use the official Python client library"; # Added 2026-01-15
aiosenz = throw "aiosenz was removed because Home Assistant switched to pysenz"; # added 2025-12-29
-2
View File
@@ -37,8 +37,6 @@ self: super: with self; {
aardwolf = callPackage ../development/python-modules/aardwolf { };
abjad = callPackage ../development/python-modules/abjad { };
about-time = callPackage ../development/python-modules/about-time { };
absl-py = callPackage ../development/python-modules/absl-py { };