aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/misc
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-09-08 13:45:47 -0400
committerGitHub <noreply@github.com>2019-09-08 13:45:47 -0400
commitec27f6ff3c90c617e9fd4c7d761da4079eef598f (patch)
tree16c22a4f60a3d36c8d000851651b2ff464316331 /pkgs/development/misc
parent8772a1dfbc719d3802c2199acb9685d651cd944c (diff)
parent77783268da5dbc55023c4f263696da680997eca7 (diff)
Merge pull request #68282 from Pamplemousse/rappel
rappel: init at unstable-2019-07-08
Diffstat (limited to 'pkgs/development/misc')
-rw-r--r--pkgs/development/misc/rappel/default.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/development/misc/rappel/default.nix b/pkgs/development/misc/rappel/default.nix
new file mode 100644
index 00000000000..02c31fd4d69
--- /dev/null
+++ b/pkgs/development/misc/rappel/default.nix
@@ -0,0 +1,38 @@
+{ fetchFromGitHub
+, libedit
+, makeWrapper
+, nasm
+, stdenv
+}:
+
+stdenv.mkDerivation rec {
+ pname = "rappel";
+ version = "unstable-2019-07-08";
+
+ src = fetchFromGitHub {
+ owner = "yrp604";
+ repo = "rappel";
+ rev = "95a776f850cf6a7c21923a2100b605408ef038de";
+ sha256 = "0fmd15xa6hswh3x48av4g1sf6rncbiinbj7gbw1ffvqsbcfnsgcr";
+ };
+
+ buildInputs = [ libedit ];
+ nativeBuildInputs = [ makeWrapper ];
+
+ installPhase = ''
+ runHook preInstall
+
+ install -Dm755 -t $out/bin bin/rappel
+ wrapProgram $out/bin/rappel --prefix PATH : "${nasm}/bin"
+
+ runHook postInstall
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = "https://github.com/yrp604/rappel";
+ description = "A pretty janky assembly REPL";
+ license = licenses.bsdOriginal;
+ maintainers = [ maintainers.pamplemousse ];
+ platforms = platforms.linux;
+ };
+}