From 7d6576966d4477cb026bf7a7d238343e0dea31c2 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Thu, 13 Feb 2020 17:12:09 +0000 Subject: [PATCH] easy-dhall-nix --- nix/dhall-yaml.nix | 5 +++++ nix/sources.json | 12 ++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 nix/dhall-yaml.nix diff --git a/nix/dhall-yaml.nix b/nix/dhall-yaml.nix new file mode 100644 index 0000000..ddb8c3d --- /dev/null +++ b/nix/dhall-yaml.nix @@ -0,0 +1,5 @@ +let + sources = import ./sources.nix; + pkgs = import sources.nixpkgs { }; + dhall = import sources.easy-dhall-nix { inherit pkgs; }; +in dhall.dhall-yaml-simple diff --git a/nix/sources.json b/nix/sources.json index 00661ab..2fc6254 100644 --- a/nix/sources.json +++ b/nix/sources.json @@ -1,4 +1,16 @@ { + "easy-dhall-nix": { + "branch": "master", + "description": "Derivations for easily downloading Dhall binaries and putting them to use.", + "homepage": "", + "owner": "justinwoo", + "repo": "easy-dhall-nix", + "rev": "735ad924fd829c9bbee0a167e0b2bbbf91e2cad5", + "sha256": "1r3sqs1cz0mcfwfvaq1d21vnppg5sqzqdl6w9krsw5ad5czkk190", + "type": "tarball", + "url": "https://github.com/justinwoo/easy-dhall-nix/archive/735ad924fd829c9bbee0a167e0b2bbbf91e2cad5.tar.gz", + "url_template": "https://github.com///archive/.tar.gz" + }, "niv": { "branch": "master", "description": "Easy dependency management for Nix projects",