Commit d5c49691 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

python312Packages.potentials: cleanup

parent df7855f5
Loading
Loading
Loading
Loading
+16 −12
Original line number Diff line number Diff line
{
  lib,
  bibtexparser,
  buildPythonPackage,
  fetchPypi,
  fetchFromGitHub,

  # build-system
  setuptools,

  # dependencies
  bibtexparser,
  cdcs,
  datamodeldict,
  fetchPypi,
  habanero,
  ipywidgets,
  lxml,
  matplotlib,
  numpy,
  pandas,
  pythonOlder,
  requests,
  scipy,
  setuptools,
  unidecode,
  xmltodict,
  yabadaba,
@@ -25,11 +29,11 @@ buildPythonPackage rec {
  version = "0.4.0";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-7ujcfFa/cweUtCY2MrEh3bTkwAVzvbF+5AJ4fs5o6bE=";
  src = fetchFromGitHub {
    owner = "usnistgov";
    repo = "potentials";
    tag = "v${version}";
    hash = "sha256-VDA3dQ34kvrs3XMfC0j3T63KrXlmOa/hPvOni/UkgP4=";
  };

  build-system = [ setuptools ];
@@ -56,11 +60,11 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "potentials" ];

  meta = with lib; {
  meta = {
    description = "Python API database tools for accessing the NIST Interatomic Potentials Repository";
    homepage = "https://github.com/usnistgov/potentials";
    changelog = "https://github.com/usnistgov/potentials/releases/tag/v${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}