jwasm: 2017-11-12 -> 2.13

This commit is contained in:
AndersonTorres 2020-03-31 16:54:43 -03:00 committed by Alyssa Ross
parent 810909de3e
commit 5897b9563f

View File

@ -2,24 +2,30 @@
, cmake }:
with stdenv.lib;
stdenv.mkDerivation {
stdenv.mkDerivation rec {
pname = "jwasm";
version = "git-2017-11-22";
version = "2.13";
src = fetchFromGitHub {
owner = "JWasm";
repo = "JWasm";
rev = "26f97c8b5c9d9341ec45538701116fa3649b7766";
rev = version;
sha256 = "0m972pc8vk8s9yv1pi85fsjgm6hj24gab7nalw2q04l0359nqi7w";
};
nativeBuildInputs = [ cmake ];
installPhase = "mkdir -p $out/bin ; cp jwasm $out/bin/";
installPhase = ''
install -Dpm755 jwasm -t $out/bin/
install -Dpm644 $src/History.txt $src/Readme.txt \
$src/Doc/enh.txt $src/Doc/fixes.txt \
$src/Doc/gencode.txt $src/Doc/overview.txt \
-t $out/share/doc/jwasm/
'';
meta = {
description = "A MASM-compatible x86 assembler";
homepage = http://jwasm.github.io/;
homepage = "http://jwasm.github.io/";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.darwin ++ platforms.linux;