2018-04-24 22:53:36 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, buildPythonPackage
|
2019-12-13 19:29:16 +00:00
|
|
|
, brial
|
2018-04-24 22:53:36 +01:00
|
|
|
}:
|
|
|
|
# This has a cyclic dependency with sage. I don't include sage in the
|
|
|
|
# buildInputs and let python figure it out at runtime. Because of this,
|
|
|
|
# I don't include the package in the main nipxkgs tree. It wouldn't be useful
|
|
|
|
# outside of sage anyways (as you could just directly depend on sage and use
|
|
|
|
# it).
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyBRiAl";
|
2019-12-13 19:29:16 +00:00
|
|
|
version = brial.version;
|
2018-04-24 22:53:36 +01:00
|
|
|
|
|
|
|
# included with BRiAl source
|
2019-12-13 19:29:16 +00:00
|
|
|
src = brial.src;
|
2018-04-24 22:53:36 +01:00
|
|
|
|
|
|
|
sourceRoot = "source/sage-brial";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "python implementation of BRiAl";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ timokau ];
|
|
|
|
};
|
|
|
|
}
|