mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
Another saturday another useless formatter change. It's my dotfiles, after all alejandra doesn't handle c-style inline comments well.
25 lines
593 B
Nix
25 lines
593 B
Nix
{
|
|
rustPlatform,
|
|
fetchFromGitea,
|
|
}:
|
|
rustPlatform.buildRustPackage (
|
|
finalAttrs:
|
|
let
|
|
cargoToml = fromTOML (builtins.readFile (finalAttrs.src + "/Cargo.toml"));
|
|
cargoLock = finalAttrs.src + "/Cargo.lock";
|
|
in
|
|
{
|
|
pname = "audio-lint";
|
|
version = cargoToml.package.version;
|
|
|
|
src = fetchFromGitea {
|
|
domain = "git.confusedcompiler.org";
|
|
owner = "leana8959";
|
|
repo = "audio-lint";
|
|
rev = "3ea38c85c5f6135958e51ad4ff13a96ccd68a21c";
|
|
hash = "sha256-h1SnWAh3FPL5GweOXVXXtp+swZApgecYaWjy7rM/J+w=";
|
|
};
|
|
|
|
cargoLock.lockFile = cargoLock;
|
|
}
|
|
)
|