depot/third_party/nixpkgs/pkgs/by-name/pr/pretty-simple/package.nix

17 lines
440 B
Nix

{
haskell,
haskellPackages,
lib,
}:
haskell.lib.compose.justStaticExecutables (
haskell.lib.compose.overrideCabal (oldAttrs: {
maintainers = (oldAttrs.maintainers or [ ]) ++ [
lib.maintainers.cdepillabout
];
configureFlags = (oldAttrs.configureFlags or [ ]) ++ [ "-fbuildexe" ];
buildDepends = (oldAttrs.buildDepends or [ ]) ++ [ haskellPackages.optparse-applicative ];
}) haskellPackages.pretty-simple
)