blink: init at 1.0.0

This commit is contained in:
t4ccer 2023-04-15 19:16:58 -06:00
parent 4ece4cc2c1
commit d9ab7b1b65
No known key found for this signature in database
GPG key ID: 19E5A2D8B1E43F19
3 changed files with 35 additions and 1 deletions

View file

@ -0,0 +1,33 @@
{ stdenv, fetchFromGitHub, lib }:
stdenv.mkDerivation (finalAttrs: {
pname = "blink";
version = "1.0.0";
src = fetchFromGitHub {
owner = "jart";
repo = "blink";
rev = finalAttrs.version;
hash = "sha256-W7yL7Ut3MRygJhFGr+GIj/CK57MkuDTcenft8IvH7jU=";
};
# 'make check' requires internet connection
doCheck = true;
checkPhase = ''
make test
'';
meta = {
description = "Tiniest x86-64-linux emulator";
longDescription = ''
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
- blink is much smaller in size than qemu-x86_64
- blink will run your Linux binaries on any POSIX platform, whereas qemu-x86_64 only supports Linux
- 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
'';
homepage = "https://github.com/jart/blink";
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ t4ccer ];
};
})

View file

@ -172,7 +172,6 @@ mapAliases ({
bitwarden_rs-vault = vaultwarden-vault;
blink = throw "blink has been removed from nixpkgs, it was unmaintained and required python2 at the time of removal"; # Added 2022-01-12
bs1770gain = throw "bs1770gain has been removed from nixpkgs, as it had no maintainer or reverse dependencies"; # Added 2021-01-02
bsod = throw "bsod has been removed: deleted by upstream"; # Added 2022-01-07
btc1 = throw "btc1 has been removed, it was abandoned by upstream"; # Added 2020-11-03

View file

@ -3870,6 +3870,8 @@ with pkgs;
bless = callPackage ../applications/editors/bless { };
blink = callPackage ../applications/emulators/blink { };
blink1-tool = callPackage ../tools/misc/blink1-tool { };
blis = callPackage ../development/libraries/science/math/blis { };