3
0
Fork 0
forked from mirrors/nixpkgs

mmc-utils: 2021-05-11 -> unstable-2022-04-26

I did this with unstableGitUpdater, which should help this package
stay up to date in future.
This commit is contained in:
Alyssa Ross 2022-06-09 11:17:59 +00:00
parent 0bbe51030e
commit dc08e07e7c

View file

@ -1,12 +1,13 @@
{ lib, stdenv, fetchzip }:
{ lib, stdenv, fetchzip, unstableGitUpdater }:
stdenv.mkDerivation {
pname = "mmc-utils";
version = "2021-05-11";
version = "unstable-2022-04-26";
src = fetchzip {
url = "https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git/snapshot/mmc-utils-43282e80e174cc73b09b81a4d17cb3a7b4dc5cfc.tar.gz";
sha256 = "0l06ahmprqshh75pkdpagb8fgnp2bwn8q8hwp1yl3laww2ghm8i5";
src = fetchzip rec {
url = "https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git/snapshot/mmc-utils-${passthru.rev}.tar.gz";
passthru.rev = "b7e4d5a6ae9942d26a11de9b05ae7d52c0802802";
sha256 = "D2QgntRsa6Y39nCkXQupXFbJR++JfBpMeEZE0Gv0btc=";
};
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
@ -17,6 +18,10 @@ stdenv.mkDerivation {
cp man/mmc.1 $out/share/man/man1/
'';
passthru.updateScript = unstableGitUpdater {
url = "https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git";
};
meta = with lib; {
description = "Configure MMC storage devices from userspace";
homepage = "https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git/";