Browse Source

Update dependencies for NixOS 19.03

master
Peter J. Jones 4 months ago
parent
commit
184a50e74c
Signed by: Peter Jones <pjones@devalot.com> GPG Key ID: 9DAFAA8D01941E49
3 changed files with 15 additions and 16 deletions
  1. 1
    1
      LICENSE
  2. 8
    9
      default.nix
  3. 6
    6
      personal-webhooks.cabal

+ 1
- 1
LICENSE View File

@@ -1,4 +1,4 @@
Copyright (c) 2017,2018 Peter Jones <pjones@devalot.com>
Copyright (c) 2017-2019 Peter Jones <pjones@devalot.com>
All rights reserved.

Redistribution and use in source and binary forms, with or without

+ 8
- 9
default.nix View File

@@ -1,21 +1,20 @@
{ pkgs ? (import <nixpkgs> {})
}:

let
# If no package source is specified then default to this URL:
commit = "5b8a24a40ce11bbe1cb6ebf33ddb5adaaebbd43a";
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs-channels/tarball/${commit}";
# Remove the broken flag:
unBreak = drv: pkgs.haskell.lib.overrideCabal drv (drv: { broken = false; });

# Helper function to override Haskell packages:
haskellOverride = pkgs:
haskellOverride =
pkgs.haskellPackages.override (orig: {
overrides = pkgs.lib.composeExtensions
(orig.overrides or (_: _: {}))
(self: super: with pkgs.haskell.lib; {
table-layout = dontCheck (doJailbreak super.table-layout);
table-layout = unBreak (dontCheck (doJailbreak super.table-layout));
});
});

in

{ pkgs ? (import nixpkgs {}).pkgs
}:

(haskellOverride pkgs).callPackage ./personal-webhooks.nix { }
haskellOverride.callPackage ./personal-webhooks.nix { }

+ 6
- 6
personal-webhooks.cabal View File

@@ -1,11 +1,11 @@
name: personal-webhooks
version: 0.1.0.0
version: 0.1.0.1
synopsis: Trigger personal scripts from incoming HTTP requests
license: BSD2
license-file: LICENSE
author: Peter Jones <pjones@devalot.com>
maintainer: Peter Jones <pjones@devalot.com>
copyright: Copyright (c) 2017,2018 Peter J. Jones
copyright: Copyright (c) 2017-2019 Peter J. Jones
category: Web
build-type: Simple
cabal-version: >=1.10
@@ -80,23 +80,23 @@ library
build-depends: base >= 4.9 && < 5
, aeson >= 1.1 && < 2.0
, bytestring >= 0.10 && < 0.11
, containers >= 0.5 && < 0.6
, containers >= 0.5 && < 0.7
, cryptonite >= 0.23 && < 0.26
, data-default >= 0.7 && < 1.0
, directory >= 1.3 && < 1.4
, filepath >= 1.4 && < 1.5
, opaleye >= 0.6 && < 0.7
, optparse-applicative >= 0.13 && < 0.15
, postgresql-simple >= 0.5 && < 0.6
, postgresql-simple >= 0.5 && < 0.7
, postgresql-simple-migration >= 0.1 && < 0.2
, product-profunctors >= 0.8 && < 0.11
, resource-pool >= 0.2 && < 0.3
, sandi >= 0.4 && < 0.5
, sandi >= 0.4 && < 0.6
, template-haskell >= 2.11 && < 2.15
, text >= 1.2 && < 1.3
, time >= 1.6 && < 1.9
, transformers >= 0.5 && < 1.0
, yaml >= 0.8 && < 0.9
, yaml >= 0.8 && < 0.12

--------------------------------------------------------------------------------
executable webhooks

Loading…
Cancel
Save