mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
sjasmplus: init at 1.18.2
This commit is contained in:
parent
f4f6715c72
commit
e82f32bfd8
32
pkgs/development/compilers/sjasmplus/default.nix
Normal file
32
pkgs/development/compilers/sjasmplus/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sjasmplus";
|
||||
version = "1.18.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "z00m128";
|
||||
repo = "sjasmplus";
|
||||
rev = "v${version}";
|
||||
sha256 = "04348zcmc0b3crzwhvj1shx6f1n3x05vs8d5qdm7qhgdfki8r74v";
|
||||
};
|
||||
|
||||
buildFlags = [
|
||||
"CC=${stdenv.cc.targetPrefix}cc"
|
||||
"CXX=${stdenv.cc.targetPrefix}c++"
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -D sjasmplus $out/bin/sjasmplus
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://z00m128.github.io/sjasmplus/";
|
||||
description = "A Z80 assembly language cross compiler. It is based on the SjASM source code by Sjoerd Mastijn";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ electrified ];
|
||||
};
|
||||
}
|
@ -21103,6 +21103,8 @@ in
|
||||
|
||||
shades-of-gray-theme = callPackage ../data/themes/shades-of-gray { };
|
||||
|
||||
sjasmplus = callPackage ../development/compilers/sjasmplus { };
|
||||
|
||||
skeu = callPackage ../data/themes/skeu { };
|
||||
|
||||
sweet = callPackage ../data/themes/sweet { };
|
||||
|
Loading…
Reference in New Issue
Block a user