mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-22 05:19:00 +02:00
mmc-utils: fetchgit -> fetchzip
There's no need to download the full git history when a tarball is available.
This commit is contained in:
parent
134b8fc0d4
commit
0bbe51030e
|
@ -1,12 +1,11 @@
|
|||
{ lib, stdenv, fetchgit }:
|
||||
{ lib, stdenv, fetchzip }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "mmc-utils";
|
||||
version = "2021-05-11";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git";
|
||||
rev = "43282e80e174cc73b09b81a4d17cb3a7b4dc5cfc";
|
||||
src = fetchzip {
|
||||
url = "https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git/snapshot/mmc-utils-43282e80e174cc73b09b81a4d17cb3a7b4dc5cfc.tar.gz";
|
||||
sha256 = "0l06ahmprqshh75pkdpagb8fgnp2bwn8q8hwp1yl3laww2ghm8i5";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue