(numworks-epsilon): init at 15.3.2
This commit is contained in:
parent
8298d66e42
commit
95b40e4143
2 changed files with 55 additions and 0 deletions
53
pkgs/applications/science/math/numworks-epsilon/default.nix
Normal file
53
pkgs/applications/science/math/numworks-epsilon/default.nix
Normal 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" ];
|
||||
};
|
||||
}
|
|
@ -569,6 +569,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 { };
|
||||
|
|
Loading…
Reference in a new issue