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

in pkgs.mkShell {
  packages = (with pkgs; with libsForQt5; [
    cmake
    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 ];
  meta.platforms = nixpkgs.lib.platforms.linux;
}