blob: 05d43d54f25d94277fb0c8e51dbb329c479d546b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, setuptools
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "mmcif-pdbx";
version = "2.0.1";
format = "pyproject";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "Electrostatics";
repo = "mmcif_pdbx";
rev = "refs/tags/v${version}";
hash = "sha256-ymMQ/q4IMoq+B8RvIdL0aqolKxyE/4rnVfd4bUV5OUY=";
};
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"pdbx"
];
meta = with lib; {
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 = licenses.cc0;
maintainers = with maintainers; [ natsukium ];
};
}
|