Merge pull request #169716 from helsinki-systems/init/nutils

Init/nutils
This commit is contained in:
Sandro 2022-04-27 14:24:45 +02:00 committed by GitHub
commit 483da18330
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 94 additions and 0 deletions

View 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 ];
};
}

View File

@ -0,0 +1,28 @@
{ lib , python, buildPythonPackage , fetchPypi, typing-extensions }:
buildPythonPackage rec {
pname = "stringly";
version = "1.0b2";
src = fetchPypi {
inherit pname version;
sha256 = "09fi9dgf27v4qi0mwwms7hpwim9qpyalckd66p7nlmfp6c8bzppq";
};
pythonImportsCheck = [ "stringly" ];
propagatedBuildInputs = [
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 = [ maintainers.Scriptkiddi ];
};
}

View File

@ -0,0 +1,28 @@
{ lib , python, buildPythonPackage , fetchPypi, typing-extensions }:
buildPythonPackage rec {
pname = "treelog";
version = "1.0";
src = fetchPypi {
inherit pname version;
sha256 = "0hnivz4p4llky6djxgcsr9r3j4vr46mkjvp0ksybhpx0fsnhdi81";
};
pythonImportsCheck = [ "treelog" ];
propagatedBuildInputs = [
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 = [ maintainers.Scriptkiddi ];
};
}

View File

@ -5742,6 +5742,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 { };
@ -9816,6 +9818,8 @@ in {
stringcase = callPackage ../development/python-modules/stringcase { };
stringly = callPackage ../development/python-modules/stringly { };
stripe = callPackage ../development/python-modules/stripe { };
striprtf = callPackage ../development/python-modules/striprtf { };
@ -10277,6 +10281,8 @@ in {
transmissionrpc = callPackage ../development/python-modules/transmissionrpc { };
treelog = callPackage ../development/python-modules/treelog { };
treeo = callPackage ../development/python-modules/treeo { };
treex = callPackage ../development/python-modules/treex { };