Merge pull request #307267 from fabaff/potentials-bump

python312Packages.potentials: 0.3.7 -> 0.3.8, python312Packages.yabadaba: 0.2.1 -> 0.2.2
This commit is contained in:
Fabian Affolter 2024-04-27 22:37:17 +02:00 committed by GitHub
commit a08a03cac5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 55 additions and 51 deletions

View File

@ -1,37 +1,41 @@
{ lib {
, bibtexparser lib,
, buildPythonPackage bibtexparser,
, cdcs buildPythonPackage,
, datamodeldict cdcs,
, fetchPypi datamodeldict,
, habanero fetchPypi,
, ipywidgets habanero,
, lxml ipywidgets,
, matplotlib lxml,
, numpy matplotlib,
, pandas numpy,
, pytestCheckHook pandas,
, pythonOlder pytestCheckHook,
, requests pythonOlder,
, scipy requests,
, unidecode scipy,
, xmltodict setuptools,
, yabadaba unidecode,
xmltodict,
yabadaba,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
version = "0.3.7";
pname = "potentials"; pname = "potentials";
format = "setuptools"; version = "0.3.8";
pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-vkrNVRf9ntYSpf8nXmAmGjc+sQ4iFllisYHd9s+uQv0="; hash = "sha256-ZXsqsqsgWntZUOuW1/2KAhsbnienHu6VFctxYkw+GCU=";
}; };
propagatedBuildInputs = [ build-system = [ setuptools ];
dependencies = [
bibtexparser bibtexparser
cdcs cdcs
datamodeldict datamodeldict
@ -51,13 +55,12 @@ buildPythonPackage rec {
# Project has no tests # Project has no tests
doCheck = false; doCheck = false;
pythonImportsCheck = [ pythonImportsCheck = [ "potentials" ];
"potentials"
];
meta = with lib; { meta = with lib; {
description = "Python API database tools for accessing the NIST Interatomic Potentials Repository"; description = "Python API database tools for accessing the NIST Interatomic Potentials Repository";
homepage = "https://github.com/usnistgov/potentials"; homepage = "https://github.com/usnistgov/potentials";
changelog = "https://github.com/usnistgov/potentials/releases/tag/v${version}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };

View File

@ -1,33 +1,37 @@
{ lib {
, buildPythonPackage lib,
, cdcs buildPythonPackage,
, datamodeldict cdcs,
, fetchFromGitHub datamodeldict,
, ipython fetchFromGitHub,
, lxml ipython,
, numpy lxml,
, pandas numpy,
, pymongo pandas,
, pytestCheckHook pymongo,
, pythonOlder pytestCheckHook,
, tqdm pythonOlder,
setuptools,
tqdm,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "yabadaba"; pname = "yabadaba";
version = "0.2.1"; version = "0.2.2";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "usnistgov"; owner = "usnistgov";
repo = pname; repo = "yabadaba";
rev = "v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-D3dzO+vhf1utBMmX2RUgvxuaPneFnXDseqfz6CMDmv4="; hash = "sha256-NfvnUrTnOeNfiTMrcRtWU3a/Wb6qsDeQlk5jwZ1OpgI=";
}; };
propagatedBuildInputs = [ build-system = [ setuptools ];
dependencies = [
cdcs cdcs
datamodeldict datamodeldict
ipython ipython
@ -38,13 +42,9 @@ buildPythonPackage rec {
tqdm tqdm
]; ];
nativeCheckInputs = [ nativeCheckInputs = [ pytestCheckHook ];
pytestCheckHook
];
pythonImportsCheck = [ pythonImportsCheck = [ "yabadaba" ];
"yabadaba"
];
preCheck = '' preCheck = ''
export HOME=$(mktemp -d); export HOME=$(mktemp -d);
@ -53,6 +53,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Abstraction layer allowing for common interactions with databases and records"; description = "Abstraction layer allowing for common interactions with databases and records";
homepage = "https://github.com/usnistgov/yabadaba"; homepage = "https://github.com/usnistgov/yabadaba";
changelog = "https://github.com/usnistgov/yabadaba/releases/tag/v${version}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };