mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-31 09:10:08 +00:00
37 lines
648 B
Nix
37 lines
648 B
Nix
{
|
|
lib,
|
|
fetchPypi,
|
|
buildPythonPackage,
|
|
cython,
|
|
pkg-config,
|
|
lrcalc,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "lrcalc-python";
|
|
version = "2.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "lrcalc";
|
|
hash = "sha256-46BQmu2kh7QSs5GlLoF8o2tcBjqDBeCf1U1TJZ3Wqqk=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cython
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [ lrcalc ];
|
|
|
|
pythonImportsCheck = [ "lrcalc" ];
|
|
|
|
meta = {
|
|
description = "Littlewood-Richardson Calculator bindings";
|
|
homepage = "https://sites.math.rutgers.edu/~asbuch/lrcalc/";
|
|
teams = [ lib.teams.sage ];
|
|
license = lib.licenses.gpl3;
|
|
};
|
|
}
|