Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 callPackage, 3 makeFontsConf, 4 buildFHSEnv, 5 tiling_wm ? false, 6}: 7 8let 9 mkStudio = 10 opts: 11 callPackage (import ./common.nix opts) { 12 fontsConf = makeFontsConf { 13 fontDirectories = [ ]; 14 }; 15 inherit buildFHSEnv; 16 inherit tiling_wm; 17 }; 18 stableVersion = { 19 version = "2024.2.2.13"; 20 # this seems to be a fuckup on google's side 21 versionPrefix = "Ladybug%20Feature%20Drop"; 22 sha256Hash = "sha256-yMUTWOpYHa/Aizrgvs/mbofrDqrbL5bJYjuklIdyU/0="; 23 }; 24 canaryVersion = { 25 version = "2024.3.1.9"; 26 versionPrefix = "canary-meerkat"; 27 sha256Hash = "sha256-j5KEwHbc+0eFi3GZlD5PMuM/RWw2MJ1PaXZrPMvhCik="; 28 }; 29in 30{ 31 # Attributes are named by their corresponding release channels 32 33 stable = mkStudio ( 34 stableVersion 35 // { 36 channel = "stable"; 37 pname = "android-studio-for-platform"; 38 } 39 ); 40 41 canary = mkStudio ( 42 canaryVersion 43 // { 44 channel = "canary"; 45 pname = "android-studio-for-platform-canary"; 46 } 47 ); 48}