From f5b6846c21c343786ff502e68047a32f54d06eb2 Mon Sep 17 00:00:00 2001 From: marius david Date: Sat, 12 Jun 2021 17:03:08 +0200 Subject: [PATCH] armips: init at 0.11.0 --- pkgs/development/compilers/armips/default.nix | 31 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/development/compilers/armips/default.nix diff --git a/pkgs/development/compilers/armips/default.nix b/pkgs/development/compilers/armips/default.nix new file mode 100644 index 00000000000..b6fbb5ef34c --- /dev/null +++ b/pkgs/development/compilers/armips/default.nix @@ -0,0 +1,31 @@ +{ stdenv, lib, fetchFromGitHub, cmake }: + +stdenv.mkDerivation rec { + pname = "armips"; + version = "0.11.0"; + + src = fetchFromGitHub { + owner = "Kingcom"; + repo = "armips"; + rev = "v${version}"; + sha256 = "sha256-L+Uxww/WtvDJn1xZqoqA6Pkzq/98sy1qTxZbv6eEjbA="; + }; + + nativeBuildInputs = [ cmake ]; + + installPhase = '' + runHook preInstall + + mkdir -p $out/bin + cp armips $out/bin + + runHook postInstall + ''; + + meta = with lib; { + homepage = "https://github.com/Kingcom/armips"; + description = "Assembler for various ARM and MIPS platforms."; + license = licenses.mit; + maintainers = with maintainers; [ marius851000 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e794f99b7e5..c22ea282f59 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10429,6 +10429,8 @@ in aliceml = callPackage ../development/compilers/aliceml { }; + armips = callPackage ../development/compilers/armips { }; + arachne-pnr = callPackage ../development/compilers/arachne-pnr { }; asciigraph = callPackage ../tools/text/asciigraph { };