pythonPackages.pyplatec: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-26 11:13:07 -04:00 committed by Frederik Rietdijk
parent 74daf007a4
commit 4027b73d37
2 changed files with 22 additions and 15 deletions

View File

@ -0,0 +1,21 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "PyPlatec";
version = "1.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "0kqx33flcrrlipccmqs78d14pj5749bp85b6k5fgaq2c7yzz02jg";
};
meta = with stdenv.lib; {
description = "Library to simulate plate tectonics with Python bindings";
homepage = https://github.com/Mindwerks/plate-tectonics;
license = licenses.lgpl3;
};
}

View File

@ -3459,21 +3459,7 @@ in {
pypcap = callPackage ../development/python-modules/pypcap {};
pyplatec = buildPythonPackage rec {
name = "PyPlatec-${version}";
version = "1.4.0";
src = pkgs.fetchurl {
url = "mirror://pypi/P/PyPlatec/${name}.tar.gz";
sha256 = "0kqx33flcrrlipccmqs78d14pj5749bp85b6k5fgaq2c7yzz02jg";
};
meta = {
description = "Library to simulate plate tectonics with Python bindings";
homepage = https://github.com/Mindwerks/plate-tectonics;
license = licenses.lgpl3;
};
};
pyplatec = callPackage ../development/python-modules/pyplatec { };
purepng = buildPythonPackage rec {
name = "purepng-${version}";