depot/third_party/nixpkgs/pkgs/by-name/ni/nixfmt-rfc-style/generated-package.nix

59 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,
safe-exceptions,
scientific,
text,
transformers,
unix,
}:
mkDerivation {
pname = "nixfmt";
version = "0.6.0";
src = fetchzip {
url = "https://github.com/nixos/nixfmt/archive/a4639036723e510d8331124c80d9ca14dd7aba02.tar.gz";
sha256 = "0zpkljcvfnwn1ik5cgvq396xkpp053k4lh62a24c4g434n2vz0rj";
};
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
base
megaparsec
mtl
parser-combinators
pretty-simple
scientific
text
transformers
];
executableHaskellDepends = [
base
bytestring
cmdargs
directory
file-embed
filepath
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";
}