nixpkgs/pkgs/applications/science/math/sage/pybrial.nix

26 lines
710 B
Nix
Raw Normal View History

2018-04-24 22:53:36 +01:00
{ stdenv
, fetchFromGitHub
, buildPythonPackage
, 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";
version = brial.version;
2018-04-24 22:53:36 +01:00
# included with BRiAl source
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 ];
};
}