diff options
Diffstat (limited to 'pkgs/applications/audio/orca-c/default.nix')
-rw-r--r-- | pkgs/applications/audio/orca-c/default.nix | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/pkgs/applications/audio/orca-c/default.nix b/pkgs/applications/audio/orca-c/default.nix index 3a4f4b2ce2b..2c3a8fb1390 100644 --- a/pkgs/applications/audio/orca-c/default.nix +++ b/pkgs/applications/audio/orca-c/default.nix @@ -1,31 +1,35 @@ -{ stdenv, fetchFromGitHub, ncurses, portmidi }: +{ lib, stdenv, fetchgit, ncurses, portmidi }: stdenv.mkDerivation { pname = "orca-c"; - version = "git-2020-05-01"; + version = "git-2021-02-13"; - src = fetchFromGitHub { - owner = "hundredrabbits"; - repo = "Orca-c"; - rev = "d7a3b169c5ed0b06a9ad0fdb3057704da9a0b6ce"; - sha256 = "101y617a295hzwr98ykvza1sycxlk29kzxn2ybjwc718r0alkbzz"; + src = fetchgit { + url = "https://git.sr.ht/~rabbits/orca"; + rev = "5ba56ca67baae3db140f8b7a2b2fc46bbac5602f"; + sha256 = "sha256-bbIH0kyHRTcMGXV3WdBQIH1br0FyIzKKL88wqpGZ0NY="; }; buildInputs = [ ncurses portmidi ]; - patchPhase = '' + postPatch = '' patchShebangs tool ''; installPhase = '' + runHook preInstall + mkdir -p $out/bin install build/orca $out/bin/orca + + runHook postInstall ''; - meta = with stdenv.lib; { - description = "An esoteric programming language designed to quickly create procedural sequencers."; - homepage = "https://github.com/hundredrabbits/Orca-c"; + 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 ]; }; } |