about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2024-04-27 15:06:59 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2024-04-27 15:06:59 +0200
commit6ed2833404297a1f3bee0d48f5d0df92c79b84f0 (patch)
tree577c69bd1982a2b2ff53740762cd23090b9fda7f /pkgs/development
parent0d9c130d7546f39a85e279ec4a3eca824a61bfe2 (diff)
python312Packages.pymatgen: format with nixfmt
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/pymatgen/default.nix71
1 files changed, 34 insertions, 37 deletions
diff --git a/pkgs/development/python-modules/pymatgen/default.nix b/pkgs/development/python-modules/pymatgen/default.nix
index f667752779cd9..59981da7e7809 100644
--- a/pkgs/development/python-modules/pymatgen/default.nix
+++ b/pkgs/development/python-modules/pymatgen/default.nix
@@ -1,32 +1,33 @@
-{ lib
-, stdenv
-, ase
-, buildPythonPackage
-, cython
-, fetchFromGitHub
-, glibcLocales
-, joblib
-, matplotlib
-, monty
-, networkx
-, oldest-supported-numpy
-, palettable
-, pandas
-, plotly
-, pybtex
-, pydispatcher
-, pytest-xdist
-, pytestCheckHook
-, pythonOlder
-, requests
-, ruamel-yaml
-, scipy
-, seekpath
-, setuptools
-, spglib
-, sympy
-, tabulate
-, uncertainties
+{
+  lib,
+  stdenv,
+  ase,
+  buildPythonPackage,
+  cython,
+  fetchFromGitHub,
+  glibcLocales,
+  joblib,
+  matplotlib,
+  monty,
+  networkx,
+  oldest-supported-numpy,
+  palettable,
+  pandas,
+  plotly,
+  pybtex,
+  pydispatcher,
+  pytest-xdist,
+  pytestCheckHook,
+  pythonOlder,
+  requests,
+  ruamel-yaml,
+  scipy,
+  seekpath,
+  setuptools,
+  spglib,
+  sympy,
+  tabulate,
+  uncertainties,
 }:
 
 buildPythonPackage rec {
@@ -39,13 +40,11 @@ buildPythonPackage rec {
   src = fetchFromGitHub {
     owner = "materialsproject";
     repo = "pymatgen";
-    rev= "refs/tags/v${version}";
+    rev = "refs/tags/v${version}";
     hash = "sha256-vjasWQgwjtoM/6Y1HwK1otMFejRWEj+YBxaIYDDSeeo=";
   };
 
-  build-system = [
-    setuptools
-  ];
+  build-system = [ setuptools ];
 
   nativeBuildInputs = [
     cython
@@ -105,9 +104,7 @@ buildPythonPackage rec {
     "test_unconverged"
   ];
 
-  pythonImportsCheck = [
-    "pymatgen"
-  ];
+  pythonImportsCheck = [ "pymatgen" ];
 
   meta = with lib; {
     description = "A robust materials analysis code that defines core object representations for structures and molecules";
@@ -115,6 +112,6 @@ buildPythonPackage rec {
     changelog = "https://github.com/materialsproject/pymatgen/releases/tag/v${version}";
     license = licenses.mit;
     maintainers = with maintainers; [ psyanticy ];
-    broken = stdenv.isDarwin;  # tests segfault. that's bad.
+    broken = stdenv.isDarwin; # tests segfault. that's bad.
   };
 }