5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
35 lines
679 B
Nix
35 lines
679 B
Nix
{ lib, stdenv
|
|
, fetchFromBitbucket
|
|
, autoreconfHook
|
|
|
|
# Reverse dependency
|
|
, sage
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "2.1";
|
|
pname = "lrcalc";
|
|
|
|
src = fetchFromBitbucket {
|
|
owner = "asbuch";
|
|
repo = "lrcalc";
|
|
rev = "lrcalc-${version}";
|
|
sha256 = "0s3amf3z75hnrjyszdndrvk4wp5p630dcgyj341i6l57h43d1p4k";
|
|
};
|
|
|
|
doCheck = true;
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
];
|
|
|
|
passthru.tests = { inherit sage; };
|
|
|
|
meta = with lib; {
|
|
description = "Littlewood-Richardson calculator";
|
|
homepage = "http://math.rutgers.edu/~asbuch/lrcalc/";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = teams.sage.members;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|