{python3Packages.,lib}dynd: drop (#502867)
This commit is contained in:
@@ -1,50 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "libdynd";
|
||||
version = "0.7.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "libdynd";
|
||||
repo = "libdynd";
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = "0fkd5rawqni1cq51fmr76iw7ll4fmbahfwv4rglnsabbkylf73pr";
|
||||
};
|
||||
|
||||
cmakeFlags = [
|
||||
"-DDYND_BUILD_BENCHMARKS=OFF"
|
||||
];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = toString [
|
||||
# added to fix build with gcc7+
|
||||
"-Wno-error=implicit-fallthrough"
|
||||
"-Wno-error=nonnull"
|
||||
"-Wno-error=tautological-compare"
|
||||
"-Wno-error=class-memaccess"
|
||||
"-Wno-error=parentheses"
|
||||
"-Wno-error=deprecated-copy"
|
||||
# Needed with GCC 12
|
||||
"-Wno-error=deprecated-declarations"
|
||||
"-Wno-error=maybe-uninitialized"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"dev"
|
||||
];
|
||||
outputDoc = "dev";
|
||||
|
||||
meta = {
|
||||
description = "C++ dynamic ndarray library, with Python exposure";
|
||||
homepage = "http://libdynd.org";
|
||||
license = lib.licenses.bsd2;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
||||
@@ -1,69 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
cython,
|
||||
numpy,
|
||||
libdynd,
|
||||
fetchpatch,
|
||||
cmake,
|
||||
fetchFromGitHub,
|
||||
pythonAtLeast,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.7.2";
|
||||
format = "setuptools";
|
||||
pname = "dynd";
|
||||
|
||||
disabled = pythonAtLeast "3.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "libdynd";
|
||||
repo = "dynd-python";
|
||||
rev = "v${version}";
|
||||
sha256 = "19igd6ibf9araqhq9bxmzbzdz05vp089zxvddkiik3b5gb7l17nh";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix numpy compatibility
|
||||
# https://github.com/libdynd/dynd-python/issues/746
|
||||
(fetchpatch {
|
||||
url = "https://aur.archlinux.org/cgit/aur.git/plain/numpy-compatibility.patch?h=python-dynd&id=e626acabd041069861311f314ac3dbe9e6fd24b7";
|
||||
sha256 = "sha256-oA/3G8CGeDhiYXbNX+G6o3QSb7rkKItuCDCbnK3Rt10=";
|
||||
name = "numpy-compatibility.patch";
|
||||
})
|
||||
];
|
||||
|
||||
# setup.py invokes git on build but we're fetching a tarball, so
|
||||
# can't retrieve git version. We hardcode:
|
||||
preConfigure = ''
|
||||
substituteInPlace setup.py --replace "ver = check_output(['git', 'describe', '--dirty'," "ver = '${version}'"
|
||||
substituteInPlace setup.py --replace "'--always', '--match', 'v*']).decode('ascii').strip('\n')" ""
|
||||
'';
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
buildInputs = [
|
||||
cython
|
||||
libdynd.dev
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
libdynd
|
||||
numpy
|
||||
];
|
||||
|
||||
# ModuleNotFoundError: No module named 'dynd.config'
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "dynd" ];
|
||||
|
||||
meta = {
|
||||
homepage = "http://libdynd.org";
|
||||
license = lib.licenses.bsd2;
|
||||
description = "Python exposure of dynd";
|
||||
maintainers = with lib.maintainers; [ teh ];
|
||||
};
|
||||
}
|
||||
@@ -1041,6 +1041,7 @@ mapAliases {
|
||||
libdevil = throw "libdevil has been removed, as it was unmaintained in Nixpkgs and upstream since 2017"; # Added 2025-09-16
|
||||
libdevil-nox = throw "libdevil has been removed, as it was unmaintained in Nixpkgs and upstream since 2017"; # Added 2025-09-16
|
||||
libdwarf-lite = throw "`libdwarf-lite` has been replaced by `libdwarf` as it's mostly a mirror"; # Added 2025-06-16
|
||||
libdynd = throw "'libdynd' has been removed due to lack of maintenance"; # Added 2026-03-24
|
||||
libertine-g = warnAlias "'libertine-g' has been renamed to 'linux-libertine-g'" linux-libertine-g; # Added 2026-02-20
|
||||
libevdevplus = throw "'libevdevplus' has been removed, as it was unmaintained upstream since 2021, no longer builds, and is no longer used by anything"; # Added 2025-11-02
|
||||
libfakeXinerama = warnAlias "'libfakeXinerama' has been renamed to 'libfakexinerama'" libfakexinerama; # Added 2026-02-08
|
||||
|
||||
@@ -185,6 +185,7 @@ mapAliases {
|
||||
dogpile_cache = throw "'dogpile_cache' has been renamed to/replaced by 'dogpile-cache'"; # Converted to throw 2025-10-29
|
||||
duckduckgo-search = throw "duckduckgo-search was renamed to ddgs, use ddgs instead"; # added 2025-10-20
|
||||
dukpy = throw "'dukpy' was removed as the only consumer pyload-ng was removed"; # added 2026-03-21
|
||||
dynd = throw "'dynd' has been removed due to lack of maintenance"; # added 2026-03-24
|
||||
easyeda2ato = throw "easyeda2ato as been removed in favor of atopile-easyda2kicad"; # added 2025-06-08
|
||||
EasyProcess = throw "'EasyProcess' has been renamed to/replaced by 'easyprocess'"; # Converted to throw 2025-10-29
|
||||
editdistance-s = throw "editdistance-s has been removed since it was added solely for the identity package, which has moved on to ukkonen"; # added 2025-08-04
|
||||
|
||||
@@ -4819,8 +4819,6 @@ self: super: with self; {
|
||||
|
||||
dynalite-panel = callPackage ../development/python-modules/dynalite-panel { };
|
||||
|
||||
dynd = callPackage ../development/python-modules/dynd { };
|
||||
|
||||
e2b = callPackage ../development/python-modules/e2b { };
|
||||
|
||||
e2b-code-interpreter = callPackage ../development/python-modules/e2b-code-interpreter { };
|
||||
|
||||
Reference in New Issue
Block a user