python3.pkgs.moku: Remove

Unusable. Upstream recommends instead utilities from
https://www.liquidinstruments.com/software/utilities/ which don't seem
opensource, and require new packaging from the bottom up.
This commit is contained in:
Doron Behar 2023-02-26 10:17:26 +02:00
parent 4ba42ffd81
commit f49ebf25d0
3 changed files with 1 additions and 59 deletions

View file

@ -1,57 +0,0 @@
{ lib
, buildPythonPackage
, fetchPypi
, zeroconf
, requests
, setuptools
}:
buildPythonPackage rec {
pname = "moku";
version = "2.6.2";
/*
Pypi's webpage <https://pypi.org/project/moku/> lists
https://github.com/liquidinstruments/moku/archive/${version}.tar.gz as the
download link, but that repository doesn't exist from some reason :/. When
packaging this, I didn't find any mention of a git repo of the sources. Note
that the pymoku <https://github.com/liquidinstruments/pymoku> repo holds the
sources of the legacy API package.
*/
src = fetchPypi {
inherit pname version;
hash = "sha256-LqHHxSWjPKhgcjBkSqMf9MKyS/4DFrIRZcaVIFzCxaQ=";
};
/*
Note: If you run `moku download` and encounter the error:
[Errno 13] Permission denied: '/nix/store/.../lib/python 3.9/site-packages/moku/data'
Then use the $MOKU_DATA_PATH environment variable to control where the
downloaded files will go to. It is undocumented upstream and there's no
repository to contribute such documentation unfortunately. Also there is no
suitable default value for this on Nix systems, so there's no patch we can
apply locally to make the situation better.
*/
propagatedBuildInputs = [
zeroconf
requests
setuptools
];
pythonImportsCheck = [
"moku"
];
meta = with lib; {
description = "Python scripting interface to the Liquid Instruments Moku";
homepage = "https://apis.liquidinstruments.com/starting-python.html";
license = licenses.mit;
maintainers = with maintainers; [ doronbehar ];
};
}

View file

@ -982,6 +982,7 @@ mapAliases ({
moby = throw "moby has been removed, merged into linuxkit in 2018. Use linuxkit instead";
module_init_tools = throw "'module_init_tools' has been renamed to/replaced by 'kmod'"; # Converted to throw 2022-02-22
monero = monero-cli; # Added 2021-11-28
moku = throw "moku: Unusable since 2.6.2, not maintained upstream anymore"; # Added 2022-02-26
mongodb-3_4 = throw "mongodb-3_4 has been removed, it's end of life since January 2020"; # Added 2022-11-30
mongodb-3_6 = throw "mongodb-3_6 has been removed, it's end of life since April 2021"; # Added 2022-11-30
mongodb-4_0 = throw "mongodb-4_0 has been removed, it's end of life since April 2022"; # Added 2023-01-05

View file

@ -6023,8 +6023,6 @@ self: super: with self; {
mohawk = callPackage ../development/python-modules/mohawk { };
moku = callPackage ../development/python-modules/moku { };
monai = callPackage ../development/python-modules/monai { };
monero = callPackage ../development/python-modules/monero { };