Merge pull request #319027 from sheepforce/molbar
molbar: init at 1.1.1
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
{ buildPythonPackage
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, numpy
|
||||
, scipy
|
||||
, ase
|
||||
, joblib
|
||||
, sparse
|
||||
, pybind11
|
||||
, scikit-learn
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "dscribe";
|
||||
version = "2.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "singroup";
|
||||
repo = "dscribe";
|
||||
rev = "v${version}";
|
||||
fetchSubmodules = true; # Bundles a specific version of Eigen
|
||||
hash = "sha256-2JY24cR2ie4+4svVWC4rm3Iy6Wfg0n2vkINz032kPWc=";
|
||||
};
|
||||
|
||||
pyproject = true;
|
||||
|
||||
build-system = [
|
||||
pybind11
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
numpy
|
||||
scipy
|
||||
ase
|
||||
joblib
|
||||
sparse
|
||||
scikit-learn
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Machine learning descriptors for atomistic systems";
|
||||
homepage = "https://github.com/SINGROUP/dscribe";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.sheepforce ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
{ buildPythonPackage
|
||||
, python
|
||||
, pythonRelaxDepsHook
|
||||
, lib
|
||||
, gfortran
|
||||
, fetchgit
|
||||
, cmake
|
||||
, ninja
|
||||
, networkx
|
||||
, numpy
|
||||
, pandas
|
||||
, scipy
|
||||
, tqdm
|
||||
, joblib
|
||||
, numba
|
||||
, ase
|
||||
, scikit-build
|
||||
, dscribe
|
||||
, pyyaml
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "MolBar";
|
||||
version = "1.1.1";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://git.rwth-aachen.de/bannwarthlab/molbar";
|
||||
rev = "release_v${version}";
|
||||
hash = "sha256-AFp2x8gil6nbZbgTZmuv+QAMImUMryyCc1by9U/ukYE=";
|
||||
};
|
||||
|
||||
pyproject = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
gfortran
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [ "networkx" ];
|
||||
|
||||
build-system = [
|
||||
cmake
|
||||
scikit-build
|
||||
ninja
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
networkx
|
||||
numpy
|
||||
pandas
|
||||
scipy
|
||||
tqdm
|
||||
joblib
|
||||
numba
|
||||
ase
|
||||
dscribe
|
||||
pyyaml
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
doCheck = false; # Doesn't find the fortran libs before installation
|
||||
|
||||
meta = with lib; {
|
||||
description = "Unique molecular identifiers for molecular barcoding";
|
||||
homepage = "https://git.rwth-aachen.de/bannwarthlab/molbar";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.sheepforce ];
|
||||
};
|
||||
}
|
||||
@@ -37677,6 +37677,8 @@ with pkgs;
|
||||
|
||||
marvin = callPackage ../applications/science/chemistry/marvin { };
|
||||
|
||||
molbar = with python3Packages; toPythonApplication molbar;
|
||||
|
||||
molden = callPackage ../applications/science/chemistry/molden { };
|
||||
|
||||
mopac = callPackage ../applications/science/chemistry/mopac { };
|
||||
|
||||
@@ -3592,6 +3592,8 @@ self: super: with self; {
|
||||
|
||||
dropmqttapi = callPackage ../development/python-modules/dropmqttapi { };
|
||||
|
||||
dscribe = callPackage ../development/python-modules/dscribe { };
|
||||
|
||||
ds-store = callPackage ../development/python-modules/ds-store { };
|
||||
|
||||
ds4drv = callPackage ../development/python-modules/ds4drv { };
|
||||
@@ -7677,6 +7679,8 @@ self: super: with self; {
|
||||
|
||||
mohawk = callPackage ../development/python-modules/mohawk { };
|
||||
|
||||
molbar = callPackage ../development/python-modules/molbar { };
|
||||
|
||||
molecule = callPackage ../development/python-modules/molecule { };
|
||||
|
||||
molecule-plugins = callPackage ../development/python-modules/molecule/plugins.nix { };
|
||||
|
||||
Reference in New Issue
Block a user