diff options
author | AndersonTorres <torres.anderson.85@gmail.com> | 2018-01-05 01:47:15 -0200 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@gmail.com> | 2018-01-05 01:48:11 -0200 |
commit | 4a553dc247e80b3361da31cff4e25d62a60a75b4 (patch) | |
tree | efe254130116987c6abb814fdfbc44bef26d86ba /pkgs/development/compilers/jwasm | |
parent | 1d28f2ba6980971290b8acf9d57383f57bc845a8 (diff) |
jwasm: init at git-2017-11-22
Diffstat (limited to 'pkgs/development/compilers/jwasm')
-rw-r--r-- | pkgs/development/compilers/jwasm/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/compilers/jwasm/default.nix b/pkgs/development/compilers/jwasm/default.nix new file mode 100644 index 0000000000000..9800b33e7a9ea --- /dev/null +++ b/pkgs/development/compilers/jwasm/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchFromGitHub +, cmake }: + +with stdenv.lib; +stdenv.mkDerivation rec { + name = "jwasm-${version}"; + version = "git-2017-11-22"; + + src = fetchFromGitHub { + owner = "JWasm"; + repo = "JWasm"; + rev = "26f97c8b5c9d9341ec45538701116fa3649b7766"; + sha256 = "0m972pc8vk8s9yv1pi85fsjgm6hj24gab7nalw2q04l0359nqi7w"; + }; + + nativeBuildInputs = [ cmake ]; + + installPhase = "mkdir -p $out/bin ; cp jwasm $out/bin/"; + + meta = { + description = "A MASM-compatible x86 assembler"; + homepage = http://jwasm.github.io/; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ AndersonTorres ]; + platforms = platforms.darwin ++ platforms.linux; + }; +} |