Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
665 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
fetchPypi,
buildPythonPackage,
cython,
pkg-config,
lrcalc,
}:
buildPythonPackage rec {
pname = "lrcalc-python";
version = "2.1";
format = "setuptools";
src = fetchPypi {
inherit version;
pname = "lrcalc";
sha256 = "e3a0509aeda487b412b391a52e817ca36b5c063a8305e09fd54d53259dd6aaa9";
};
nativeBuildInputs = [
cython
pkg-config
];
buildInputs = [ lrcalc ];
pythonImportsCheck = [ "lrcalc" ];
meta = with lib; {
description = "Littlewood-Richardson Calculator bindings";
homepage = "https://sites.math.rutgers.edu/~asbuch/lrcalc/";
teams = [ teams.sage ];
license = licenses.gpl3;
};
}