lambda-mod-zsh-theme: refactor to use fetchFromGitHub for source retrieval

This commit is contained in:
Maximilian Bosch 2017-03-30 21:07:14 +02:00
parent 74c14f8b28
commit ea5ff16bb0
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -1,15 +1,15 @@
{ stdenv, fetchgit }: { stdenv, fetchFromGitHub }:
let let
pkgName = "lambda-mod-zsh-theme"; repo = "lambda-mod-zsh-theme";
rev = "eceee68cf46bba9f7f42887c2128b48e8861e31b"; rev = "eceee68cf46bba9f7f42887c2128b48e8861e31b";
in stdenv.mkDerivation { in stdenv.mkDerivation {
name = "${pkgName}-${rev}"; name = "${repo}-${rev}";
src = fetchgit { src = fetchFromGitHub {
inherit rev; inherit rev repo;
url = "https://github.com/halfo/lambda-mod-zsh-theme"; owner = "halfo";
sha256 = "1410ryc22i20na5ypa1q6f106lkjj8n1qfjmb77q4rspi0ydaiy4"; sha256 = "1410ryc22i20na5ypa1q6f106lkjj8n1qfjmb77q4rspi0ydaiy4";
}; };