mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 07:34:36 +00:00
36 lines
822 B
Nix
36 lines
822 B
Nix
{ lib, stdenv, fetchgit, ncurses, portmidi }:
|
|
stdenv.mkDerivation {
|
|
pname = "orca-c";
|
|
|
|
version = "git-2021-02-13";
|
|
|
|
src = fetchgit {
|
|
url = "https://git.sr.ht/~rabbits/orca";
|
|
rev = "5ba56ca67baae3db140f8b7a2b2fc46bbac5602f";
|
|
sha256 = "sha256-bbIH0kyHRTcMGXV3WdBQIH1br0FyIzKKL88wqpGZ0NY=";
|
|
};
|
|
|
|
buildInputs = [ ncurses portmidi ];
|
|
|
|
postPatch = ''
|
|
patchShebangs tool
|
|
'';
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/bin
|
|
install build/orca $out/bin/orca
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "An esoteric programming language designed to quickly create procedural sequencers";
|
|
homepage = "https://git.sr.ht/~rabbits/orca";
|
|
license = licenses.mit;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ netcrns ];
|
|
};
|
|
}
|