Skip to content
Snippets Groups Projects
Commit b011fc27 authored by Raoul Hidalgo Charman's avatar Raoul Hidalgo Charman
Browse files

Add cabal-fmt

parent 6ff00701
Branches
No related merge requests found
......@@ -91,6 +91,7 @@ let packages =
, bytestring-tree-builder =
H.callHackage "bytestring-tree-builder" "0.2.7.11"
, c2hs = H.callHackage "c2hs" "0.28.8"
, cabal-fmt = H.callHackage "cabal-fmt" "0.1.9"
, cache = H.callHackage "cache" "0.1.3.0"
, canonical-json = H.callHackage "canonical-json" "0.6.0.1"
, casing = H.callHackage "casing" "0.1.4.1"
......
......@@ -278,6 +278,10 @@
, mapValue =
"6d6262823310cf14a23c4fb5e0374a16a29b0ca6f667e9d0510f17383c3951b0"
}
, { mapKey = "cabal-fmt"
, mapValue =
"7da8d5b11fb001d85323ae05a3b1b090b35e55f93d2ed5bba5aef3c18d711623"
}
, { mapKey = "cache"
, mapValue =
"a49e00288043640d75f03ee1ef20218116f36561ef2573ac7321fcf6b3881105"
......
......@@ -141,6 +141,8 @@ final: prev: with pkgs.haskell.lib; {
c2hs = final.callPackage (./pkgs/c2hs.nix) { };
cabal-fmt = final.callPackage (./pkgs/cabal-fmt.nix) { };
cache = final.callPackage (./pkgs/cache.nix) { };
canonical-json = final.callPackage (./pkgs/canonical-json.nix) { };
......
{ mkDerivation, Cabal-syntax, QuickCheck, base, bytestring
, containers, directory, filepath, integer-logarithms, lib, mtl
, optparse-applicative, parsec, pretty, process, tasty
, tasty-golden, tasty-hunit, tasty-quickcheck, temporary
}:
mkDerivation {
pname = "cabal-fmt";
version = "0.1.9";
sha256 = "963c57afe24e450733feb536fde3478412a3b423f748a4858504c0134ff76c01";
isLibrary = false;
isExecutable = true;
enableSeparateDataOutput = false;
libraryHaskellDepends = [
base bytestring Cabal-syntax containers directory filepath mtl
parsec pretty
];
executableHaskellDepends = [
base bytestring directory filepath optparse-applicative
];
testHaskellDepends = [
base bytestring Cabal-syntax containers filepath integer-logarithms
process QuickCheck tasty tasty-golden tasty-hunit tasty-quickcheck
temporary
];
enableLibraryProfiling = true;
enableExecutableProfiling = true;
doHaddock = false;
jailbreak = true;
doCheck = false;
doBenchmark = false;
hyperlinkSource = false;
description = "Format .cabal files";
license = "GPL-3.0-or-later AND BSD-3-Clause";
broken = false;
}
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment