depot/third_party/nixpkgs/pkgs/development/python-modules/dscribe/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

46 lines
798 B
Nix

{ buildPythonPackage
, lib
, fetchFromGitHub
, numpy
, scipy
, ase
, joblib
, sparse
, pybind11
, scikit-learn
}:
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 ];
};
}