mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
nix/packages: move audio-lint input to sources.json
This commit is contained in:
parent
d6ad204ca3
commit
85f4c6a01a
2 changed files with 12 additions and 16 deletions
|
|
@ -121,20 +121,10 @@ in rec {
|
|||
src = sources.hutils;
|
||||
};
|
||||
|
||||
audio-lint = let
|
||||
rev = "3ea38c85c5f6135958e51ad4ff13a96ccd68a21c";
|
||||
in
|
||||
pkgs.rustPlatform.buildRustPackage rec {
|
||||
pname = "audio-lint";
|
||||
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";
|
||||
};
|
||||
audio-lint = pkgs.rustPlatform.buildRustPackage rec {
|
||||
pname = "audio-lint";
|
||||
version = lib.substring 0 8 sources.audio-lint.rev;
|
||||
src = sources.audio-lint;
|
||||
cargoLock.lockFile = "${src}/Cargo.lock";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,6 +12,12 @@
|
|||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz",
|
||||
"version": "0.15.0"
|
||||
},
|
||||
"audio-lint": {
|
||||
"branch": "main",
|
||||
"repo": "https://git.confusedcompiler.org/leana8959/audio-lint",
|
||||
"rev": "3ea38c85c5f6135958e51ad4ff13a96ccd68a21c",
|
||||
"type": "git"
|
||||
},
|
||||
"disko": {
|
||||
"branch": "master",
|
||||
"description": "Declarative disk partitioning and formatting using nix [maintainers=Lassulus Enzime iFreilicht Mic92 phaer]",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue