···11+{ stdenv, fetchFromGitHub, lib }:
22+33+stdenv.mkDerivation (finalAttrs: {
44+ pname = "blink";
55+ version = "1.0.0";
66+77+ src = fetchFromGitHub {
88+ owner = "jart";
99+ repo = "blink";
1010+ rev = finalAttrs.version;
1111+ hash = "sha256-W7yL7Ut3MRygJhFGr+GIj/CK57MkuDTcenft8IvH7jU=";
1212+ };
1313+1414+ # 'make check' requires internet connection
1515+ doCheck = true;
1616+ checkPhase = ''
1717+ make test
1818+ '';
1919+2020+ meta = {
2121+ description = "Tiniest x86-64-linux emulator";
2222+ longDescription = ''
2323+ blink is a virtual machine that runs x86-64-linux programs on different operating systems and hardware architectures. It's designed to do the same thing as the qemu-x86_64 command, except that
2424+ - blink is much smaller in size than qemu-x86_64
2525+ - blink will run your Linux binaries on any POSIX platform, whereas qemu-x86_64 only supports Linux
2626+ - blink goes 2x faster than qemu-x86_64 on some benchmarks, such as SSE integer / floating point math. Blink is also faster at running ephemeral programs such as compilers
2727+ '';
2828+2929+ homepage = "https://github.com/jart/blink";
3030+ license = lib.licenses.isc;
3131+ maintainers = with lib.maintainers; [ t4ccer ];
3232+ };
3333+})
···180180 bitwarden_rs-vault = vaultwarden-vault;
181181182182183183- blink = throw "blink has been removed from nixpkgs, it was unmaintained and required python2 at the time of removal"; # Added 2022-01-12
184183 bs1770gain = throw "bs1770gain has been removed from nixpkgs, as it had no maintainer or reverse dependencies"; # Added 2021-01-02
185184 bsod = throw "bsod has been removed: deleted by upstream"; # Added 2022-01-07
186185 btc1 = throw "btc1 has been removed, it was abandoned by upstream"; # Added 2020-11-03