python3Packages.munkres: 1.0.12 -> 1.1.2

As of version 1.1.0, this munkres package no longer supports Python 2.
This commit is contained in:
Robert Schütz 2019-03-23 00:00:04 +01:00
parent 213d6dd6ac
commit 48a16b3eac

View file

@ -1,19 +1,19 @@
{ stdenv { stdenv
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchPypi
, isPy3k
, nose , nose
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "munkres"; pname = "munkres";
version = "1.0.12"; version = "1.1.2";
# No sdist for 1.0.12, see https://github.com/bmc/munkres/issues/25 disabled = !isPy3k;
src = fetchFromGitHub {
owner = "bmc"; src = fetchPypi {
repo = pname; inherit pname version;
rev = "release-${version}"; sha256 = "81e9ced40c3d0ffc48be4b6da5cfdfaa49041faaaba8075b159974ec47926aea";
sha256 = "0m3rkn0z3ialndxmyg26xn081znna34i5maa1i4nkhy6nf0ixdjm";
}; };
checkInputs = [ nose ]; checkInputs = [ nose ];