python310Packages.nutils: init at 7.0
This commit is contained in:
parent
47def8d3f0
commit
fae5f5aa90
32
pkgs/development/python-modules/nutils/default.nix
Normal file
32
pkgs/development/python-modules/nutils/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ lib, python, buildPythonPackage, fetchPypi, numpy, treelog, stringly, coverage }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nutils";
|
||||
version = "7.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1sw310l2yb8wbcv2qhik8s928zjh2syzz2qxisglbzski9qdw2x6";
|
||||
};
|
||||
|
||||
pythonImportChecks = [ "nutils" ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
treelog
|
||||
stringly
|
||||
];
|
||||
|
||||
checkInputs = [ coverage ];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Numerical Utilities for Finite Element Analysis";
|
||||
homepage = "https://www.nutils.org/";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.Scriptkiddi ];
|
||||
};
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
{ lib , buildPythonPackage , fetchPypi, typing-extensions }:
|
||||
{ lib , python, buildPythonPackage , fetchPypi, typing-extensions }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "stringly";
|
||||
|
@ -6,7 +6,7 @@ buildPythonPackage rec {
|
|||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256:09fi9dgf27v4qi0mwwms7hpwim9qpyalckd66p7nlmfp6c8bzppq";
|
||||
sha256 = "09fi9dgf27v4qi0mwwms7hpwim9qpyalckd66p7nlmfp6c8bzppq";
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "stringly" ];
|
||||
|
@ -15,10 +15,14 @@ buildPythonPackage rec {
|
|||
typing-extensions
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Stringly: Human Readable Object Serialization";
|
||||
homepage = "https://github.com/evalf/stringly";
|
||||
license = licenses.mit;
|
||||
maintainers = [ lib.maintainers.Scriptkiddi ];
|
||||
maintainers = [ maintainers.Scriptkiddi ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib , buildPythonPackage , fetchPypi, typing-extensions }:
|
||||
{ lib , python, buildPythonPackage , fetchPypi, typing-extensions }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "treelog";
|
||||
|
@ -6,7 +6,7 @@ buildPythonPackage rec {
|
|||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256:0hnivz4p4llky6djxgcsr9r3j4vr46mkjvp0ksybhpx0fsnhdi81";
|
||||
sha256 = "0hnivz4p4llky6djxgcsr9r3j4vr46mkjvp0ksybhpx0fsnhdi81";
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "treelog" ];
|
||||
|
@ -15,10 +15,14 @@ buildPythonPackage rec {
|
|||
typing-extensions
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Logging framework that organizes messages in a tree structure";
|
||||
homepage = "https://github.com/evalf/treelog";
|
||||
license = licenses.mit;
|
||||
maintainers = [ lib.maintainers.Scriptkiddi ];
|
||||
maintainers = [ maintainers.Scriptkiddi ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -5736,6 +5736,8 @@ in {
|
|||
|
||||
nunavut = callPackage ../development/python-modules/nunavut { };
|
||||
|
||||
nutils = callPackage ../development/python-modules/nutils { };
|
||||
|
||||
nvchecker = callPackage ../development/python-modules/nvchecker { };
|
||||
|
||||
python-nvd3 = callPackage ../development/python-modules/python-nvd3 { };
|
||||
|
|
Loading…
Reference in a new issue