nix/packages: move audio-lint input to sources.json

This commit is contained in:
Primrose 2025-05-03 22:36:37 +02:00
parent d6ad204ca3
commit 85f4c6a01a
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
2 changed files with 12 additions and 16 deletions

View file

@ -121,20 +121,10 @@ in rec {
src = sources.hutils; src = sources.hutils;
}; };
audio-lint = let audio-lint = pkgs.rustPlatform.buildRustPackage rec {
rev = "3ea38c85c5f6135958e51ad4ff13a96ccd68a21c"; pname = "audio-lint";
in version = lib.substring 0 8 sources.audio-lint.rev;
pkgs.rustPlatform.buildRustPackage rec { src = sources.audio-lint;
pname = "audio-lint"; cargoLock.lockFile = "${src}/Cargo.lock";
version = lib.substring 0 8 rev; };
src = pkgs.fetchFromGitea {
domain = "git.confusedcompiler.org";
owner = "leana8959";
repo = "audio-lint";
inherit rev;
hash = "sha256-h1SnWAh3FPL5GweOXVXXtp+swZApgecYaWjy7rM/J+w=";
};
cargoLock.lockFile = "${src}/Cargo.lock";
};
} }

View file

@ -12,6 +12,12 @@
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz", "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz",
"version": "0.15.0" "version": "0.15.0"
}, },
"audio-lint": {
"branch": "main",
"repo": "https://git.confusedcompiler.org/leana8959/audio-lint",
"rev": "3ea38c85c5f6135958e51ad4ff13a96ccd68a21c",
"type": "git"
},
"disko": { "disko": {
"branch": "master", "branch": "master",
"description": "Declarative disk partitioning and formatting using nix [maintainers=Lassulus Enzime iFreilicht Mic92 phaer]", "description": "Declarative disk partitioning and formatting using nix [maintainers=Lassulus Enzime iFreilicht Mic92 phaer]",