Files
nixpkgs/pkgs/by-name/ni/nixfmt/generated-package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

62 lines
1.1 KiB
Nix

# This file has been autogenerate with cabal2nix.
# Update via ./update.sh
{
mkDerivation,
base,
bytestring,
cmdargs,
directory,
fetchzip,
file-embed,
filepath,
lib,
megaparsec,
mtl,
parser-combinators,
pretty-simple,
process,
safe-exceptions,
scientific,
text,
transformers,
unix,
}:
mkDerivation {
pname = "nixfmt";
version = "1.1.0";
src = fetchzip {
url = "https://github.com/nixos/nixfmt/archive/v1.1.0.tar.gz";
sha256 = "19sydkdw1579qmvzx0zq06s23bm6m6l9wp1kvsfhxawk8pkz2pc2";
};
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
base
megaparsec
mtl
parser-combinators
pretty-simple
scientific
text
transformers
];
executableHaskellDepends = [
base
bytestring
cmdargs
directory
file-embed
filepath
process
safe-exceptions
text
transformers
unix
];
jailbreak = true;
homepage = "https://github.com/NixOS/nixfmt";
description = "Official formatter for Nix code";
license = lib.licenses.mpl20;
mainProgram = "nixfmt";
}