mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
Merge master into staging-next
This commit is contained in:
commit
995e7507ce
@ -15,11 +15,11 @@ let
|
||||
archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz";
|
||||
|
||||
sha256 = {
|
||||
x86_64-linux = "1dz0fppcbb1cbrq7lp72fdm53ss85bp7i9y5yk3l0yzlmb737syv";
|
||||
x86_64-darwin = "1m7j4fnlcjjfpx551svh67sj45zln798dsjc1b4hlwcn6qh65kfk";
|
||||
aarch64-linux = "0ym6l1zkqwwj7jx2k1765094krq6cw562hyvliv1cy6079xkahiy";
|
||||
aarch64-darwin = "14zq18s68nh8jq542kjn0pf92s7ld5x2p220z71xg3mywmlsgjqf";
|
||||
armv7l-linux = "05h96x5nngli7zv2yh8a2yp8z5d8mqq1a6427sdpg3aybyj7ij2d";
|
||||
x86_64-linux = "0i73nkcja70k64ndwsajy69pb1x2cy71n6i42cmk5qh5mw56brxp";
|
||||
x86_64-darwin = "08vx79aq4s6xsmvg6dv3klbg2yq1k1l6m3nq90kpng7j8anjh954";
|
||||
aarch64-linux = "1bcn40j83pmssdzw0990fsm3hp8fbx9xblyc6zmf53f0yz41528p";
|
||||
aarch64-darwin = "0w3gyrp01qflk6gcqzy54nd7wgmrlpsdpin0gfyk4fg46fss9b78";
|
||||
armv7l-linux = "1bm26cgx2038alzxpcib8r4hd40zbr27kaixrrzamsn6wslg9p1f";
|
||||
}.${system} or throwSystem;
|
||||
|
||||
sourceRoot = if stdenv.isDarwin then "" else ".";
|
||||
@ -29,7 +29,7 @@ in
|
||||
|
||||
# Please backport all compatible updates to the stable release.
|
||||
# This is important for the extension ecosystem.
|
||||
version = "1.77.0.23093";
|
||||
version = "1.77.1.23095";
|
||||
pname = "vscodium";
|
||||
|
||||
executableName = "codium";
|
||||
|
85
pkgs/applications/misc/kuro/default.nix
Normal file
85
pkgs/applications/misc/kuro/default.nix
Normal file
@ -0,0 +1,85 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, makeWrapper
|
||||
, makeDesktopItem
|
||||
, copyDesktopItems
|
||||
, mkYarnPackage
|
||||
, electron
|
||||
}:
|
||||
|
||||
mkYarnPackage rec {
|
||||
pname = "kuro";
|
||||
version = "9.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "davidsmorais";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-9Z/r5T5ZI5aBghHmwiJcft/x/wTRzDlbIupujN2RFfU=";
|
||||
};
|
||||
|
||||
packageJSON = ./package.json;
|
||||
yarnLock = ./yarn.lock;
|
||||
yarnNix = ./yarn.nix;
|
||||
|
||||
ELECTRON_SKIP_BINARY_DOWNLOAD = "1";
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
copyDesktopItems
|
||||
];
|
||||
|
||||
postBuild = ''
|
||||
pushd deps/kuro
|
||||
|
||||
yarn --offline run electron-builder \
|
||||
--dir \
|
||||
-c.electronDist=${electron}/lib/electron \
|
||||
-c.electronVersion=${electron.version}
|
||||
|
||||
popd
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
# resources
|
||||
mkdir -p "$out/share/lib/kuro"
|
||||
cp -r ./deps/kuro/dist/*-unpacked/{locales,resources{,.pak}} "$out/share/lib/kuro"
|
||||
|
||||
# icons
|
||||
install -Dm644 ./deps/kuro/static/Icon.png $out/share/icons/hicolor/1024x1024/apps/kuro.png
|
||||
|
||||
# executable wrapper
|
||||
makeWrapper '${electron}/bin/electron' "$out/bin/kuro" \
|
||||
--add-flags "$out/share/lib/kuro/resources/app.asar" \
|
||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \
|
||||
--inherit-argv0
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
# Do not attempt generating a tarball for contents again.
|
||||
# note: `doDist = false;` does not work.
|
||||
distPhase = "true";
|
||||
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
name = pname;
|
||||
exec = pname;
|
||||
icon = pname;
|
||||
desktopName = "Kuro";
|
||||
genericName = "Microsoft To-Do Client";
|
||||
comment = meta.description;
|
||||
categories = [ "Office" ];
|
||||
startupWMClass = pname;
|
||||
})
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An unofficial, featureful, open source, community-driven, free Microsoft To-Do app";
|
||||
homepage = "https://github.com/davidsmorais/kuro";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ChaosAttractor ];
|
||||
inherit (electron.meta) platforms;
|
||||
};
|
||||
}
|
149
pkgs/applications/misc/kuro/package.json
Normal file
149
pkgs/applications/misc/kuro/package.json
Normal file
@ -0,0 +1,149 @@
|
||||
{
|
||||
"name": "kuro",
|
||||
"productName": "Kuro",
|
||||
"version": "9.0.0",
|
||||
"description": "Elegant Microsoft To-Do desktop app (Ao fork)",
|
||||
"license": "MIT",
|
||||
"repository": "davidsmorais/kuro",
|
||||
"author": {
|
||||
"name": "davidsmorais",
|
||||
"email": "david@dsmorais.com",
|
||||
"url": "https://github.com/davidsmorais"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "davidsmorais",
|
||||
"email": "david@dsmorais.com",
|
||||
"url": "https://github.com/davidsmorais"
|
||||
}
|
||||
],
|
||||
"scripts": {
|
||||
"postinstall": "electron-builder install-app-deps",
|
||||
"icons": "electron-icon-maker --input=./static/Icon.png --output=./build/",
|
||||
"test": "xo && stylelint 'src/style/*.css'",
|
||||
"release": "yarn version && rm -rf dist build && yarn icons && electron-builder --publish never",
|
||||
"build-snap": "electron-builder --linux snap",
|
||||
"build-win": "electron-builder --win",
|
||||
"start": "electron ."
|
||||
},
|
||||
"dependencies": {
|
||||
"auto-launch": "^5.0.1",
|
||||
"electron-context-menu": "^3.6.1",
|
||||
"electron-debug": "^1.4.0",
|
||||
"electron-dl": "^2.0.0",
|
||||
"electron-store": "^8.1.0",
|
||||
"lodash": "^4.17.21"
|
||||
},
|
||||
"devDependencies": {
|
||||
"electron": "^22.1.0",
|
||||
"electron-builder": "^23.6.0",
|
||||
"electron-icon-maker": "^0.0.5",
|
||||
"stylelint": "^14.9.1",
|
||||
"xo": "^0.53.1"
|
||||
},
|
||||
"xo": {
|
||||
"envs": [
|
||||
"browser",
|
||||
"node"
|
||||
],
|
||||
"rules": {
|
||||
"n/prefer-global/process": 0,
|
||||
"unicorn/prefer-module": 0,
|
||||
"unicorn/no-for-loop": 0,
|
||||
"unicorn/no-array-for-each": 0,
|
||||
"import/extensions": 0,
|
||||
"object-curly-spacing": 0,
|
||||
"quote-props": 0,
|
||||
"unicorn/prefer-query-selector": 0,
|
||||
"quotes": [
|
||||
"error",
|
||||
"double"
|
||||
]
|
||||
},
|
||||
"space": 2
|
||||
},
|
||||
"stylelint": {
|
||||
"rules": {
|
||||
"block-closing-brace-empty-line-before": "never",
|
||||
"block-closing-brace-newline-after": "always",
|
||||
"block-no-empty": true,
|
||||
"block-opening-brace-space-before": "always",
|
||||
"color-hex-case": "upper",
|
||||
"color-hex-length": "long",
|
||||
"color-no-invalid-hex": true,
|
||||
"comment-no-empty": true,
|
||||
"declaration-block-semicolon-space-before": "never",
|
||||
"indentation": 2,
|
||||
"max-empty-lines": 0,
|
||||
"no-duplicate-selectors": true
|
||||
}
|
||||
},
|
||||
"build": {
|
||||
"appId": "com.davidsmorais.kuro",
|
||||
"snap": {
|
||||
"title": "Kuro"
|
||||
},
|
||||
"files": [
|
||||
"**/*",
|
||||
"!media${/*}",
|
||||
"!docs${/*}"
|
||||
],
|
||||
"win": {
|
||||
"target": [
|
||||
{
|
||||
"target": "nsis",
|
||||
"arch": [
|
||||
"x64"
|
||||
]
|
||||
}
|
||||
],
|
||||
"icon": "icons/win/icon.ico",
|
||||
"publish": {
|
||||
"provider": "github",
|
||||
"releaseType": "release"
|
||||
}
|
||||
},
|
||||
"linux": {
|
||||
"category": "Office",
|
||||
"icon": "icons/png",
|
||||
"description": "Kuro is an unofficial, featureful, open source, community-driven, free Microsoft To-Do app, used by people in more than 120 countries. (Ao fork)",
|
||||
"synopsis": "Elegant Microsoft To-Do desktop app (Ao fork)",
|
||||
"publish": {
|
||||
"provider": "github",
|
||||
"releaseType": "release"
|
||||
},
|
||||
"target": [
|
||||
{
|
||||
"target": "AppImage",
|
||||
"arch": [
|
||||
"x64"
|
||||
]
|
||||
},
|
||||
{
|
||||
"target": "deb",
|
||||
"arch": [
|
||||
"x64"
|
||||
]
|
||||
},
|
||||
{
|
||||
"target": "pacman",
|
||||
"arch": [
|
||||
"x64"
|
||||
]
|
||||
},
|
||||
{
|
||||
"target": "rpm",
|
||||
"arch": [
|
||||
"x64"
|
||||
]
|
||||
},
|
||||
{
|
||||
"target": "snap",
|
||||
"arch": [
|
||||
"x64"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
5757
pkgs/applications/misc/kuro/yarn.lock
Normal file
5757
pkgs/applications/misc/kuro/yarn.lock
Normal file
File diff suppressed because it is too large
Load Diff
6485
pkgs/applications/misc/kuro/yarn.nix
Normal file
6485
pkgs/applications/misc/kuro/yarn.nix
Normal file
File diff suppressed because it is too large
Load Diff
@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "talosctl";
|
||||
version = "1.3.6";
|
||||
version = "1.3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "siderolabs";
|
||||
repo = "talos";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-UViS9s8si1OuGAiTP2o80A2jw9uh3nc73XjXCtG8Iho=";
|
||||
hash = "sha256-zJcfx4rHPo8bAN4p0BK0i8Vu1aAaUynj9Aj7bBQoVKU=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-faw2I7cdhWM1ue6Ab2uHZXb9cdelcpoAooynrHeyIgw=";
|
||||
vendorHash = "sha256-m7w6ItXGAtoT/ZqNOXbDackXV6cHtpAMBi4jfVhQa9A=";
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
|
||||
|
@ -18,13 +18,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "freefilesync";
|
||||
version = "12.1";
|
||||
version = "12.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hkneptune";
|
||||
repo = "FreeFileSync";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-KA3Bn8skJ2gMmihmwlUmN6jXZmfoYY/f4vqbKwvxwgw=";
|
||||
hash = "sha256-pCXMpK+NF06vgEgX31wyO24+kPhvPhdTeRk1j84nYd0=";
|
||||
};
|
||||
|
||||
# Patches from Debian
|
||||
|
@ -17,13 +17,13 @@
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "material-kwin-decoration";
|
||||
version = "unstable-2022-01-19";
|
||||
version = "unstable-2023-01-15";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Zren";
|
||||
repo = "material-decoration";
|
||||
rev = "973949761f609f9c676c5b2b7c6d9560661d34c3";
|
||||
sha256 = "sha256-n+yUmBUrkS+06qLnzl2P6CTQZZbDtJLy+2mDPCcQz9M=";
|
||||
rev = "0e989e5b815b64ee5bca989f983da68fa5556644";
|
||||
sha256 = "sha256-Ncn5jxkuN4ZBWihfycdQwpJ0j4sRpBGMCl6RNiH4mXg=";
|
||||
};
|
||||
|
||||
# Remove -Werror since it uses deprecated methods
|
||||
|
@ -3,7 +3,7 @@ let
|
||||
callPackage = newScope self;
|
||||
|
||||
self = with lib; {
|
||||
pkgs = self;
|
||||
inherit callPackage;
|
||||
|
||||
fetchegg = { pname, version, sha256, ... }:
|
||||
fetchurl {
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, chicken, makeWrapper }:
|
||||
{ callPackage, lib, stdenv, chicken, makeWrapper }:
|
||||
{ name, src
|
||||
, buildInputs ? []
|
||||
, chickenInstallFlags ? []
|
||||
@ -6,15 +6,15 @@
|
||||
, ...} @ args:
|
||||
|
||||
let
|
||||
overrides = import ./overrides.nix;
|
||||
overrides = callPackage ./overrides.nix { };
|
||||
baseName = lib.getName name;
|
||||
override = if builtins.hasAttr baseName overrides
|
||||
then
|
||||
builtins.getAttr baseName overrides
|
||||
else
|
||||
{};
|
||||
lib.id;
|
||||
in
|
||||
stdenv.mkDerivation ({
|
||||
(stdenv.mkDerivation ({
|
||||
name = "chicken-${name}";
|
||||
propagatedBuildInputs = buildInputs;
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
@ -43,4 +43,4 @@ stdenv.mkDerivation ({
|
||||
meta = {
|
||||
inherit (chicken.meta) platforms;
|
||||
} // args.meta or {};
|
||||
} // (builtins.removeAttrs args ["name" "buildInputs" "meta"]) // override)
|
||||
} // builtins.removeAttrs args ["name" "buildInputs" "meta"]) ).overrideAttrs override
|
||||
|
@ -1,2 +1,58 @@
|
||||
{
|
||||
{ pkgs, lib, chickenEggs }:
|
||||
let
|
||||
addToBuildInputs = pkg: old: {
|
||||
buildInputs = (old.buildInputs or [ ]) ++ lib.toList pkg;
|
||||
};
|
||||
addToPropagatedBuildInputs = pkg: old: {
|
||||
propagatedBuildInputs = (old.propagatedBuildInputs or [ ])
|
||||
++ lib.toList pkg;
|
||||
};
|
||||
addPkgConfig = old: {
|
||||
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ pkgs.pkg-config ];
|
||||
};
|
||||
addToBuildInputsWithPkgConfig = pkg: old:
|
||||
(addPkgConfig old) // (addToBuildInputs pkg old);
|
||||
addToPropagatedBuildInputsWithPkgConfig = pkg: old:
|
||||
(addPkgConfig old) // (addToPropagatedBuildInputs pkg old);
|
||||
in {
|
||||
breadline = addToBuildInputs pkgs.readline;
|
||||
cairo = old:
|
||||
(addToBuildInputsWithPkgConfig pkgs.cairo old)
|
||||
// (addToPropagatedBuildInputs (with chickenEggs; [ srfi-1 srfi-13 ]) old);
|
||||
cmark = addToBuildInputs pkgs.cmark;
|
||||
dbus = addToBuildInputsWithPkgConfig pkgs.dbus;
|
||||
epoxy = addToPropagatedBuildInputsWithPkgConfig pkgs.libepoxy;
|
||||
exif = addToBuildInputs pkgs.libexif;
|
||||
expat = addToBuildInputs pkgs.expat;
|
||||
ezxdisp = addToBuildInputsWithPkgConfig pkgs.xorg.libX11;
|
||||
freetype = addToBuildInputs pkgs.freetype;
|
||||
glfw3 = addToBuildInputsWithPkgConfig pkgs.glfw3;
|
||||
icu = addToBuildInputsWithPkgConfig pkgs.icu;
|
||||
imlib2 = addToBuildInputsWithPkgConfig pkgs.imlib2;
|
||||
lazy-ffi = addToBuildInputs pkgs.libffi;
|
||||
leveldb = addToBuildInputs pkgs.leveldb;
|
||||
magic = addToBuildInputs pkgs.file;
|
||||
mdh = addToBuildInputs pkgs.pcre;
|
||||
nanomsg = addToBuildInputs pkgs.nanomsg;
|
||||
openssl = addToBuildInputs pkgs.openssl;
|
||||
rocksdb = addToBuildInputs pkgs.rocksdb;
|
||||
sdl-base = addToBuildInputs pkgs.SDL;
|
||||
sdl2 = addToPropagatedBuildInputsWithPkgConfig pkgs.SDL2;
|
||||
sdl2-image = addToBuildInputs pkgs.SDL2_image;
|
||||
sdl2-ttf = addToBuildInputs pkgs.SDL2_ttf;
|
||||
sqlite3 = addToBuildInputs pkgs.sqlite;
|
||||
stemmer = addToBuildInputs pkgs.libstemmer;
|
||||
stfl = addToBuildInputs [ pkgs.ncurses pkgs.stfl ];
|
||||
taglib = addToBuildInputs [ pkgs.zlib pkgs.taglib ];
|
||||
uuid-lib = addToBuildInputs pkgs.libuuid;
|
||||
ws-client = addToBuildInputs pkgs.zlib;
|
||||
xlib = addToPropagatedBuildInputs pkgs.xorg.libX11;
|
||||
yaml = addToBuildInputs pkgs.libyaml;
|
||||
zlib = addToBuildInputs pkgs.zlib;
|
||||
zmq = addToBuildInputs pkgs.zeromq;
|
||||
zstd = addToBuildInputs pkgs.zstd;
|
||||
|
||||
# platform changes
|
||||
pledge = old: { meta = old.meta // { platforms = lib.platforms.openbsd; }; };
|
||||
unveil = old: { meta = old.meta // { platforms = lib.platforms.openbsd; }; };
|
||||
}
|
||||
|
@ -54,14 +54,14 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "flatpak";
|
||||
version = "1.14.2";
|
||||
version = "1.14.4";
|
||||
|
||||
# TODO: split out lib once we figure out what to do with triggerdir
|
||||
outputs = [ "out" "dev" "man" "doc" "devdoc" "installedTests" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/flatpak/flatpak/releases/download/${finalAttrs.version}/flatpak-${finalAttrs.version}.tar.xz";
|
||||
sha256 = "sha256-yAcR6s9CqZB49jlqplVV3Wv3PuxjF3a3np17cmK293Q="; # Taken from https://github.com/flatpak/flatpak/releases/
|
||||
sha256 = "sha256-ijTb0LZ8Q051mLmOxpCVPQRvDbJuSArq+0bXKuxxZ5k="; # Taken from https://github.com/flatpak/flatpak/releases/
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -1,11 +1,11 @@
|
||||
diff --git a/common/flatpak-run.c b/common/flatpak-run.c
|
||||
index d35b4652..b4bb4a44 100644
|
||||
index 8fa8c0e0..e1cdeba0 100644
|
||||
--- a/common/flatpak-run.c
|
||||
+++ b/common/flatpak-run.c
|
||||
@@ -1899,6 +1899,7 @@ static const ExportData default_exports[] = {
|
||||
{"KRB5CCNAME", NULL},
|
||||
@@ -1900,6 +1900,7 @@ static const ExportData default_exports[] = {
|
||||
{"XKB_CONFIG_ROOT", NULL},
|
||||
{"GIO_EXTRA_MODULES", NULL},
|
||||
{"GDK_BACKEND", NULL},
|
||||
+ {"GDK_PIXBUF_MODULE_FILE", NULL},
|
||||
};
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "glfw";
|
||||
version = "2.5.7";
|
||||
version = "2.5.9";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||
owner = "FlorianRhiem";
|
||||
repo = "pyGLFW";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-tB9qoGIUb0KgD7SQIV7nP5/fWKY/LrP/lQbljfVqiXw=";
|
||||
hash = "sha256-IQcUL+vVIjI/c8/GFkmw7kMmOJG/xAlxudgspC8pDvI=";
|
||||
};
|
||||
|
||||
# Patch path to GLFW shared object
|
||||
|
@ -8,12 +8,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hepunits";
|
||||
version = "2.3.1";
|
||||
version = "2.3.2";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-sRdLuk1XW5k5wB80HiTZvb4ODNTMTOLn13aS2hkUXPs=";
|
||||
hash = "sha256-ijNm+l1ywWrxFm7Vec2qge3SZ2rLj2of59opDO/KOwg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "social-auth-core";
|
||||
version = "4.3.0";
|
||||
version = "4.4.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -27,7 +27,7 @@ buildPythonPackage rec {
|
||||
owner = "python-social-auth";
|
||||
repo = "social-core";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-P9IWnu1/PWVNl/tZZ4bqz0WnruKu/jXASZBoaWXWeYI=";
|
||||
hash = "sha256-1uRQ+7dPaD7X0GnI4rCaXJNmkc2uE/OLdxy3T7Gg3Bg=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "transformers";
|
||||
version = "4.26.1";
|
||||
version = "4.27.4";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -33,7 +33,7 @@ buildPythonPackage rec {
|
||||
owner = "huggingface";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-JRW3uSPgWgvtH4WFQLHD1ma8L1qq05MSemJbcdYMC6E=";
|
||||
hash = "sha256-2me7R61f5DtiVdFpen70xPLCTC4zcQhQbvdH5noDoug=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-tarpaulin";
|
||||
version = "0.25.1";
|
||||
version = "0.25.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "xd009642";
|
||||
repo = "tarpaulin";
|
||||
rev = version;
|
||||
sha256 = "sha256-JTkVNy2wqPIQ5mVcptI10a3Ghhdygnm9dmwUmiDqYjE=";
|
||||
sha256 = "sha256-EJb9IVQClZwJrIorJ6FM6gDV5oSeXiwbwG9l6+4fMQ8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec {
|
||||
buildInputs = [ openssl ]
|
||||
++ lib.optionals stdenv.isDarwin [ curl Security ];
|
||||
|
||||
cargoHash = "sha256-t4L3HSOGk/lAL8mOaVl/pm3kE0CVVzsYpyu0V6zeIFQ=";
|
||||
cargoHash = "sha256-WnvMLi0GeeLsmHDxH0tGAQfX//x9GD2cd/m7Tp/GLGA=";
|
||||
#checkFlags = [ "--test-threads" "1" ];
|
||||
doCheck = false;
|
||||
|
||||
|
@ -13,14 +13,14 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "rust-analyzer-unwrapped";
|
||||
version = "2023-04-04";
|
||||
cargoSha256 = "sha256-TeoSMRISS1ztxCqU+TZp7t5odQ9xhaO7LdUJfwpVbxU=";
|
||||
version = "2023-04-10";
|
||||
cargoSha256 = "sha256-rusQ8hB3SjztLJW3fFO0AUz50J+H5Y3K3bM7GhGRrSU=";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rust-lang";
|
||||
repo = "rust-analyzer";
|
||||
rev = version;
|
||||
sha256 = "sha256-IPBtZCOh3BdrR+V77cL7r6WQnclWcZ/85BDYnmq/GnQ=";
|
||||
sha256 = "sha256-efcZC+/FH3ZXMgDL3K5RIzKeD0Ow1ci096cXkTsP8SQ=";
|
||||
};
|
||||
|
||||
cargoBuildFlags = [ "--bin" "rust-analyzer" "--bin" "rust-analyzer-proc-macro-srv" ];
|
||||
|
@ -81,7 +81,7 @@ in stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/bin/insomnia" --prefix LD_LIBRARY_PATH : ${runtimeLibs}
|
||||
wrapProgram "$out/bin/insomnia" "''${gappsWrapperArgs[@]}" --prefix LD_LIBRARY_PATH : ${runtimeLibs}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -1,4 +1,6 @@
|
||||
{ lib, stdenv, fetchurl, fetchFromGitHub, zip, love, lua, makeWrapper, makeDesktopItem }:
|
||||
{ lib, stdenv, fetchurl, fetchFromGitHub, love, zip, fetchpatch, makeWrapper
|
||||
, makeDesktopItem, copyDesktopItems }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "orthorobot";
|
||||
version = "1.1.1";
|
||||
@ -11,32 +13,39 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
icon = fetchurl {
|
||||
url = "http://stabyourself.net/images/screenshots/orthorobot-5.png";
|
||||
url = "https://stabyourself.net/images/screenshots/orthorobot-5.png";
|
||||
sha256 = "13fa4divdqz4vpdij1lcs5kf6w2c4jm3cc9q6bz5h7lkng31jzi6";
|
||||
};
|
||||
|
||||
desktopItem = makeDesktopItem {
|
||||
name = "orthorobot";
|
||||
exec = pname;
|
||||
icon = icon;
|
||||
comment = "Robot game";
|
||||
desktopName = "Orthorobot";
|
||||
genericName = "orthorobot";
|
||||
categories = [ "Game" ];
|
||||
};
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
name = "orthorobot";
|
||||
exec = pname;
|
||||
icon = icon;
|
||||
comment = "Robot game";
|
||||
desktopName = "Orthorobot";
|
||||
genericName = "orthorobot";
|
||||
categories = [ "Game" ];
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ lua love zip ];
|
||||
nativeBuildInputs = [ makeWrapper zip copyDesktopItems ];
|
||||
|
||||
dontBuild = true;
|
||||
patches = [
|
||||
# support for love11
|
||||
(fetchpatch {
|
||||
url = "https://github.com/Stabyourself/orthorobot/pull/3.patch";
|
||||
sha256 = "sha256-WHHP6QM7R5eEkVF+J2pGNnds/OKRIRXyon85wjd3GXI=";
|
||||
})
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/share/games/lovegames $out/share/applications
|
||||
zip -9 -r ${pname}.love ./*
|
||||
mv ${pname}.love $out/share/games/lovegames/${pname}.love
|
||||
makeWrapper ${love}/bin/love $out/bin/${pname} --add-flags $out/share/games/lovegames/${pname}.love
|
||||
ln -s ${desktopItem}/share/applications/* $out/share/applications/
|
||||
chmod +x $out/bin/${pname}
|
||||
runHook preInstall
|
||||
zip -9 -r orthorobot.love ./*
|
||||
install -Dm444 -t $out/share/games/lovegames/ orthorobot.love
|
||||
makeWrapper ${love}/bin/love $out/bin/orthorobot \
|
||||
--add-flags $out/share/games/lovegames/orthorobot.love
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
@ -44,6 +53,6 @@ stdenv.mkDerivation rec {
|
||||
maintainers = with maintainers; [ leenaars ];
|
||||
platforms = platforms.linux;
|
||||
license = licenses.free;
|
||||
downloadPage = "http://stabyourself.net/orthorobot/";
|
||||
downloadPage = "https://stabyourself.net/orthorobot/";
|
||||
};
|
||||
}
|
||||
|
@ -4,16 +4,20 @@
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "clash-meta";
|
||||
version = "1.14.2";
|
||||
version = "1.14.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MetaCubeX";
|
||||
repo = "Clash.Meta";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-sn+0TNXCK4af4zfkf09hLsFkuvkcyjhwh35kKo993FQ=";
|
||||
# macOS has a case-insensitive filesystem, so these two can be the same file
|
||||
postFetch = ''
|
||||
rm -f $out/.github/workflows/{Delete,delete}.yml
|
||||
'';
|
||||
hash = "sha256-HITuxnzzyHBJ3PlXHYR0M1r3x70AtwzAp1hQ6pX16Bo=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-3j+5fF57eu7JJd3rnrWYwuWDivycUkUTTzptYaK3G/Q=";
|
||||
vendorHash = "sha256-D6b0U04wwDUzeIu3//E10YehohTzvyHWtK5Yzf3xrAI=";
|
||||
|
||||
# Do not build testing suit
|
||||
excludedPackages = [ "./test" ];
|
||||
|
@ -31562,6 +31562,10 @@ with pkgs;
|
||||
|
||||
kupfer = callPackage ../applications/misc/kupfer { };
|
||||
|
||||
kuro = callPackage ../applications/misc/kuro {
|
||||
electron = electron_22;
|
||||
};
|
||||
|
||||
kvirc = libsForQt5.callPackage ../applications/networking/irc/kvirc { };
|
||||
|
||||
lame = callPackage ../development/libraries/lame { };
|
||||
|
Loading…
Reference in New Issue
Block a user