default.nix (2385B)
1 # Custom packages, that can be defined similarly to ones from nixpkgs 2 # You can build them using 'nix build .#example' or (legacy) 'nix-build -A example' 3 {pkgs ? (import ../nixpkgs.nix) {}}: { 4 # example = pkgs.callPackage ./example { }; 5 discourse-footnote = 6 pkgs.discourse.mkDiscoursePlugin 7 { 8 name = "discourse-footnote"; 9 src = pkgs.fetchFromGitHub { 10 owner = "discourse"; 11 repo = "discourse-footnote"; 12 rev = "0986e5af27b1a34928e17b8824bfc6de1ba55199"; 13 sha256 = "sha256-jF7FzFjMcy5YNdfd5W7gvkzl755UbEmlHUl9j67/DvE="; 14 }; 15 }; 16 discourse-cakeday = 17 pkgs.discourse.mkDiscoursePlugin 18 { 19 name = "discourse-cakeday"; 20 src = pkgs.fetchFromGitHub { 21 owner = "discourse"; 22 repo = "discourse-cakeday"; 23 rev = "14538bc419ed6bd268d116c128d970c9c380c822"; 24 sha256 = "sha256-1OtI+or47XBwq3mdRfOIg3OGCfVzNcK4hseJs7H+Vm8"; 25 }; 26 }; 27 discourse-templates = 28 pkgs.discourse.mkDiscoursePlugin 29 { 30 name = "discourse-templates"; 31 src = pkgs.fetchFromGitHub { 32 owner = "discourse"; 33 repo = "discourse-templates"; 34 rev = "decadc74394d1db64c59abdf48859cf4fdbca57c"; 35 sha256 = "sha256-rhkwAZGq9WPqVBuLc5eZJz+ve8x1nk6pVoYNEfDmPwI="; 36 }; 37 }; 38 discourse-gamification = 39 pkgs.discourse.mkDiscoursePlugin 40 { 41 name = "discourse-gamification"; 42 src = pkgs.fetchFromGitHub { 43 owner = "discourse"; 44 repo = "discourse-gamification"; 45 rev = "2a9ad0df39bad537a6bd7ca38a578c4d6d60ebbc"; 46 sha256 = "sha256-urmCt3FCIU0YSbkEJgDOzN/2dYjyYnPstjWCGOp/Vbs="; 47 }; 48 }; 49 discourse-locations = 50 pkgs.discourse.mkDiscoursePlugin 51 { 52 name = "discourse-locations"; 53 src = pkgs.fetchFromGitHub { 54 owner = "paviliondev"; 55 repo = "discourse-locations"; 56 rev = "58c5eabb47237b1485e76c93501433ee02011430"; 57 sha256 = "sha256-iTcGzlw5sX2/n8k7K07ScdX918eDX+lYS7Gly69dYis="; 58 }; 59 }; 60 # discourse-spoiler-alert = pkgs.discourse.mkDiscoursePlugin 61 # { 62 # name = "discourse-spoiler-alert"; 63 # src = pkgs.fetchFromGitHub { 64 # owner = "discourse"; 65 # repo = "discourse-spoiler-alert"; 66 # rev = "b57e79343acc15cb2c0a032a2deb29ad4b9d53cc"; 67 # sha256 = "sha256-Ypt6PYCZzArCv9KkCtw5rfT6++dDoUx5q9m/eMvP0Sc"; 68 # }; 69 # }; 70 }