mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
lambda-mod-zsh-theme: refactor to use fetchFromGitHub
for source retrieval
This commit is contained in:
parent
74c14f8b28
commit
ea5ff16bb0
@ -1,15 +1,15 @@
|
||||
{ stdenv, fetchgit }:
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
let
|
||||
pkgName = "lambda-mod-zsh-theme";
|
||||
repo = "lambda-mod-zsh-theme";
|
||||
rev = "eceee68cf46bba9f7f42887c2128b48e8861e31b";
|
||||
in stdenv.mkDerivation {
|
||||
name = "${pkgName}-${rev}";
|
||||
name = "${repo}-${rev}";
|
||||
|
||||
src = fetchgit {
|
||||
inherit rev;
|
||||
src = fetchFromGitHub {
|
||||
inherit rev repo;
|
||||
|
||||
url = "https://github.com/halfo/lambda-mod-zsh-theme";
|
||||
owner = "halfo";
|
||||
sha256 = "1410ryc22i20na5ypa1q6f106lkjj8n1qfjmb77q4rspi0ydaiy4";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user