nixpkgs/pkgs/development/python-modules/mmcif-pdbx/default.nix
Michael Daniels 075e8c2c4f
treewide: change 'format = "pyproject";' to 'pyproject = true;'
This is almost all find-and-replace.

I manually edited:
* pkgs/development/python-modules/notifications-android-tv/default.nix,
* pkgs/servers/home-assistant/default.nix,
* pkgs/development/tools/continuous-integration/buildbot/master.nix

A few files have not been changed in this PR because they would cause rebuilds.

This PR should have 0 rebuilds.
2026-01-12 17:50:35 -05:00

34 lines
809 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "mmcif-pdbx";
version = "2.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "Electrostatics";
repo = "mmcif_pdbx";
tag = "v${version}";
hash = "sha256-ymMQ/q4IMoq+B8RvIdL0aqolKxyE/4rnVfd4bUV5OUY=";
};
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pdbx" ];
meta = {
description = "Yet another version of PDBx/mmCIF Python implementation";
homepage = "https://github.com/Electrostatics/mmcif_pdbx";
changelog = "https://github.com/Electrostatics/mmcif_pdbx/releases/tag/v${version}";
license = lib.licenses.cc0;
maintainers = with lib.maintainers; [ natsukium ];
};
}