1 { dhallPackages, fetchFromGitHub }:
3 # This file tests that dhallPackages.generateDhallDirectoryPackage works.
5 # TODO: It would be nice to extend this test to make sure that the resulting
6 # Nix file has the expected contents, but it might be tough to do that easily
9 dhallPackages.generateDhallDirectoryPackage {
10 src = fetchFromGitHub {
11 owner = "cdepillabout";
12 repo = "example-dhall-nix";
13 rev = "e6a675c72ecd4dd23d254a02aea8181fe875747f";
14 sha256 = "sha256-c/EZq76s/+hmLkaeJWKqgh2KrHuJRYI6kWry0E0YQ6s=";
16 file = "mydhallfile.dhall";