pythonPackages.squaremap: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-26 12:53:16 -04:00 committed by Frederik Rietdijk
parent 0e141facab
commit b2c75e7d72
2 changed files with 24 additions and 15 deletions

View File

@ -0,0 +1,23 @@
{ stdenv
, buildPythonPackage
, isPy3k
, fetchPypi
}:
buildPythonPackage rec {
pname = "squaremap";
version = "1.0.4";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "feab6cb3b222993df68440e34825d8a16de2c74fdb290ae3974c86b1d5f3eef8";
};
meta = with stdenv.lib; {
description = "Hierarchic visualization control for wxPython";
homepage = https://launchpad.net/squaremap;
license = licenses.bsd3;
};
}

View File

@ -3652,21 +3652,7 @@ in {
Rtree = callPackage ../development/python-modules/Rtree { inherit (pkgs) libspatialindex; };
squaremap = buildPythonPackage rec {
name = "squaremap-1.0.4";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "mirror://pypi/S/SquareMap/SquareMap-1.0.4.tar.gz";
sha256 = "feab6cb3b222993df68440e34825d8a16de2c74fdb290ae3974c86b1d5f3eef8";
};
meta = {
description = "Hierarchic visualization control for wxPython";
homepage = https://launchpad.net/squaremap;
license = licenses.bsd3;
};
};
squaremap = callPackage ../development/python-modules/squaremap { };
ruamel_base = buildPythonPackage rec {
name = "ruamel.base-${version}";