mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
pythonPackages.pyplatec: refactor move to python-modules
This commit is contained in:
parent
74daf007a4
commit
4027b73d37
21
pkgs/development/python-modules/pyplatec/default.nix
Normal file
21
pkgs/development/python-modules/pyplatec/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
@ -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}";
|
||||
|
Loading…
Reference in New Issue
Block a user