unison: M5b -> M5c

This commit is contained in:
Rafael Fernández López 2023-08-14 16:22:46 +02:00 committed by Anderson Torres
parent c72815391d
commit 75f0aff870

View file

@ -11,17 +11,17 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "unison-code-manager"; pname = "unison-code-manager";
version = "M5b"; version = "M5c";
src = if stdenv.isDarwin then src = if stdenv.isDarwin then
fetchurl { fetchurl {
url = "https://github.com/unisonweb/unison/releases/download/release/${finalAttrs.version}/ucm-macos.tar.gz"; url = "https://github.com/unisonweb/unison/releases/download/release/${finalAttrs.version}/ucm-macos.tar.gz";
hash = "sha256-Uknt1NrywmGs8YovlnN8TU8iaYgT1jeYP4SQCuK1u+I="; hash = "sha256-LTpsKwiV0ZxReLcuzoJYuMP1jN6v8M/z6mUqH9s5A+g=";
} }
else else
fetchurl { fetchurl {
url = "https://github.com/unisonweb/unison/releases/download/release/${finalAttrs.version}/ucm-linux.tar.gz"; url = "https://github.com/unisonweb/unison/releases/download/release/${finalAttrs.version}/ucm-linux.tar.gz";
hash = "sha256-CZLGA4fFFysxHkwedC8RBLmHWwr3BM8xqps7hN3TC/g="; hash = "sha256-6gSX8HOv/K4zFTz1O4VvrpWR9+iQyLOO6vIRv6oVw/c=";
}; };
# The tarball is just the prebuilt binary, in the archive root. # The tarball is just the prebuilt binary, in the archive root.
@ -46,8 +46,9 @@ stdenv.mkDerivation (finalAttrs: {
description = "Modern, statically-typed purely functional language"; description = "Modern, statically-typed purely functional language";
homepage = "https://unisonweb.org/"; homepage = "https://unisonweb.org/";
license = with licenses; [ mit bsd3 ]; license = with licenses; [ mit bsd3 ];
mainProgram = "ucm";
maintainers = [ maintainers.virusdave ]; maintainers = [ maintainers.virusdave ];
platforms = [ "x86_64-darwin" "x86_64-linux" "aarch64-darwin" ]; platforms = [ "x86_64-darwin" "x86_64-linux" "aarch64-darwin" ];
mainProgram = "ucm"; sourceProvenance = with sourceTypes; [ binaryNativeCode ];
}; };
}) })