mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
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.
This commit is contained in:
parent
c49ca3e505
commit
6a800927bb
@ -1,6 +1,7 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
|
, brial
|
||||||
}:
|
}:
|
||||||
# This has a cyclic dependency with sage. I don't include sage in the
|
# 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,
|
# buildInputs and let python figure it out at runtime. Because of this,
|
||||||
@ -9,15 +10,10 @@
|
|||||||
# it).
|
# it).
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyBRiAl";
|
pname = "pyBRiAl";
|
||||||
version = "1.2.3";
|
version = brial.version;
|
||||||
|
|
||||||
# included with BRiAl source
|
# included with BRiAl source
|
||||||
src = fetchFromGitHub {
|
src = brial.src;
|
||||||
owner = "BRiAl";
|
|
||||||
repo = "BRiAl";
|
|
||||||
rev = version;
|
|
||||||
sha256 = "0qy4cwy7qrk4zg151cmws5cglaa866z461cnj9wdnalabs7v7qbg";
|
|
||||||
};
|
|
||||||
|
|
||||||
sourceRoot = "source/sage-brial";
|
sourceRoot = "source/sage-brial";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user