depot/third_party/nixpkgs/pkgs/development/python-modules/lrcalc-python/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

36 lines
675 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";
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/";
maintainers = teams.sage.members;
license = licenses.gpl3;
};
}