mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
hutils: migrate to by-name
This commit is contained in:
parent
e17698a07d
commit
53378b51a4
2 changed files with 19 additions and 5 deletions
19
nix/packages/by-name/hutils/package.nix
Normal file
19
nix/packages/by-name/hutils/package.nix
Normal 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
|
||||
|
|
@ -52,11 +52,6 @@ in rec {
|
|||
};
|
||||
};
|
||||
|
||||
hutils = mkHaskellPackage {
|
||||
name = "hutils";
|
||||
src = sources.hutils;
|
||||
};
|
||||
|
||||
audio-lint = pkgs.rustPlatform.buildRustPackage rec {
|
||||
pname = "audio-lint";
|
||||
version = lib.substring 0 8 sources.audio-lint.rev;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue