1 { lib, stdenv, fetchFromGitHub, nasm, unixtools }:
8 pname = "gordonflashtool";
11 src = fetchFromGitHub {
13 repo = "GordonFlashTool";
14 rev = "release-${version}";
15 hash = "sha256-/zpw7kVdQeR7QcRsP1+qcu8+hlEQTGwOKClJkwVcBPg=";
18 nativeBuildInputs = [ nasm unixtools.xxd ];
22 # build the gordon binary
29 install -Dm755 gordon $out/bin/gordon
34 homepage = "https://github.com/marmolak/GordonFlashTool";
35 description = "Toolset for Gotek SFR1M44-U100 formatted usb flash drives";
36 maintainers = with lib.maintainers; [ marmolak ];
37 license = lib.licenses.bsd3;
38 platforms = lib.platforms.all;
39 mainProgram = "gordon";