uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
76
pkgs/development/python-modules/pymatgen/default.nix
Normal file
76
pkgs/development/python-modules/pymatgen/default.nix
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, cython
|
||||
, glibcLocales
|
||||
, matplotlib
|
||||
, monty
|
||||
, networkx
|
||||
, numpy
|
||||
, palettable
|
||||
, pandas
|
||||
, plotly
|
||||
, pybtex
|
||||
, pydispatcher
|
||||
, pythonOlder
|
||||
, requests
|
||||
, ruamel-yaml
|
||||
, scipy
|
||||
, spglib
|
||||
, sympy
|
||||
, tabulate
|
||||
, uncertainties
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pymatgen";
|
||||
version = "2022.3.29";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "materialsproject";
|
||||
repo = "pymatgen";
|
||||
rev= "v${version}";
|
||||
hash = "sha256-B2piRWx9TfKlGTPOAAGsq2GxyfHIRBVFpk6dxES0WF0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
glibcLocales
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
matplotlib
|
||||
monty
|
||||
networkx
|
||||
numpy
|
||||
palettable
|
||||
pandas
|
||||
plotly
|
||||
pybtex
|
||||
pydispatcher
|
||||
requests
|
||||
ruamel-yaml
|
||||
scipy
|
||||
spglib
|
||||
sympy
|
||||
tabulate
|
||||
uncertainties
|
||||
];
|
||||
|
||||
# Tests are not detected by pytest
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pymatgen"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A robust materials analysis code that defines core object representations for structures and molecules";
|
||||
homepage = "https://pymatgen.org/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ psyanticy ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue