nixpkgs/pkgs/applications/audio/orca-c/default.nix
netcrns 81fa319f6d orca-c: git-2020-05-01 -> git-2021-02-13
orca-c: prefer main git repo over github mirror

orca-c: add netcrns to maintainers
2021-05-20 11:58:57 -07:00

32 lines
774 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 ];
patchPhase = ''
patchShebangs tool
'';
installPhase = ''
mkdir -p $out/bin
install build/orca $out/bin/orca
'';
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 ];
};
}