Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ lib, buildPythonPackage, fetchFromGitHub,
# build-system cython, setuptools,
# tests pytestCheckHook,}:
buildPythonPackage rec { pname = "affinegap"; version = "1.12"; pyproject = true;
src = fetchFromGitHub { owner = "dedupeio"; repo = "affinegap"; tag = "v${version}"; hash = "sha256-9eX41eoME5Vdtq+c04eQbMYnViy6QKOhKkafrkeMylI="; };
build-system = [ cython setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
# Prevent importing from source during test collection (only $out has compiled extensions) preCheck = '' rm -rf affinegap '';
pythonImportsCheck = [ "affinegap" ];
# Bulk updater will see an older tag ending with a "2" and switch to it passthru.skipBulkUpdate = true;
meta = { description = "Cython implementation of the affine gap string distance"; homepage = "https://github.com/dedupeio/affinegap"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ daniel-fahey ]; };}