Unverified Commit 79179345 authored by Doron Behar's avatar Doron Behar Committed by GitHub
Browse files

Merge pull request #217907 from r-ryantm/auto-update/python310Packages.moku

python310Packages.moku: remove
parents 30e272bc f49ebf25
Loading
Loading
Loading
Loading
+0 −57
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, zeroconf
, requests
, setuptools
}:

buildPythonPackage rec {
  pname = "moku";
  version = "2.6.0";

  /*

  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-tG54V26H7viu5DPs3EWTg7ouCsdC3EXoeb8iexO6YBw=";
  };
  /*

  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 ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -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
+0 −2
Original line number Diff line number Diff line
@@ -6029,8 +6029,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 { };