mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
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:
parent
213d6dd6ac
commit
48a16b3eac
@ -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 ];
|
||||||
|
Loading…
Reference in New Issue
Block a user