Compare commits
No commits in common. "a8f109231d27480918752905e46caf1fbc6ba66f" and "0cddc7cefc3f46c118bc6c5c71e4b776096b0f6f" have entirely different histories.
a8f109231d
...
0cddc7cefc
4 changed files with 1 additions and 69 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, custom-pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
./../programs/firefox.nix
|
./../programs/firefox.nix
|
||||||
|
|
@ -30,7 +30,6 @@
|
||||||
tex-fmt
|
tex-fmt
|
||||||
woodpecker-cli
|
woodpecker-cli
|
||||||
(texlive.combine { inherit (texlive) scheme-basic latex-bin latexmk; })
|
(texlive.combine { inherit (texlive) scheme-basic latex-bin latexmk; })
|
||||||
custom-pkgs.ark
|
|
||||||
];
|
];
|
||||||
shellAliases = { code = "codium"; };
|
shellAliases = { code = "codium"; };
|
||||||
};
|
};
|
||||||
|
|
|
||||||
59
pkgs/ark.nix
59
pkgs/ark.nix
|
|
@ -1,59 +0,0 @@
|
||||||
{ pkgs, lib, ... }:
|
|
||||||
|
|
||||||
let
|
|
||||||
version = "0.1.174";
|
|
||||||
sha256 = {
|
|
||||||
x86_64-linux = "sha256-fZnVR5V9VaCmj4tkCrYRv3ouKr0gFukyLdEqvcb1c/8=";
|
|
||||||
aarch64-linux = "sha256-yj7UHUqnnlTz9ZYsH0UHgnhDY7bBZzff09KbYwOINj8=";
|
|
||||||
darwin = "sha256-cI1Xrico/0SHbuPwYLQNS6crJbY5gaVuAR02u5O+NPc=";
|
|
||||||
};
|
|
||||||
|
|
||||||
in with pkgs;
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
name = "ark";
|
|
||||||
inherit version;
|
|
||||||
src = {
|
|
||||||
x86_64-linux = fetchurl {
|
|
||||||
url =
|
|
||||||
"https://github.com/posit-dev/ark/releases/download/${version}/ark-${version}-linux-x64.zip";
|
|
||||||
sha256 = sha256.x86_64-linux;
|
|
||||||
};
|
|
||||||
aarch64-linux = fetchurl {
|
|
||||||
url =
|
|
||||||
"https://github.com/posit-dev/ark/releases/download/${version}/ark-${version}-linux-arm64.zip";
|
|
||||||
sha256 = sha256.aarch64-linux;
|
|
||||||
};
|
|
||||||
x86_64-darwin = fetchurl {
|
|
||||||
url =
|
|
||||||
"https://github.com/posit-dev/ark/releases/download/${version}/ark-${version}-darwin-universal.zip";
|
|
||||||
sha256 = sha256.darwin;
|
|
||||||
};
|
|
||||||
aarch64-darwin = fetchurl {
|
|
||||||
url =
|
|
||||||
"https://github.com/posit-dev/ark/releases/download/${version}/ark-${version}-darwin-universal.zip";
|
|
||||||
sha256 = sha256.darwin;
|
|
||||||
};
|
|
||||||
}.${stdenv.hostPlatform.system} or (throw
|
|
||||||
"Unsupported system: ${stdenv.hostPlatform.system}");
|
|
||||||
|
|
||||||
# Nix reports "unpacker appears to have produced no directories" without this
|
|
||||||
# line. Not sure why sc4pac doesn't need it when it is also a zip archive, but
|
|
||||||
# I found this article that pointed me to this line:
|
|
||||||
# https://sekun.net/blog/packaging-prebuilt-binaries-with-nix/
|
|
||||||
sourceRoot = ".";
|
|
||||||
|
|
||||||
nativeBuildInputs = [ unzip ];
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out/bin
|
|
||||||
unzip $src -d $out/bin
|
|
||||||
chmod +x $out/bin/ark
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "Ark is an R kernel for Jupyter notebooks";
|
|
||||||
homepage = "https://github.com/posit-dev/ark";
|
|
||||||
license = licenses.mit;
|
|
||||||
platforms = platforms.unix;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
ark = pkgs.callPackage ./ark.nix { };
|
|
||||||
sc4pac = pkgs.callPackage ./sc4pac.nix { };
|
sc4pac = pkgs.callPackage ./sc4pac.nix { };
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -53,9 +53,6 @@
|
||||||
name:
|
name:
|
||||||
- chromium
|
- chromium
|
||||||
- firefoxpwa
|
- firefoxpwa
|
||||||
- fontconfig-devel
|
|
||||||
- freetype-devel
|
|
||||||
- fribidi-devel
|
|
||||||
- ghostty
|
- ghostty
|
||||||
- inkscape
|
- inkscape
|
||||||
- jq
|
- jq
|
||||||
|
|
@ -63,10 +60,6 @@
|
||||||
- kdenlive
|
- kdenlive
|
||||||
- kdiff3
|
- kdiff3
|
||||||
- krita
|
- krita
|
||||||
- libjpeg-devel
|
|
||||||
- libpng-devel
|
|
||||||
- libtiff-devel
|
|
||||||
- libwebp-devel
|
|
||||||
- musescore
|
- musescore
|
||||||
- nextcloud-client
|
- nextcloud-client
|
||||||
- nextcloud-client-dolphin
|
- nextcloud-client-dolphin
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue