6 stdenv.mkDerivation (finalAttrs: {
11 url = "https://www.cgsecurity.org/cmospwd-${finalAttrs.version}.tar.bz2";
12 hash = "sha256-8pbSl5eUsKa3JrgK/JLk0FnGXcJhKksJN3wWiDPYYvQ=";
15 makeFlags = [ "CC:=$(CC)" ];
20 # It already contains compiled executable (that doesn't work), so make
21 # will refuse to build if it's still there
25 # There is no install make target
28 install -Dm0755 cmospwd -t "$out/bin"
33 description = "Decrypt password stored in cmos used to access BIOS SETUP";
34 mainProgram = "cmospwd";
35 homepage = "https://www.cgsecurity.org/wiki/CmosPwd";
36 license = licenses.gpl2Plus;
37 maintainers = with maintainers; [ t4ccer ];
38 platforms = [ "x86_64-linux" ];