update nix-shell definition
This commit is contained in:
parent
cad5239b87
commit
84ae808b75
1 changed files with 51 additions and 2 deletions
53
shell.nix
53
shell.nix
|
@ -4,11 +4,60 @@ let
|
|||
|
||||
inherit (nixpkgs) pkgs;
|
||||
|
||||
postgresql-simple-migration = with haskellPackages; callPackage(
|
||||
{ mkDerivation, base, bytestring, cryptohash
|
||||
, directory, hspec, lib, postgresql-simple, text, time
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "postgresql-simple-migration";
|
||||
version = "0.1.15.0";
|
||||
sha256 = "6d37425a805c6268f323e63d091020622d17b88b37c8963da0b7d26ea787d648";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
libraryHaskellDepends = [
|
||||
base base64-bytestring bytestring cryptohash directory
|
||||
postgresql-simple time
|
||||
];
|
||||
executableHaskellDepends = [
|
||||
base base64-bytestring bytestring cryptohash directory
|
||||
postgresql-simple text time
|
||||
];
|
||||
testHaskellDepends = [ base bytestring hspec postgresql-simple ];
|
||||
homepage = "https://github.com/ameingast/postgresql-simple-migration";
|
||||
description = "PostgreSQL Schema Migrations";
|
||||
doCheck = false;
|
||||
license = lib.licenses.bsd3;
|
||||
})
|
||||
{};
|
||||
|
||||
base64-bytestring = with haskellPackages; callPackage(
|
||||
{ mkDerivation, base, bytestring, containers, criterion, deepseq
|
||||
, HUnit, lib, QuickCheck, split, test-framework
|
||||
, test-framework-hunit, test-framework-quickcheck2
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "base64-bytestring";
|
||||
version = "1.0.0.3";
|
||||
sha256 = "ef159d60ec14c0a3f3e26bab5c9fd7634d5e1b983c6a64f0b0c3261efe008fc7";
|
||||
libraryHaskellDepends = [ base bytestring ];
|
||||
testHaskellDepends = [
|
||||
base bytestring containers HUnit QuickCheck split test-framework
|
||||
test-framework-hunit test-framework-quickcheck2
|
||||
];
|
||||
benchmarkHaskellDepends = [
|
||||
base bytestring containers criterion deepseq
|
||||
];
|
||||
homepage = "https://github.com/haskell/base64-bytestring";
|
||||
description = "Fast base64 encoding and decoding for ByteStrings";
|
||||
license = lib.licenses.bsd3;
|
||||
})
|
||||
{};
|
||||
|
||||
f = { mkDerivation, aeson, base, base16-bytestring
|
||||
, base64-bytestring, bytestring, case-insensitive, clock
|
||||
, bytestring, case-insensitive, clock
|
||||
, containers, extra, HsYAML, http-api-data, http-types, iproute
|
||||
, mtl, network, opaleye, optparse-applicative, postgresql-simple
|
||||
, postgresql-simple-migration, product-profunctors, profunctors
|
||||
, product-profunctors, profunctors
|
||||
, pureMD5, random-bytestring, servant, servant-rawm, servant-server
|
||||
, stdenv, stm, text, time, wai, wai-logger, wai-middleware-throttle
|
||||
, warp
|
||||
|
|
Loading…
Reference in a new issue