default.nix (1849B)
1 { 2 callPackage, 3 fetchFromGitHub, 4 wxGTK30, 5 gcc8Stdenv, 6 }: 7 let 8 # Fix mismatch between the program and library build versions 9 wxGTK30_gcc8 = 10 (wxGTK30.override { 11 stdenv = gcc8Stdenv; 12 compat26 = false; 13 }).overrideAttrs 14 (old: { 15 version = "3.0.5"; 16 src = fetchFromGitHub { 17 owner = "wxWidgets"; 18 repo = "wxWidgets"; 19 rev = "v3.0.5"; 20 sha256 = "1l33629ifx2dl2j71idqbd2qb6zb1d566ijpkvz6irrr50s6gbx7"; 21 }; 22 }); 23 in 24 { 25 cad = callPackage ./base.nix { 26 pname = "TdhCad"; 27 version = "21.01.12"; 28 description = "Vector Graphics and Charting"; 29 homepage = "https://www.tdhcad.com"; 30 id = "1YYC1DvUSvmgReUVqwZT1ZKvwC7QYc9Yf"; 31 sha256 = "12b1kb9fn899r0f2n8p7yjihds57hcjn3gxr6plnq6qiz1nrnx7l"; 32 wxgtk = wxGTK30_gcc8; 33 }; 34 35 gis = callPackage ./base.nix { 36 pname = "TdhGIS"; 37 version = "21.01.03"; 38 description = "Vector Based Spatial Analysis"; 39 homepage = "https://www.tdhgis.com"; 40 id = "1tHBhEFO8ifY_DEaD8PrOlcFPiH3t-AqM"; 41 sha256 = "1zjcs8dhdvhisf4kws369gx94gr6xaz3k8cp12imk6adn5fw94sp"; 42 wxgtk = wxGTK30_gcc8; 43 }; 44 45 gisnet = callPackage ./base.nix { 46 pname = "TdhGISnet"; 47 version = "21.02.26"; 48 description = "Shortest Path Analysis / Route Optimization"; 49 homepage = "https://sites.google.com/tdhgis.com/tdhgisnet"; 50 id = "1G3Xtc3ZLUPCUl5t8wnzNFTrJqkhvx_MJ"; 51 sha256 = "129acpcrw58vqnr27zi43p922i62ganwscs6h8qj0ph13zshgqvc"; 52 wxgtk = wxGTK30_gcc8; 53 }; 54 55 net = callPackage ./base.nix { 56 pname = "TdhNet"; 57 version = "21.02.22"; 58 description = "Hydraulic Modeling for Water Distribution Systems"; 59 homepage = "https://www.tdhnet.com"; 60 id = "1ChOEF7Ew1v7qvTpJhOnvy0Nk1Y4dfne3"; 61 sha256 = "0mrdkrcr0fz2mk93fybyyn0z2s16f66az9vz8fi58qppbb9f4pwm"; 62 wxgtk = wxGTK30_gcc8; 63 }; 64 }