11 buildPythonPackage rec {
16 src = fetchFromGitHub {
18 repo = "freesasa-python";
19 rev = "refs/tags/v${version}";
20 hash = "sha256-/7ymItwXOemY0+IL0k6rWnJI8fAwTFjNXzTV+uf9x9A=";
24 ln -s ${freesasa.src}/* lib/
32 env.USE_CYTHON = true;
34 pythonImportsCheck = [ "freesasa" ];
36 nativeCheckInputs = [ pytestCheckHook ];
38 pytestFlagsArray = [ "test.py" ];
41 description = "FreeSASA Python Module";
42 homepage = "https://github.com/freesasa/freesasa-python";
43 changelog = "https://github.com/freesasa/freesasa-python/blob/${src.rev}/CHANGELOG.md";
44 license = lib.licenses.mit;
45 maintainers = with lib.maintainers; [ natsukium ];