hutils: migrate to by-name

This commit is contained in:
Primrose 2025-05-20 17:30:00 +02:00
parent e17698a07d
commit 53378b51a4
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
2 changed files with 19 additions and 5 deletions

View file

@ -0,0 +1,19 @@
{
haskellPackages,
haskell,
fetchFromGitea,
}: let
inherit (haskell.lib.compose) justStaticExecutables;
drv =
haskellPackages.callCabal2nix "hutils"
(fetchFromGitea {
domain = "git.confusedcompiler.org";
owner = "leana8959";
repo = "hutils";
rev = "ee04ec425af81e762362bc2c4bcd5d89ad50ddc8";
hash = "sha256-e22agWHNftl7zlXnPpzNyE3iJKPHxcE7tH1XRYfG+4Q=";
})
{};
in
justStaticExecutables drv

View file

@ -52,11 +52,6 @@ in rec {
}; };
}; };
hutils = mkHaskellPackage {
name = "hutils";
src = sources.hutils;
};
audio-lint = pkgs.rustPlatform.buildRustPackage rec { audio-lint = pkgs.rustPlatform.buildRustPackage rec {
pname = "audio-lint"; pname = "audio-lint";
version = lib.substring 0 8 sources.audio-lint.rev; version = lib.substring 0 8 sources.audio-lint.rev;