diff options
author | Alyssa Ross <hi@alyssa.is> | 2022-06-09 11:17:59 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2022-06-10 08:49:46 +0000 |
commit | dc08e07e7c40f3fe6b704ed58fcc178a5a92602e (patch) | |
tree | 29fc23ac5a877b9d7a54ce9b9973f7449045fdf1 /pkgs/os-specific | |
parent | 0bbe51030e6e891c012ed251053c038cff27eeb6 (diff) | |
download | nixpkgs-dc08e07e7c40f3fe6b704ed58fcc178a5a92602e.tar nixpkgs-dc08e07e7c40f3fe6b704ed58fcc178a5a92602e.tar.gz nixpkgs-dc08e07e7c40f3fe6b704ed58fcc178a5a92602e.tar.bz2 nixpkgs-dc08e07e7c40f3fe6b704ed58fcc178a5a92602e.tar.lz nixpkgs-dc08e07e7c40f3fe6b704ed58fcc178a5a92602e.tar.xz nixpkgs-dc08e07e7c40f3fe6b704ed58fcc178a5a92602e.tar.zst nixpkgs-dc08e07e7c40f3fe6b704ed58fcc178a5a92602e.zip |
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.
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/mmc-utils/default.nix | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/pkgs/os-specific/linux/mmc-utils/default.nix b/pkgs/os-specific/linux/mmc-utils/default.nix index 24249f9111d..76927f79158 100644 --- a/pkgs/os-specific/linux/mmc-utils/default.nix +++ b/pkgs/os-specific/linux/mmc-utils/default.nix @@ -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/"; |