summaryrefslogtreecommitdiffstats
path: root/pkgs/development/compilers/armips
diff options
context:
space:
mode:
authormarius david <mariusdavid@laposte.net>2021-06-12 17:03:08 +0200
committermarius david <mariusdavid@laposte.net>2021-06-13 11:31:44 +0200
commitf5b6846c21c343786ff502e68047a32f54d06eb2 (patch)
treee95a5d7e542bd44a9989dea110a765c3fee4bba5 /pkgs/development/compilers/armips
parentedd3c9989708d979118ead4be9201e11e7423548 (diff)
armips: init at 0.11.0
Diffstat (limited to 'pkgs/development/compilers/armips')
-rw-r--r--pkgs/development/compilers/armips/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/compilers/armips/default.nix b/pkgs/development/compilers/armips/default.nix
new file mode 100644
index 000000000000..b6fbb5ef34c8
--- /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 ];
+ };
+}