diff options
author | Timo Kaufmann <timokau@zoho.com> | 2019-12-13 20:29:16 +0100 |
---|---|---|
committer | Timo Kaufmann <timokau@zoho.com> | 2019-12-13 20:29:16 +0100 |
commit | 6a800927bbd97c606b3c0096cab9c218d652cc6f (patch) | |
tree | 563902663091a44002f20f27917eaccb0ec18fae /pkgs/applications/science/math/sage | |
parent | c49ca3e5056052d43edda1d668fb45ac05676001 (diff) | |
download | nixlib-6a800927bbd97c606b3c0096cab9c218d652cc6f.tar nixlib-6a800927bbd97c606b3c0096cab9c218d652cc6f.tar.gz nixlib-6a800927bbd97c606b3c0096cab9c218d652cc6f.tar.bz2 nixlib-6a800927bbd97c606b3c0096cab9c218d652cc6f.tar.lz nixlib-6a800927bbd97c606b3c0096cab9c218d652cc6f.tar.xz nixlib-6a800927bbd97c606b3c0096cab9c218d652cc6f.tar.zst nixlib-6a800927bbd97c606b3c0096cab9c218d652cc6f.zip |
pybrial: 1.2.3 -> 1.2.5, directly use the brial src
The pybrial package is a bit awkward. It doesn't have its own top-level attribute, since it has a cyclic dependency with sage. That's one of the reasons why it rarely gets updated. Its distributed along with brial, so its best to keep the versions synchronized. The easiest way to do this is to just re-use the source of brial.
Diffstat (limited to 'pkgs/applications/science/math/sage')
-rw-r--r-- | pkgs/applications/science/math/sage/pybrial.nix | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/pkgs/applications/science/math/sage/pybrial.nix b/pkgs/applications/science/math/sage/pybrial.nix index 092a340bb5b5..718414126ae8 100644 --- a/pkgs/applications/science/math/sage/pybrial.nix +++ b/pkgs/applications/science/math/sage/pybrial.nix @@ -1,6 +1,7 @@ { 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, @@ -9,15 +10,10 @@ # it). buildPythonPackage rec { pname = "pyBRiAl"; - version = "1.2.3"; + version = brial.version; # included with BRiAl source - src = fetchFromGitHub { - owner = "BRiAl"; - repo = "BRiAl"; - rev = version; - sha256 = "0qy4cwy7qrk4zg151cmws5cglaa866z461cnj9wdnalabs7v7qbg"; - }; + src = brial.src; sourceRoot = "source/sage-brial"; |