mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix: format with alejandra
This commit is contained in:
parent
d5cad148da
commit
95eb4b71e0
118 changed files with 1291 additions and 1703 deletions
|
|
@ -6,38 +6,35 @@
|
|||
libiconv,
|
||||
darwin,
|
||||
zlib,
|
||||
}:
|
||||
|
||||
let
|
||||
}: let
|
||||
rev = "6392516c47d4573d16886b9fe5f79592b1c70d49";
|
||||
in
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "tokei";
|
||||
version = lib.substring 0 7 rev;
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "tokei";
|
||||
version = lib.substring 0 7 rev;
|
||||
src = fetchFromGitHub {
|
||||
owner = "XAMPPRocky";
|
||||
repo = "tokei";
|
||||
inherit rev;
|
||||
hash = "sha256-EYr4K1Bt+74jb85UQ3So0efrOcYAq71/4++kMCSPi1E=";
|
||||
};
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "XAMPPRocky";
|
||||
repo = "tokei";
|
||||
inherit rev;
|
||||
hash = "sha256-EYr4K1Bt+74jb85UQ3So0efrOcYAq71/4++kMCSPi1E=";
|
||||
};
|
||||
cargoHash = "sha256-fdAJwQNJczRqy0KQqse8QRx5+1gZTCBw+kkwgn6UGKU=";
|
||||
|
||||
cargoHash = "sha256-fdAJwQNJczRqy0KQqse8QRx5+1gZTCBw+kkwgn6UGKU=";
|
||||
patches = [
|
||||
./hledger.patch
|
||||
./skel.patch
|
||||
./why3.patch
|
||||
];
|
||||
|
||||
patches = [
|
||||
./hledger.patch
|
||||
./skel.patch
|
||||
./why3.patch
|
||||
];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
libiconv
|
||||
darwin.Security
|
||||
];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
libiconv
|
||||
darwin.Security
|
||||
];
|
||||
checkInputs = lib.optionals stdenv.isDarwin [zlib];
|
||||
|
||||
checkInputs = lib.optionals stdenv.isDarwin [ zlib ];
|
||||
|
||||
# enable all output formats
|
||||
buildFeatures = [ "all" ];
|
||||
}
|
||||
# enable all output formats
|
||||
buildFeatures = ["all"];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue