mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 20:39:04 +02:00
python3Packages.isosurfaces: init at 0.1.0
This commit is contained in:
parent
6ab6d7f9f6
commit
d37086b4bf
36
pkgs/development/python-modules/isosurfaces/default.nix
Normal file
36
pkgs/development/python-modules/isosurfaces/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, numpy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "isosurfaces";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "fa1b44e5e59d2f429add49289ab89e36f8dcda49b7badd99e0beea273be331f4";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
|
||||
# no tests defined upstream
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "isosurfaces" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/jared-hughes/isosurfaces";
|
||||
description = "Construct isolines/isosurfaces of a 2D/3D scalar field defined by a function";
|
||||
longDescription = ''
|
||||
Construct isolines/isosurfaces of a 2D/3D scalar field defined by a
|
||||
function, i.e. curves over which f(x,y)=0 or surfaces over which
|
||||
f(x,y,z)=0. Most similar libraries use marching squares or similar over a
|
||||
uniform grid, but this uses a quadtree to avoid wasting time sampling
|
||||
many far from the implicit surface.
|
||||
'';
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ friedelino ];
|
||||
};
|
||||
}
|
|
@ -4303,6 +4303,8 @@ in {
|
|||
|
||||
isort = callPackage ../development/python-modules/isort { };
|
||||
|
||||
isosurfaces = callPackage ../development/python-modules/isosurfaces { };
|
||||
|
||||
isounidecode = callPackage ../development/python-modules/isounidecode { };
|
||||
|
||||
isoweek = callPackage ../development/python-modules/isoweek { };
|
||||
|
|
Loading…
Reference in a new issue