restool: 20.12 → 2.4

Upstream appears to have changed their versioning scheme. Instead of
being tied to LSDK date-based versions, restool is versioned
independently.

There are no tags or releases following the new versioning scheme, so
update the package to take the most recent commit (27 Oct 2021). This
also matches the revision that Fedora has packaged as version 2.4.

+9 -6
+9 -6
pkgs/os-specific/linux/restool/default.nix
··· 1 - { stdenv, lib, fetchgit, bash, coreutils, dtc, file, gawk, gnugrep, gnused, which }: 2 3 stdenv.mkDerivation rec { 4 pname = "restool"; 5 - version = "20.12"; 6 7 src = fetchgit { 8 url = "https://source.codeaurora.org/external/qoriq/qoriq-components/restool"; 9 - rev = "LSDK-${version}"; 10 - sha256 = "137xvvms3n4wwb5v2sv70vsib52s3s314306qa0mqpgxf9fb19zl"; 11 }; 12 13 - nativeBuildInputs = [ file ]; 14 buildInputs = [ bash coreutils dtc gawk gnugrep gnused which ]; 15 16 makeFlags = [ 17 - "prefix=$(out)" 18 "VERSION=${version}" 19 ]; 20
··· 1 + { stdenv, lib, fetchgit, bash, coreutils, dtc, file, gawk, gnugrep, gnused, pandoc, which }: 2 3 stdenv.mkDerivation rec { 4 pname = "restool"; 5 + version = "2.4"; 6 7 src = fetchgit { 8 url = "https://source.codeaurora.org/external/qoriq/qoriq-components/restool"; 9 + rev = "abd2f5b7181db9d03db9e6ccda0194923b73e9a2"; 10 + sha256 = "sha256-ryTDyqSy39e8Omf7l8lK4mLWr8jccDhMVPldkVGSQVo="; 11 }; 12 13 + nativeBuildInputs = [ file pandoc ]; 14 buildInputs = [ bash coreutils dtc gawk gnugrep gnused which ]; 15 16 + enableParallelBuilding = true; 17 makeFlags = [ 18 + "prefix=" 19 + "bindir_completion=/share/bash-completion/completions" 20 + "DESTDIR=$(out)" 21 "VERSION=${version}" 22 ]; 23