Merge pull request #120613 from erikbackman/master

This commit is contained in:
Sandro 2021-05-01 18:42:40 +02:00 committed by GitHub
commit 4b2c9640e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 61 additions and 0 deletions

View file

@ -3029,6 +3029,12 @@
fingerprint = "F178 B4B4 6165 6D1B 7C15 B55D 4029 3358 C7B9 326B";
}];
};
erikbackman = {
email = "contact@ebackman.net";
github = "erikbackman";
githubId = 46724898;
name = "Erik Backman";
};
erikryb = {
email = "erik.rybakken@math.ntnu.no";
github = "erikryb";

View file

@ -0,0 +1,53 @@
{ stdenv
, lib
, fetchFromGitHub
, libpng
, xorg
, python3
, imagemagick
, gcc-arm-embedded
, pkg-config
}:
stdenv.mkDerivation rec {
pname = "numworks-epsilon";
version = "15.3.2";
src = fetchFromGitHub {
owner = "numworks";
repo = "epsilon";
rev = version;
sha256 = "1q34dilyypiggjs16486jm122yf20wcigqxvspc77ig9albaxgh5";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [
libpng
xorg.libXext
python3
imagemagick
gcc-arm-embedded
];
makeFlags = [
"PLATFORM=simulator"
];
installPhase = ''
runHook preInstall
mv ./output/release/simulator/linux/{epsilon.bin,epsilon}
mkdir -p $out/bin
cp -r ./output/release/simulator/linux/* $out/bin/
runHook postInstall
'';
meta = with lib; {
description = "Emulator for Epsilon, a High-performance graphing calculator operating system";
homepage = "https://numworks.com/";
license = licenses.cc-by-nc-sa-40;
maintainers = with maintainers; [ erikbackman ];
platforms = [ "x86_64-linux" ];
};
}

View file

@ -573,6 +573,8 @@ in
nix-gitignore = callPackage ../build-support/nix-gitignore { };
numworks-epsilon = callPackage ../applications/science/math/numworks-epsilon { };
ociTools = callPackage ../build-support/oci-tools { };
octant = callPackage ../applications/networking/cluster/octant { };