aboutsummaryrefslogtreecommitdiff
path: root/devShells/qt.nix
blob: b69aec1271f180bde0a8617cb0892c27516a3d61 (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
{ system, nixpkgs
, default, c
}:
let
  pkgs = nixpkgs.legacyPackages.${system};

in pkgs.mkShell {
  packages = (with pkgs; with libsForQt5; [
    qt5.full
    doctest

    (qcoro.overrideAttrs (oldAttrs: {
      version =  "0.6.1";
      src = fetchFromGitHub {
        owner = "danvratil";
        repo = "qcoro";
        rev = "261663560f59a162c0c82158a6cde41089668871";
        sha256 = "OAYJpoW3b0boSYBfuzLrFvlYSmP3SON8O6HsDQoi+I8=";
      };
      buildInputs = oldAttrs.buildInputs ++ [qt5.full];
    }))
  ]);
  inputsFrom = with pkgs; [ default c ];
  meta.platforms = ["x86_64-linux"];
}