Created
November 24, 2018 03:32
-
-
Save WhittlesJr/aebb9a9005cbde9cbaf13e3826e23c7e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv, fetchFromGitHub }: | |
with stdenv.lib; | |
stdenv.mkDerivation rec { | |
name = "hass-custom-alarm-${version}"; | |
version = "1.3.1"; | |
src = fetchFromGitHub { | |
owner = "gazoscalvertos"; | |
repo = "Hass-Custom-Alarm"; | |
rev = "v${version}"; | |
sha256 = "1xlwsyg45kmvx3gvkv7k5imbhkxan0s573lalkcqcflf078w7555"; | |
}; | |
dontInstall = true; | |
unpackPhase = '' | |
mkdir $out | |
cp -r * $out/. | |
''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment