aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/applications/science/math/sage/pybrial.nix
blob: 718414126ae8f0aaba30f51781c6e1f888f28540 (plain)
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
{ stdenv
, fetchFromGitHub
, buildPythonPackage
, brial
}:
# 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;

    # included with BRiAl source
    src = brial.src;

    sourceRoot = "source/sage-brial";

    meta = with stdenv.lib; {
      description = "python implementation of BRiAl";
      license = licenses.gpl2;
      maintainers = with maintainers; [ timokau ];
    };
}