18 stdenv.mkDerivation (finalAttrs: {
22 src = fetchFromGitHub {
25 rev = "uuu_${finalAttrs.version}";
26 hash = "sha256-I0EX+vsaOwz+HJUWFC5Z/xRu6xegzEfmuAlBd/OSAp4=";
29 passthru.updateScript = nix-update-script {
30 extraArgs = [ "--version-regex" "uuu_\([0-9.]+\)" ];
49 # Avoid the need of calling Git during the build.
50 echo "uuu_${finalAttrs.version}" > .tarball-version
54 installShellCompletion --bash --name uuu.bash ${./completion.bash}
56 mkdir -p $out/lib/udev/rules.d
57 cat <($out/bin/uuu -udev) > $out/lib/udev/rules.d/70-uuu.rules
61 description = "Freescale/NXP I.MX Chip image deploy tools";
62 homepage = "https://github.com/nxp-imx/mfgtools";
63 license = licenses.bsd3;
64 maintainers = with maintainers; [ otavio ];
66 platforms = platforms.all;