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:
parent
0bbe51030e
commit
dc08e07e7c
1 changed files with 10 additions and 5 deletions
|
@ -1,12 +1,13 @@
|
||||||
{ lib, stdenv, fetchzip }:
|
{ lib, stdenv, fetchzip, unstableGitUpdater }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "mmc-utils";
|
pname = "mmc-utils";
|
||||||
version = "2021-05-11";
|
version = "unstable-2022-04-26";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip rec {
|
||||||
url = "https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git/snapshot/mmc-utils-43282e80e174cc73b09b81a4d17cb3a7b4dc5cfc.tar.gz";
|
url = "https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git/snapshot/mmc-utils-${passthru.rev}.tar.gz";
|
||||||
sha256 = "0l06ahmprqshh75pkdpagb8fgnp2bwn8q8hwp1yl3laww2ghm8i5";
|
passthru.rev = "b7e4d5a6ae9942d26a11de9b05ae7d52c0802802";
|
||||||
|
sha256 = "D2QgntRsa6Y39nCkXQupXFbJR++JfBpMeEZE0Gv0btc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
|
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
|
||||||
|
@ -17,6 +18,10 @@ stdenv.mkDerivation {
|
||||||
cp man/mmc.1 $out/share/man/man1/
|
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; {
|
meta = with lib; {
|
||||||
description = "Configure MMC storage devices from userspace";
|
description = "Configure MMC storage devices from userspace";
|
||||||
homepage = "https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git/";
|
homepage = "https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git/";
|
||||||
|
|
Loading…
Reference in a new issue