Use fetchFromGitHub to download adl

This commit is contained in:
Henrik Lissner 2021-02-28 15:27:08 -05:00
parent 2286d85a68
commit 776ae31d1a

View file

@ -1,11 +1,13 @@
{ lib, stdenv, fetchzip, my, ... }: { lib, stdenv, fetchFromGitHub, my, ... }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "adl"; name = "adl";
src = fetchzip { src = fetchFromGitHub {
url = "https://github.com/RaitaroH/adl/archive/master.zip"; owner = "RaitaroH";
sha256 = "HtKSPD3g0y68A37N4HhOIorW4sPyOr4ei9wABFh4GYc="; repo = "adl";
rev = "7752e36f92cd6d6f00d4a7eccdde9cf141abb06e";
sha256 = "MmVPh8edSw/h+3uvYbYHQLX/66pY5Yk0v/OCL7RayBE=";
}; };
buildInputs = with my; [ buildInputs = with my; [