30 lines
766 B
Nix
30 lines
766 B
Nix
{ stdenv, lib, callPackage, fetchFromGitHub, indilib }:
|
|
|
|
let
|
|
indi-version = "1.9.2";
|
|
indi-3rdparty-src = fetchFromGitHub {
|
|
owner = "indilib";
|
|
repo = "indi-3rdparty";
|
|
rev = "v${indi-version}";
|
|
sha256 = "sha256-dpuJ/J5gc+kAklbvMjsWic9jusXWB4gUcT8E/1eSLXQ=";
|
|
};
|
|
indi-firmware = callPackage ./indi-firmware.nix {
|
|
version = indi-version;
|
|
src = indi-3rdparty-src;
|
|
};
|
|
indi-3rdparty = callPackage ./indi-3rdparty.nix {
|
|
version = indi-version;
|
|
src = indi-3rdparty-src;
|
|
withFirmware = stdenv.isx86_64;
|
|
firmware = indi-firmware;
|
|
};
|
|
in
|
|
callPackage ./indi-with-drivers.nix {
|
|
pname = "indi-full";
|
|
version = indi-version;
|
|
extraDrivers = [
|
|
indi-3rdparty
|
|
] ++ lib.optionals stdenv.isx86_64 [
|
|
indi-firmware
|
|
];
|
|
}
|