Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 34 lines 809 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "mmcif-pdbx"; 11 version = "2.0.1"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "Electrostatics"; 16 repo = "mmcif_pdbx"; 17 tag = "v${version}"; 18 hash = "sha256-ymMQ/q4IMoq+B8RvIdL0aqolKxyE/4rnVfd4bUV5OUY="; 19 }; 20 21 nativeBuildInputs = [ setuptools ]; 22 23 nativeCheckInputs = [ pytestCheckHook ]; 24 25 pythonImportsCheck = [ "pdbx" ]; 26 27 meta = { 28 description = "Yet another version of PDBx/mmCIF Python implementation"; 29 homepage = "https://github.com/Electrostatics/mmcif_pdbx"; 30 changelog = "https://github.com/Electrostatics/mmcif_pdbx/releases/tag/v${version}"; 31 license = lib.licenses.cc0; 32 maintainers = with lib.maintainers; [ natsukium ]; 33 }; 34}