From 48a16b3eacb81c5ab138815dc44e25b42ad9d721 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 23 Mar 2019 00:00:04 +0100 Subject: [PATCH] python3Packages.munkres: 1.0.12 -> 1.1.2 As of version 1.1.0, this munkres package no longer supports Python 2. --- .../python-modules/munkres/default.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/munkres/default.nix b/pkgs/development/python-modules/munkres/default.nix index a3d9e992cb30..5e83818a0143 100644 --- a/pkgs/development/python-modules/munkres/default.nix +++ b/pkgs/development/python-modules/munkres/default.nix @@ -1,19 +1,19 @@ { stdenv , buildPythonPackage -, fetchFromGitHub +, fetchPypi +, isPy3k , nose }: buildPythonPackage rec { pname = "munkres"; - version = "1.0.12"; + version = "1.1.2"; - # No sdist for 1.0.12, see https://github.com/bmc/munkres/issues/25 - src = fetchFromGitHub { - owner = "bmc"; - repo = pname; - rev = "release-${version}"; - sha256 = "0m3rkn0z3ialndxmyg26xn081znna34i5maa1i4nkhy6nf0ixdjm"; + disabled = !isPy3k; + + src = fetchPypi { + inherit pname version; + sha256 = "81e9ced40c3d0ffc48be4b6da5cfdfaa49041faaaba8075b159974ec47926aea"; }; checkInputs = [ nose ];