File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ description = "ld-decode-tools (Nix flake)" ;
3+
4+ inputs = {
5+ nixpkgs . url = "github:NixOS/nixpkgs/nixos-unstable" ;
6+ flake-utils . url = "github:numtide/flake-utils" ;
7+ } ;
8+
9+ outputs = { self , nixpkgs , flake-utils } :
10+ flake-utils . lib . eachDefaultSystem ( system :
11+ let
12+ pkgs = import nixpkgs { inherit system ; } ;
13+ in
14+ {
15+ packages . default = pkgs . stdenv . mkDerivation {
16+ pname = "ld-decode-tools" ;
17+ version = "7.2.0" ;
18+ src = ./. ;
19+
20+ nativeBuildInputs = with pkgs ; [
21+ cmake
22+ ninja
23+ pkg-config
24+ qt6 . wrapQtAppsHook
25+ ] ;
26+
27+ buildInputs = with pkgs ; [
28+ qt6 . qtbase
29+ qt6 . qtsql
30+ fftw
31+ ffmpeg
32+ sqlite
33+ libGL
34+ ] ;
35+
36+ cmakeBuildType = "Release" ;
37+ cmakeFlags = [
38+ "-DCMAKE_BUILD_TYPE=Release"
39+ ] ;
40+ } ;
41+
42+ devShells . default = pkgs . mkShell {
43+ packages = with pkgs ; [
44+ cmake
45+ ninja
46+ pkg-config
47+ qt6 . qtbase
48+ qt6 . qtsql
49+ fftw
50+ ffmpeg
51+ sqlite
52+ libGL
53+ python3
54+ ] ;
55+ } ;
56+ }
57+ ) ;
58+ }
You can’t perform that action at this time.
0 commit comments