1
Fork 0
mirror of https://github.com/RGBCube/alejandra synced 2025-07-31 12:37:45 +00:00

add thanks to contributors

This commit is contained in:
Kevin Amado 2023-05-15 21:40:30 -06:00
parent 5b83d8aa63
commit 9512caae61
4 changed files with 124 additions and 126 deletions

View file

@ -251,7 +251,7 @@ Thank you ❤️
- [Kevin Amado](https://github.com/kamadorueda) ~ - [Kevin Amado](https://github.com/kamadorueda) ~
[Email](mailto:kamadorueda@gmail.com), [Email](mailto:kamadorueda@gmail.com),
[Patreon](https://www.patreon.com/kamadorueda). [LinkedIn](https://www.linkedin.com/in/kamadorueda).
- [Thomas Bereknyei](https://github.com/tomberek). - [Thomas Bereknyei](https://github.com/tomberek).
- [Piegames](https://github.com/piegamesde). - [Piegames](https://github.com/piegamesde).
- [Joachim Ernst](https://github.com/0x4A6F). - [Joachim Ernst](https://github.com/0x4A6F).
@ -262,7 +262,9 @@ Thank you ❤️
- [Rok Garbas](https://github.com/garbas). - [Rok Garbas](https://github.com/garbas).
- [Yorick van Pelt](https://github.com/yorickvP). - [Yorick van Pelt](https://github.com/yorickvP).
- [Rehno Lindeque](https://github.com/rehno-lindeque). - [Rehno Lindeque](https://github.com/rehno-lindeque).
- [Rebecca Turner](https://github.com/9999years).
- [Jörg Thalheim](https://github.com/Mic92). - [Jörg Thalheim](https://github.com/Mic92).
- [Nathan Henrie](https://github.com/n8henrie).
- [Vincent Ambo](https://github.com/tazjin). - [Vincent Ambo](https://github.com/tazjin).
- [Jamie Quigley](https://github.com/Sciencentistguy). - [Jamie Quigley](https://github.com/Sciencentistguy).
- [Loïc Reynier](https://github.com/loicreynier). - [Loïc Reynier](https://github.com/loicreynier).

View file

@ -32,20 +32,7 @@
alejandra = final.rustPlatform.buildRustPackage { alejandra = final.rustPlatform.buildRustPackage {
pname = "alejandra"; pname = "alejandra";
inherit version; inherit version;
src = final.stdenv.mkDerivation { src = ./.;
name = "src";
builder = builtins.toFile "builder.sh" ''
source $stdenv/setup
mkdir $out
cp -rT --no-preserve=mode,ownership $src $out/src/
cp $cargoLock $out/Cargo.lock
cp $cargoToml $out/Cargo.toml
'';
cargoLock = ./Cargo.lock;
cargoToml = ./Cargo.toml;
src = ./src;
};
cargoLock.lockFile = ./Cargo.lock; cargoLock.lockFile = ./Cargo.lock;
passthru.tests = { passthru.tests = {

View file

@ -1,4 +1,10 @@
{ fetchurl, fetchgit, linkFarm, runCommand, gnutar }: rec { {
fetchurl,
fetchgit,
linkFarm,
runCommand,
gnutar,
}: rec {
offline_cache = linkFarm "offline" packages; offline_cache = linkFarm "offline" packages;
packages = [ packages = [
{ {

View file

@ -18,10 +18,11 @@ pub(crate) fn random_ad() -> String {
fn sponsor_benefits() -> String { fn sponsor_benefits() -> String {
let sponsors = [ let sponsors = [
// Proportional to total past and present contributions // Proportional to total past and present contributions
(0.1247, "GuangTao Zhang"), (0.0908, "Guangtao Zhang"),
(0.1468, "Fabio Leimgruber"), (0.1069, "Fabio Leimgruber"),
(0.2495, "Raphael Megzari"), (0.1815, "Raphael Megzari"),
(0.4790, "Daniel Salazar"), (0.3485, "Daniel Salazar"),
(0.2723, "https://mercury.com"),
]; ];
let name = random_weighted_choice(&sponsors[..]); let name = random_weighted_choice(&sponsors[..]);
@ -43,9 +44,11 @@ fn contributor_thanks() -> String {
(1.0, ("Loïc Reynier", "loicreynier")), (1.0, ("Loïc Reynier", "loicreynier")),
(1.0, ("Matthew Kenigsberg", "mkenigs")), (1.0, ("Matthew Kenigsberg", "mkenigs")),
(1.0, ("Mr Hedgehog", "ModdedGamers")), (1.0, ("Mr Hedgehog", "ModdedGamers")),
(1.0, ("Nathan Henrie", "n8henrie")),
(1.0, ("Norbert Melzer", "NobbZ")), (1.0, ("Norbert Melzer", "NobbZ")),
(1.0, ("Patrick Stevens", "Smaug123")), (1.0, ("Patrick Stevens", "Smaug123")),
(1.0, ("Piegames", "piegamesde")), (1.0, ("Piegames", "piegamesde")),
(1.0, ("Rebecca Turner", "9999years")),
(1.0, ("Rehno Lindeque", "rehno-lindeque")), (1.0, ("Rehno Lindeque", "rehno-lindeque")),
(1.0, ("Rok Garbas", "garbas")), (1.0, ("Rok Garbas", "garbas")),
(1.0, ("Ryan Mulligan", "ryantm")), (1.0, ("Ryan Mulligan", "ryantm")),