From 0981423ea1a6991121d004a74bca498df78ec062 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 19 Feb 2023 17:18:51 +0000 Subject: [PATCH] python310Packages.mdp: Normalize attribute and pname --- pkgs/development/python-modules/mdp/default.nix | 5 +++-- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/mdp/default.nix b/pkgs/development/python-modules/mdp/default.nix index 75dfc5dabc9a..a12c3f7f4f6e 100644 --- a/pkgs/development/python-modules/mdp/default.nix +++ b/pkgs/development/python-modules/mdp/default.nix @@ -7,11 +7,12 @@ }: buildPythonPackage rec { - pname = "MDP"; + pname = "mdp"; version = "3.6"; src = fetchPypi { - inherit pname version; + pname = "MDP"; + inherit version; sha256 = "ac52a652ccbaed1857ff1209862f03bf9b06d093b12606fb410787da3aa65a0e"; }; diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 343e8548963f..91856ff1787a 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -136,6 +136,7 @@ mapAliases ({ logilab_common = logilab-common; # added 2022-11-21 loo-py = loopy; # added 2022-05-03 Markups = markups; # added 2022-02-14 + MDP = mdp; # added 2023-02-19 MechanicalSoup = mechanicalsoup; # added 2021-06-01 memcached = python-memcached; # added 2022-05-06 mailman = throw "Please use pkgs.mailman"; # added 2022-04-29 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e5a8dd8dad2d..a78ff6fe2d12 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5812,7 +5812,7 @@ self: super: with self; { mdutils = callPackage ../development/python-modules/mdutils { }; - MDP = callPackage ../development/python-modules/mdp { }; + mdp = callPackage ../development/python-modules/mdp { }; measurement = callPackage ../development/python-modules/measurement { };