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
, buildPythonPackage
, cdcs
, datamodeldict
, fetchPypi
, habanero
, ipywidgets
, lxml
, matplotlib
, numpy
, pandas
, pytestCheckHook
, pythonOlder
, requests
, scipy
, unidecode
, xmltodict
, yabadaba
{
lib,
bibtexparser,
buildPythonPackage,
cdcs,
datamodeldict,
fetchPypi,
habanero,
ipywidgets,
lxml,
matplotlib,
numpy,
pandas,
pytestCheckHook,
pythonOlder,
requests,
scipy,
setuptools,
unidecode,
xmltodict,
yabadaba,
}:
buildPythonPackage rec {
version = "0.3.7";
pname = "potentials";
format = "setuptools";
version = "0.3.8";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-vkrNVRf9ntYSpf8nXmAmGjc+sQ4iFllisYHd9s+uQv0=";
hash = "sha256-ZXsqsqsgWntZUOuW1/2KAhsbnienHu6VFctxYkw+GCU=";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
bibtexparser
cdcs
datamodeldict
@ -51,13 +55,12 @@ buildPythonPackage rec {
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"potentials"
];
pythonImportsCheck = [ "potentials" ];
meta = with lib; {
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 ];
};

View File

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