Skip to content
Snippets Groups Projects
default.nix 255 B
Newer Older
Jens Nolte's avatar
Jens Nolte committed
{ haskell, fetchgit, callCabal2nix }:

let
  repo = with builtins; fromJSON ( readFile ./repo.json );
  src = fetchgit {
    inherit (repo) url rev sha256;
  };
in
haskell.lib.generateOptparseApplicativeCompletion "qbar" (
  callCabal2nix "qbar" src {}
)