mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-13 23:06:35 +01:00
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.
34 lines
809 B
Nix
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 ];
|
|
};
|
|
}
|