summary refs log tree commit diff
path: root/pkgs/development/python-modules/lrcalc-python/default.nix
blob: 66c0ad46e5b700a7683773e69f670d25ac621269 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ lib
, fetchPypi
, buildPythonPackage
, cython
, pkg-config
, lrcalc
}:

buildPythonPackage rec {
  pname = "lrcalc-python";
  version = "2.1";

  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;
  };
}