Merge pull request #169716 from helsinki-systems/init/nutils
Init/nutils
This commit is contained in:
commit
483da18330
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 ];
|
||||||
|
};
|
||||||
|
}
|
28
pkgs/development/python-modules/stringly/default.nix
Normal file
28
pkgs/development/python-modules/stringly/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
28
pkgs/development/python-modules/treelog/default.nix
Normal file
28
pkgs/development/python-modules/treelog/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -5742,6 +5742,8 @@ in {
|
||||||
|
|
||||||
nunavut = callPackage ../development/python-modules/nunavut { };
|
nunavut = callPackage ../development/python-modules/nunavut { };
|
||||||
|
|
||||||
|
nutils = callPackage ../development/python-modules/nutils { };
|
||||||
|
|
||||||
nvchecker = callPackage ../development/python-modules/nvchecker { };
|
nvchecker = callPackage ../development/python-modules/nvchecker { };
|
||||||
|
|
||||||
python-nvd3 = callPackage ../development/python-modules/python-nvd3 { };
|
python-nvd3 = callPackage ../development/python-modules/python-nvd3 { };
|
||||||
|
@ -9816,6 +9818,8 @@ in {
|
||||||
|
|
||||||
stringcase = callPackage ../development/python-modules/stringcase { };
|
stringcase = callPackage ../development/python-modules/stringcase { };
|
||||||
|
|
||||||
|
stringly = callPackage ../development/python-modules/stringly { };
|
||||||
|
|
||||||
stripe = callPackage ../development/python-modules/stripe { };
|
stripe = callPackage ../development/python-modules/stripe { };
|
||||||
|
|
||||||
striprtf = callPackage ../development/python-modules/striprtf { };
|
striprtf = callPackage ../development/python-modules/striprtf { };
|
||||||
|
@ -10277,6 +10281,8 @@ in {
|
||||||
|
|
||||||
transmissionrpc = callPackage ../development/python-modules/transmissionrpc { };
|
transmissionrpc = callPackage ../development/python-modules/transmissionrpc { };
|
||||||
|
|
||||||
|
treelog = callPackage ../development/python-modules/treelog { };
|
||||||
|
|
||||||
treeo = callPackage ../development/python-modules/treeo { };
|
treeo = callPackage ../development/python-modules/treeo { };
|
||||||
|
|
||||||
treex = callPackage ../development/python-modules/treex { };
|
treex = callPackage ../development/python-modules/treex { };
|
||||||
|
|
Loading…
Reference in a new issue