Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 59 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ lib, buildPythonPackage, fetchFromGitHub,
# build-system cython, numpy, setuptools,
# tests pytest-cov-stub, pytestCheckHook,}:
buildPythonPackage rec { pname = "dedupe-pylbfgs"; version = "0.2.0.16"; pyproject = true;
# NOTE: This is a fork of larsmans/pylbfgs maintained by dedupeio src = fetchFromGitHub { owner = "dedupeio"; repo = "pylbfgs"; tag = version; hash = "sha256-H416dgZQxyqsnhmlK5keW8cJWY6gea4mebVuP0IEVOU="; };
build-system = [ cython numpy setuptools ];
dependencies = [ numpy ];
nativeCheckInputs = [ pytest-cov-stub pytestCheckHook ];
# Prevent importing from source during test collection (only $out has compiled extensions) preCheck = '' rm -rf lbfgs '';
pythonImportsCheck = [ "lbfgs" ];
meta = { description = "Python wrapper for L-BFGS and OWL-QN optimization algorithms"; homepage = "https://github.com/dedupeio/pylbfgs"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ daniel-fahey ]; };}