Merge master into haskell-updates
This commit is contained in:
commit
efc10371d5
@ -59,7 +59,6 @@ buildNimPackage (finalAttrs: {
|
||||
hash = "sha256-Vtcj8goI4zZPQs2TbFoBFlcR5UqDtOldaXSH/+/xULk=";
|
||||
};
|
||||
propagatedBuildInputs = [ SDL2 ];
|
||||
doCheck = true;
|
||||
})
|
||||
```
|
||||
|
||||
|
@ -178,6 +178,11 @@ in mkLicense lset) ({
|
||||
fullName = ''BSD 3-clause "New" or "Revised" License'';
|
||||
};
|
||||
|
||||
bsd3Clear = {
|
||||
spdxId = "BSD-3-Clause-Clear";
|
||||
fullName = "BSD 3-Clause Clear License";
|
||||
};
|
||||
|
||||
bsdOriginal = {
|
||||
spdxId = "BSD-4-Clause";
|
||||
fullName = ''BSD 4-clause "Original" or "Old" License'';
|
||||
|
@ -9,6 +9,39 @@ rec {
|
||||
examples = import ./examples.nix { inherit lib; };
|
||||
architectures = import ./architectures.nix { inherit lib; };
|
||||
|
||||
/*
|
||||
Elaborated systems contain functions, which means that they don't satisfy
|
||||
`==` for a lack of reflexivity.
|
||||
|
||||
They might *appear* to satisfy `==` reflexivity when the same exact value is
|
||||
compared to itself, because object identity is used as an "optimization";
|
||||
compare the value with a reconstruction of itself, e.g. with `f == a: f a`,
|
||||
or perhaps calling `elaborate` twice, and one will see reflexivity fail as described.
|
||||
|
||||
Hence a custom equality test.
|
||||
|
||||
Note that this does not canonicalize the systems, so you'll want to make sure
|
||||
both arguments have been `elaborate`-d.
|
||||
*/
|
||||
equals =
|
||||
let removeFunctions = a: lib.filterAttrs (_: v: !builtins.isFunction v) a;
|
||||
in a: b: removeFunctions a == removeFunctions b;
|
||||
|
||||
/*
|
||||
Try to convert an elaborated system back to a simple string. If not possible,
|
||||
return null. So we have the property:
|
||||
|
||||
sys: _valid_ sys ->
|
||||
sys == elaborate (toLosslessStringMaybe sys)
|
||||
|
||||
NOTE: This property is not guaranteed when `sys` was elaborated by a different
|
||||
version of Nixpkgs.
|
||||
*/
|
||||
toLosslessStringMaybe = sys:
|
||||
if lib.isString sys then sys
|
||||
else if equals sys (elaborate sys.system) then sys.system
|
||||
else null;
|
||||
|
||||
/* List of all Nix system doubles the nixpkgs flake will expose the package set
|
||||
for. All systems listed here must be supported by nixpkgs as `localSystem`.
|
||||
|
||||
|
@ -53,6 +53,9 @@ let
|
||||
echo "Running lib/tests/sources.sh"
|
||||
TEST_LIB=$PWD/lib bash lib/tests/sources.sh
|
||||
|
||||
echo "Running lib/tests/systems.nix"
|
||||
[[ $(nix-instantiate --eval --strict lib/tests/systems.nix | tee /dev/stderr) == '[ ]' ]];
|
||||
|
||||
mkdir $out
|
||||
echo success > $out/${nix.version}
|
||||
'';
|
||||
|
@ -1,10 +1,8 @@
|
||||
# We assert that the new algorithmic way of generating these lists matches the
|
||||
# way they were hard-coded before.
|
||||
# Run:
|
||||
# [nixpkgs]$ nix-instantiate --eval --strict lib/tests/systems.nix
|
||||
# Expected output: [], or the failed cases
|
||||
#
|
||||
# One might think "if we exhaustively test, what's the point of procedurally
|
||||
# calculating the lists anyway?". The answer is one can mindlessly update these
|
||||
# tests as new platforms become supported, and then just give the diff a quick
|
||||
# sanity check before committing :).
|
||||
# OfBorg runs (approximately) nix-build lib/tests/release.nix
|
||||
let
|
||||
lib = import ../default.nix;
|
||||
mseteq = x: y: {
|
||||
@ -12,7 +10,16 @@ let
|
||||
expected = lib.sort lib.lessThan y;
|
||||
};
|
||||
in
|
||||
with lib.systems.doubles; lib.runTests {
|
||||
lib.runTests (
|
||||
# We assert that the new algorithmic way of generating these lists matches the
|
||||
# way they were hard-coded before.
|
||||
#
|
||||
# One might think "if we exhaustively test, what's the point of procedurally
|
||||
# calculating the lists anyway?". The answer is one can mindlessly update these
|
||||
# tests as new platforms become supported, and then just give the diff a quick
|
||||
# sanity check before committing :).
|
||||
|
||||
(with lib.systems.doubles; {
|
||||
testall = mseteq all (linux ++ darwin ++ freebsd ++ openbsd ++ netbsd ++ illumos ++ wasi ++ windows ++ embedded ++ mmix ++ js ++ genode ++ redox);
|
||||
|
||||
testarm = mseteq arm [ "armv5tel-linux" "armv6l-linux" "armv6l-netbsd" "armv6l-none" "armv7a-linux" "armv7a-netbsd" "armv7l-linux" "armv7l-netbsd" "arm-none" "armv7a-darwin" ];
|
||||
@ -39,4 +46,44 @@ with lib.systems.doubles; lib.runTests {
|
||||
testopenbsd = mseteq openbsd [ "i686-openbsd" "x86_64-openbsd" ];
|
||||
testwindows = mseteq windows [ "i686-cygwin" "x86_64-cygwin" "i686-windows" "x86_64-windows" ];
|
||||
testunix = mseteq unix (linux ++ darwin ++ freebsd ++ openbsd ++ netbsd ++ illumos ++ cygwin ++ redox);
|
||||
})
|
||||
|
||||
// {
|
||||
test_equals_example_x86_64-linux = {
|
||||
expr = lib.systems.equals (lib.systems.elaborate "x86_64-linux") (lib.systems.elaborate "x86_64-linux");
|
||||
expected = true;
|
||||
};
|
||||
|
||||
test_toLosslessStringMaybe_example_x86_64-linux = {
|
||||
expr = lib.systems.toLosslessStringMaybe (lib.systems.elaborate "x86_64-linux");
|
||||
expected = "x86_64-linux";
|
||||
};
|
||||
test_toLosslessStringMaybe_fail = {
|
||||
expr = lib.systems.toLosslessStringMaybe (lib.systems.elaborate "x86_64-linux" // { something = "extra"; });
|
||||
expected = null;
|
||||
};
|
||||
}
|
||||
|
||||
# Generate test cases to assert that a change in any non-function attribute makes a platform unequal
|
||||
// lib.concatMapAttrs (platformAttrName: origValue: {
|
||||
|
||||
${"test_equals_unequal_${platformAttrName}"} =
|
||||
let modified =
|
||||
assert origValue != arbitraryValue;
|
||||
lib.systems.elaborate "x86_64-linux" // { ${platformAttrName} = arbitraryValue; };
|
||||
arbitraryValue = x: "<<modified>>";
|
||||
in {
|
||||
expr = lib.systems.equals (lib.systems.elaborate "x86_64-linux") modified;
|
||||
expected = {
|
||||
# Changes in these attrs are not detectable because they're function.
|
||||
# The functions should be derived from the data, so this is not a problem.
|
||||
canExecute = null;
|
||||
emulator = null;
|
||||
emulatorAvailable = null;
|
||||
isCompatible = null;
|
||||
}?${platformAttrName};
|
||||
};
|
||||
|
||||
}) (lib.systems.elaborate "x86_64-linux" /* arbitrary choice, just to get all the elaborated attrNames */)
|
||||
|
||||
)
|
||||
|
@ -3098,6 +3098,15 @@
|
||||
githubId = 34317;
|
||||
name = "Corey O'Connor";
|
||||
};
|
||||
code-asher = {
|
||||
email = "ash@coder.com";
|
||||
github = "code-asher";
|
||||
githubId = 45609798;
|
||||
name = "Asher";
|
||||
keys = [{
|
||||
fingerprint = "6E3A FA6D 915C C2A4 D26F C53E 7BB4 BA9C 783D 2BBC";
|
||||
}];
|
||||
};
|
||||
CodeLongAndProsper90 = {
|
||||
github = "CodeLongAndProsper90";
|
||||
githubId = 50145141;
|
||||
@ -3764,6 +3773,12 @@
|
||||
fingerprint = "9B43 6B14 77A8 79C2 6CDB 6604 C171 2510 02C2 00F2";
|
||||
}];
|
||||
};
|
||||
deemp = {
|
||||
email = "deempleton@gmail.com";
|
||||
github = "deemp";
|
||||
githubId = 48378098;
|
||||
name = "Danila Danko";
|
||||
};
|
||||
deepfire = {
|
||||
email = "_deepfire@feelingofgreen.ru";
|
||||
github = "deepfire";
|
||||
@ -8369,6 +8384,12 @@
|
||||
githubId = 546087;
|
||||
name = "Kristoffer K. Føllesdal";
|
||||
};
|
||||
khaser = {
|
||||
email = "a-horohorin@mail.ru";
|
||||
github = "khaser";
|
||||
githubId = 59027018;
|
||||
name = "Andrey Khorokhorin";
|
||||
};
|
||||
kho-dialga = {
|
||||
email = "ivandashenyou@gmail.com";
|
||||
github = "Kho-Dialga";
|
||||
@ -9326,6 +9347,12 @@
|
||||
githubId = 5624721;
|
||||
name = "Ben Wolsieffer";
|
||||
};
|
||||
lord-valen = {
|
||||
name = "Lord Valen";
|
||||
matrix = "@lord-valen:matrix.org";
|
||||
github = "Lord-Valen";
|
||||
githubId = 46138807;
|
||||
};
|
||||
lorenz = {
|
||||
name = "Lorenz Brun";
|
||||
email = "lorenz@brun.one";
|
||||
@ -10427,6 +10454,12 @@
|
||||
github = "michaelBelsanti";
|
||||
githubId = 62124625;
|
||||
};
|
||||
michaelCTS = {
|
||||
email = "michael.vogel@cts.co";
|
||||
name = "Michael Vogel";
|
||||
github = "michaelCTS";
|
||||
githubId = 132582212;
|
||||
};
|
||||
michaelgrahamevans = {
|
||||
email = "michaelgrahamevans@gmail.com";
|
||||
name = "Michael Evans";
|
||||
@ -14025,6 +14058,15 @@
|
||||
githubId = 889991;
|
||||
name = "Ryan Artecona";
|
||||
};
|
||||
ryane = {
|
||||
email = "ryanesc@gmail.com";
|
||||
github = "ryane";
|
||||
githubId = 7346;
|
||||
name = "Ryan Eschinger";
|
||||
keys = [{
|
||||
fingerprint = "E4F4 1EAB BF0F C785 06D8 62EF EF68 CF41 D42A 593D";
|
||||
}];
|
||||
};
|
||||
ryanorendorff = {
|
||||
github = "ryanorendorff";
|
||||
githubId = 12442942;
|
||||
@ -17100,6 +17142,16 @@
|
||||
github = "wdavidw";
|
||||
githubId = 46896;
|
||||
};
|
||||
weathercold = {
|
||||
name = "Weathercold";
|
||||
email = "weathercold.scr@gmail.com";
|
||||
matrix = "@weathercold:matrix.org";
|
||||
github = "Weathercold";
|
||||
githubId = 49368953;
|
||||
keys = [{
|
||||
fingerprint = "D20F C904 A145 8B28 53D8 FBA0 0422 0096 01E4 87FC";
|
||||
}];
|
||||
};
|
||||
wegank = {
|
||||
name = "Weijia Wang";
|
||||
email = "contact@weijia.wang";
|
||||
|
@ -272,6 +272,14 @@ with lib.maintainers; {
|
||||
enableFeatureFreezePing = true;
|
||||
};
|
||||
|
||||
flutter = {
|
||||
members = [ gilice mkg20001 RossComputerGuy FlafyDev hacker1024 ];
|
||||
scope = "Maintain Flutter and Dart-related packages and build tools";
|
||||
shortName = "flutter";
|
||||
enableFeatureFreezePing = false;
|
||||
githubTeams = [ "flutter" ];
|
||||
};
|
||||
|
||||
freedesktop = {
|
||||
members = [ jtojnar ];
|
||||
scope = "Maintain Freedesktop.org packages for graphical desktop.";
|
||||
|
@ -868,7 +868,7 @@ class Machine:
|
||||
# to match multiline regexes.
|
||||
console = io.StringIO()
|
||||
|
||||
def console_matches() -> bool:
|
||||
def console_matches(_: Any) -> bool:
|
||||
nonlocal console
|
||||
try:
|
||||
# This will return as soon as possible and
|
||||
@ -884,7 +884,7 @@ class Machine:
|
||||
if timeout is not None:
|
||||
retry(console_matches, timeout)
|
||||
else:
|
||||
while not console_matches():
|
||||
while not console_matches(False):
|
||||
pass
|
||||
|
||||
def send_key(
|
||||
|
@ -23,6 +23,12 @@ in
|
||||
config = mkIf cfg.enable {
|
||||
systemd.packages = [ pkgs.cfs-zen-tweaks ];
|
||||
|
||||
systemd.services.set-cfs-tweak.wantedBy = [ "multi-user.target" "suspend.target" "hibernate.target" "hybrid-sleep.target" "suspend-then-hibernate.target" ];
|
||||
systemd.services.set-cfs-tweaks.wantedBy = [
|
||||
"multi-user.target"
|
||||
"suspend.target"
|
||||
"hibernate.target"
|
||||
"hybrid-sleep.target"
|
||||
"suspend-then-hibernate.target"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
@ -2,15 +2,14 @@
|
||||
let
|
||||
cfg = config.programs.nix-ld;
|
||||
|
||||
# TODO make glibc here configurable?
|
||||
nix-ld-so = pkgs.runCommand "ld.so" {} ''
|
||||
ln -s "$(cat '${pkgs.stdenv.cc}/nix-support/dynamic-linker')" $out
|
||||
'';
|
||||
|
||||
nix-ld-libraries = pkgs.buildEnv {
|
||||
name = "lb-library-path";
|
||||
pathsToLink = [ "/lib" ];
|
||||
paths = map lib.getLib cfg.libraries;
|
||||
# TODO make glibc here configurable?
|
||||
postBuild = ''
|
||||
ln -s ${pkgs.stdenv.cc.bintools.dynamicLinker} $out/share/nix-ld/lib/ld.so
|
||||
'';
|
||||
extraPrefix = "/share/nix-ld";
|
||||
ignoreCollisions = true;
|
||||
};
|
||||
@ -38,12 +37,7 @@ in
|
||||
meta.maintainers = [ lib.maintainers.mic92 ];
|
||||
options.programs.nix-ld = {
|
||||
enable = lib.mkEnableOption (lib.mdDoc ''nix-ld, Documentation: <https://github.com/Mic92/nix-ld>'');
|
||||
package = lib.mkOption {
|
||||
type = lib.types.package;
|
||||
description = lib.mdDoc "Which package to use for the nix-ld.";
|
||||
default = pkgs.nix-ld;
|
||||
defaultText = lib.literalExpression "pkgs.nix-ld";
|
||||
};
|
||||
package = lib.mkPackageOptionMD pkgs "nix-ld" { };
|
||||
libraries = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.package;
|
||||
description = lib.mdDoc "Libraries that automatically become available to all programs. The default set includes common libraries.";
|
||||
@ -60,7 +54,7 @@ in
|
||||
environment.pathsToLink = [ "/share/nix-ld" ];
|
||||
|
||||
environment.variables = {
|
||||
NIX_LD = toString nix-ld-so;
|
||||
NIX_LD = "/run/current-system/sw/share/nix-ld/lib/ld.so";
|
||||
NIX_LD_LIBRARY_PATH = "/run/current-system/sw/share/nix-ld/lib";
|
||||
};
|
||||
};
|
||||
|
@ -16,7 +16,13 @@ in
|
||||
|
||||
enable = mkEnableOption (lib.mdDoc "lemmy a federated alternative to reddit in rust");
|
||||
|
||||
server = {
|
||||
package = mkPackageOptionMD pkgs "lemmy-server" {};
|
||||
};
|
||||
|
||||
ui = {
|
||||
package = mkPackageOptionMD pkgs "lemmy-ui" {};
|
||||
|
||||
port = mkOption {
|
||||
type = types.port;
|
||||
default = 1234;
|
||||
@ -27,7 +33,15 @@ in
|
||||
caddy.enable = mkEnableOption (lib.mdDoc "exposing lemmy with the caddy reverse proxy");
|
||||
nginx.enable = mkEnableOption (lib.mdDoc "exposing lemmy with the nginx reverse proxy");
|
||||
|
||||
database.createLocally = mkEnableOption (lib.mdDoc "creation of database on the instance");
|
||||
database = {
|
||||
createLocally = mkEnableOption (lib.mdDoc "creation of database on the instance");
|
||||
|
||||
uri = mkOption {
|
||||
type = with types; nullOr str;
|
||||
default = null;
|
||||
description = lib.mdDoc "The connection URI to use. Takes priority over the configuration file if set.";
|
||||
};
|
||||
};
|
||||
|
||||
settings = mkOption {
|
||||
default = { };
|
||||
@ -49,7 +63,7 @@ in
|
||||
};
|
||||
|
||||
options.federation = {
|
||||
enabled = mkEnableOption (lib.mdDoc "activitypub federation");
|
||||
enabled = (mkEnableOption (lib.mdDoc "activitypub federation")) // { visible = false; };
|
||||
};
|
||||
|
||||
options.captcha = {
|
||||
@ -71,6 +85,10 @@ in
|
||||
|
||||
config =
|
||||
lib.mkIf cfg.enable {
|
||||
warnings = lib.optional (cfg.settings.federation.enabled) ''
|
||||
This option was removed in 0.17.0 and no longer has any effect.
|
||||
'';
|
||||
|
||||
services.lemmy.settings = (mapAttrs (name: mkDefault)
|
||||
{
|
||||
bind = "127.0.0.1";
|
||||
@ -112,7 +130,7 @@ in
|
||||
virtualHosts."${cfg.settings.hostname}" = {
|
||||
extraConfig = ''
|
||||
handle_path /static/* {
|
||||
root * ${pkgs.lemmy-ui}/dist
|
||||
root * ${cfg.ui.package}/dist
|
||||
file_server
|
||||
}
|
||||
@for_backend {
|
||||
@ -185,10 +203,8 @@ in
|
||||
description = "Lemmy server";
|
||||
|
||||
environment = {
|
||||
LEMMY_CONFIG_LOCATION = "/run/lemmy/config.hjson";
|
||||
|
||||
# Verify how this is used, and don't put the password in the nix store
|
||||
LEMMY_DATABASE_URL = with cfg.settings.database;"postgres:///${database}?host=${host}";
|
||||
LEMMY_CONFIG_LOCATION = "${settingsFormat.generate "config.hjson" cfg.settings}";
|
||||
LEMMY_DATABASE_URL = mkIf (cfg.database.uri != null) cfg.database.uri;
|
||||
};
|
||||
|
||||
documentation = [
|
||||
@ -205,8 +221,7 @@ in
|
||||
serviceConfig = {
|
||||
DynamicUser = true;
|
||||
RuntimeDirectory = "lemmy";
|
||||
ExecStartPre = "${pkgs.coreutils}/bin/install -m 600 ${settingsFormat.generate "config.hjson" cfg.settings} /run/lemmy/config.hjson";
|
||||
ExecStart = "${pkgs.lemmy-server}/bin/lemmy_server";
|
||||
ExecStart = "${cfg.server.package}/bin/lemmy_server";
|
||||
};
|
||||
};
|
||||
|
||||
@ -233,8 +248,8 @@ in
|
||||
|
||||
serviceConfig = {
|
||||
DynamicUser = true;
|
||||
WorkingDirectory = "${pkgs.lemmy-ui}";
|
||||
ExecStart = "${pkgs.nodejs}/bin/node ${pkgs.lemmy-ui}/dist/js/server.js";
|
||||
WorkingDirectory = "${cfg.ui.package}";
|
||||
ExecStart = "${pkgs.nodejs}/bin/node ${cfg.ui.package}/dist/js/server.js";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -71,7 +71,7 @@ in
|
||||
package = mkDefault pkgs.cinnamon.mint-themes;
|
||||
};
|
||||
iconTheme = mkIf (notExcluded pkgs.cinnamon.mint-y-icons) {
|
||||
name = mkDefault "Mint-Y-Aqua";
|
||||
name = mkDefault "Mint-Y-Sand";
|
||||
package = mkDefault pkgs.cinnamon.mint-y-icons;
|
||||
};
|
||||
cursorTheme = mkIf (notExcluded pkgs.cinnamon.mint-cursor-themes) {
|
||||
@ -113,6 +113,8 @@ in
|
||||
services.gnome.glib-networking.enable = true;
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
services.gvfs.enable = true;
|
||||
services.switcherooControl.enable = mkDefault true; # xapp-gpu-offload-helper
|
||||
services.touchegg.enable = mkDefault true;
|
||||
services.udisks2.enable = true;
|
||||
services.upower.enable = mkDefault config.powerManagement.enable;
|
||||
services.xserver.libinput.enable = mkDefault true;
|
||||
@ -178,6 +180,8 @@ in
|
||||
nixos-artwork.wallpapers.simple-dark-gray
|
||||
mint-artwork
|
||||
mint-cursor-themes
|
||||
mint-l-icons
|
||||
mint-l-theme
|
||||
mint-themes
|
||||
mint-x-icons
|
||||
mint-y-icons
|
||||
|
@ -13,5 +13,8 @@ import ./make-test-python.nix ({ lib, pkgs, ...} :
|
||||
testScript = ''
|
||||
start_all()
|
||||
machine.succeed("hello")
|
||||
|
||||
# test fallback if NIX_LD is not set
|
||||
machine.succeed("unset NIX_LD; unset NIX_LD_LIBRARY_PATH; hello")
|
||||
'';
|
||||
})
|
||||
|
@ -2,7 +2,7 @@ import ./make-test-python.nix ({ lib, pkgs, ... }: {
|
||||
name = "systemd-initrd-vconsole";
|
||||
|
||||
nodes.machine = { pkgs, ... }: {
|
||||
boot.kernelParams = [ "rd.systemd.unit=rescue.target" ];
|
||||
boot.kernelParams = lib.mkAfter [ "rd.systemd.unit=rescue.target" "loglevel=3" "udev.log_level=3" "systemd.log_level=warning" ];
|
||||
|
||||
boot.initrd.systemd = {
|
||||
enable = true;
|
||||
@ -20,14 +20,23 @@ import ./make-test-python.nix ({ lib, pkgs, ... }: {
|
||||
machine.start()
|
||||
machine.wait_for_console_text("Press Enter for maintenance")
|
||||
machine.send_console("\n")
|
||||
machine.wait_for_console_text("Logging in with home")
|
||||
|
||||
# Wait for shell to become ready
|
||||
for _ in range(300):
|
||||
machine.send_console("printf '%s to receive commands:\\n' Ready\n")
|
||||
try:
|
||||
machine.wait_for_console_text("Ready to receive commands:", timeout=1)
|
||||
break
|
||||
except Exception:
|
||||
continue
|
||||
else:
|
||||
raise RuntimeError("Rescue shell never became ready")
|
||||
|
||||
# Check keymap
|
||||
machine.send_console("(printf '%s to receive text: \\n' Ready && read text && echo \"$text\") </dev/tty1\n")
|
||||
machine.send_console("(printf '%s to receive text:\\n' Ready && read text && echo \"$text\") </dev/tty1\n")
|
||||
machine.wait_for_console_text("Ready to receive text:")
|
||||
for key in "asdfjkl;\n":
|
||||
machine.send_key(key)
|
||||
machine.wait_for_console_text("arstneio")
|
||||
machine.send_console("systemctl poweroff\n")
|
||||
'';
|
||||
})
|
||||
|
@ -22,17 +22,11 @@ stdenv.mkDerivation (faustDefaults // {
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
# export parts of the build environment
|
||||
mkdir "$out"/include
|
||||
# until pr #887 is merged and released in faust we need to link the header folders
|
||||
ln -s "${supercollider}"/include/SuperCollider/plugin_interface "$out"/include/plugin_interface
|
||||
ln -s "${supercollider}"/include/SuperCollider/common "$out"/include/common
|
||||
ln -s "${supercollider}"/include/SuperCollider/server "$out"/include/server
|
||||
wrapProgram "$out"/bin/${baseName} \
|
||||
--append-flags "--import-dir ${faust}/share/faust" \
|
||||
--append-flags "--architecture-dir ${faust}/share/faust" \
|
||||
--append-flags "--architecture-dir ${faust}/include" \
|
||||
--append-flags "-p $out" \
|
||||
--append-flags "-p ${supercollider}" \
|
||||
--prefix PATH : "$PATH"
|
||||
'';
|
||||
})
|
||||
|
@ -8,13 +8,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pt2-clone";
|
||||
version = "1.58";
|
||||
version = "1.59";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "8bitbubsy";
|
||||
repo = "pt2-clone";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-5i892C5aJWgouIgD3FkojJfEhN08Jf1d7HDMvdT82aU=";
|
||||
sha256 = "sha256-Hv2ZM01aDyBcmdbK+7C20zncvCeZSQ61BJ7zTSM/OA8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
@ -1283,10 +1283,10 @@
|
||||
elpaBuild {
|
||||
pname = "denote";
|
||||
ename = "denote";
|
||||
version = "1.2.0.0.20230605.73117";
|
||||
version = "1.2.0.0.20230611.160303";
|
||||
src = fetchurl {
|
||||
url = "https://elpa.gnu.org/devel/denote-1.2.0.0.20230605.73117.tar";
|
||||
sha256 = "1rj7gaqxliyah72q485hx1gm474xs391zi34hdpdz3l87bd57n6a";
|
||||
url = "https://elpa.gnu.org/devel/denote-1.2.0.0.20230611.160303.tar";
|
||||
sha256 = "13xb6h6ww12j301zkjvw8kb702cxz3xj7blj6qhw6bs5i7qs90vy";
|
||||
};
|
||||
packageRequires = [ emacs ];
|
||||
meta = {
|
||||
@ -1809,10 +1809,10 @@
|
||||
elpaBuild {
|
||||
pname = "emacs-gc-stats";
|
||||
ename = "emacs-gc-stats";
|
||||
version = "1.0.0.20230414.170313";
|
||||
version = "1.1.0.20230611.93624";
|
||||
src = fetchurl {
|
||||
url = "https://elpa.gnu.org/devel/emacs-gc-stats-1.0.0.20230414.170313.tar";
|
||||
sha256 = "17jmxhxym6n3n61vf0my7c98pzx6d7gxfc8qb7k0yhac1b8s9fg3";
|
||||
url = "https://elpa.gnu.org/devel/emacs-gc-stats-1.1.0.20230611.93624.tar";
|
||||
sha256 = "0ybipxwdzfzmx6k2a20q9gb8ymb4pwbkk0qxic34g2czq8kba79k";
|
||||
};
|
||||
packageRequires = [ emacs ];
|
||||
meta = {
|
||||
@ -1820,18 +1820,14 @@
|
||||
license = lib.licenses.free;
|
||||
};
|
||||
}) {};
|
||||
embark = callPackage ({ compat
|
||||
, elpaBuild
|
||||
, emacs
|
||||
, fetchurl
|
||||
, lib }:
|
||||
embark = callPackage ({ compat, elpaBuild, emacs, fetchurl, lib }:
|
||||
elpaBuild {
|
||||
pname = "embark";
|
||||
ename = "embark";
|
||||
version = "0.22.1.0.20230604.235020";
|
||||
version = "0.22.1.0.20230613.15430";
|
||||
src = fetchurl {
|
||||
url = "https://elpa.gnu.org/devel/embark-0.22.1.0.20230604.235020.tar";
|
||||
sha256 = "0yb3g3yp4vd9w6bclmff1qgqryj1hz9xf187yfrnqv3viv924454";
|
||||
url = "https://elpa.gnu.org/devel/embark-0.22.1.0.20230613.15430.tar";
|
||||
sha256 = "099ja8d1h7282vwbijagh7n0fign6i21i8mz90wcw4ykwqqij5i5";
|
||||
};
|
||||
packageRequires = [ compat emacs ];
|
||||
meta = {
|
||||
@ -1848,10 +1844,10 @@
|
||||
elpaBuild {
|
||||
pname = "embark-consult";
|
||||
ename = "embark-consult";
|
||||
version = "0.7.0.20230604.235020";
|
||||
version = "0.7.0.20230613.15430";
|
||||
src = fetchurl {
|
||||
url = "https://elpa.gnu.org/devel/embark-consult-0.7.0.20230604.235020.tar";
|
||||
sha256 = "1982pcvf2crwmind8ykx5i30dvyd63pfljnrsjgnb4ws7nglbrbi";
|
||||
url = "https://elpa.gnu.org/devel/embark-consult-0.7.0.20230613.15430.tar";
|
||||
sha256 = "0nv4wd2r2v7a8i7mn3pp70hba1664vp7ccix6ws2h8aflmqxc405";
|
||||
};
|
||||
packageRequires = [ consult emacs embark ];
|
||||
meta = {
|
||||
@ -1859,6 +1855,40 @@
|
||||
license = lib.licenses.free;
|
||||
};
|
||||
}) {};
|
||||
ement = callPackage ({ elpaBuild
|
||||
, emacs
|
||||
, fetchurl
|
||||
, lib
|
||||
, map
|
||||
, persist
|
||||
, plz
|
||||
, svg-lib
|
||||
, taxy
|
||||
, taxy-magit-section
|
||||
, transient }:
|
||||
elpaBuild {
|
||||
pname = "ement";
|
||||
ename = "ement";
|
||||
version = "0.10pre0.20230609.233956";
|
||||
src = fetchurl {
|
||||
url = "https://elpa.gnu.org/devel/ement-0.10pre0.20230609.233956.tar";
|
||||
sha256 = "110hj66w821fdb8fbqsmzxy4ypz14g55c6qvy6mkad39qbync1nw";
|
||||
};
|
||||
packageRequires = [
|
||||
emacs
|
||||
map
|
||||
persist
|
||||
plz
|
||||
svg-lib
|
||||
taxy
|
||||
taxy-magit-section
|
||||
transient
|
||||
];
|
||||
meta = {
|
||||
homepage = "https://elpa.gnu.org/packages/ement.html";
|
||||
license = lib.licenses.free;
|
||||
};
|
||||
}) {};
|
||||
emms = callPackage ({ cl-lib ? null
|
||||
, elpaBuild
|
||||
, fetchurl
|
||||
@ -1929,6 +1959,25 @@
|
||||
license = lib.licenses.free;
|
||||
};
|
||||
}) {};
|
||||
erc = callPackage ({ compat
|
||||
, elpaBuild
|
||||
, emacs
|
||||
, fetchurl
|
||||
, lib }:
|
||||
elpaBuild {
|
||||
pname = "erc";
|
||||
ename = "erc";
|
||||
version = "5.6snapshot0.20230611.202407";
|
||||
src = fetchurl {
|
||||
url = "https://elpa.gnu.org/devel/erc-5.6snapshot0.20230611.202407.tar";
|
||||
sha256 = "195ywapyvw79x8mbs45dc9mkskwy7l3qvrinw0jw0lj081ql4n6d";
|
||||
};
|
||||
packageRequires = [ compat emacs ];
|
||||
meta = {
|
||||
homepage = "https://elpa.gnu.org/packages/erc.html";
|
||||
license = lib.licenses.free;
|
||||
};
|
||||
}) {};
|
||||
ergoemacs-mode = callPackage ({ cl-lib ? null
|
||||
, elpaBuild
|
||||
, emacs
|
||||
@ -1949,6 +1998,24 @@
|
||||
license = lib.licenses.free;
|
||||
};
|
||||
}) {};
|
||||
ess = callPackage ({ elpaBuild
|
||||
, emacs
|
||||
, fetchurl
|
||||
, lib }:
|
||||
elpaBuild {
|
||||
pname = "ess";
|
||||
ename = "ess";
|
||||
version = "18.10.3snapshot0.20230419.152710";
|
||||
src = fetchurl {
|
||||
url = "https://elpa.gnu.org/devel/ess-18.10.3snapshot0.20230419.152710.tar";
|
||||
sha256 = "04mbnx6mlkpkdh700x0xdfyw31idgypcmag2sdk29dgqza761b9r";
|
||||
};
|
||||
packageRequires = [ emacs ];
|
||||
meta = {
|
||||
homepage = "https://elpa.gnu.org/packages/ess.html";
|
||||
license = lib.licenses.free;
|
||||
};
|
||||
}) {};
|
||||
excorporate = callPackage ({ cl-lib ? null
|
||||
, elpaBuild
|
||||
, emacs
|
||||
@ -2676,6 +2743,24 @@
|
||||
license = lib.licenses.free;
|
||||
};
|
||||
}) {};
|
||||
hyperbole = callPackage ({ elpaBuild
|
||||
, emacs
|
||||
, fetchurl
|
||||
, lib }:
|
||||
elpaBuild {
|
||||
pname = "hyperbole";
|
||||
ename = "hyperbole";
|
||||
version = "8.0.1pre0.20230611.151720";
|
||||
src = fetchurl {
|
||||
url = "https://elpa.gnu.org/devel/hyperbole-8.0.1pre0.20230611.151720.tar";
|
||||
sha256 = "126kzbyky9qjp5lplygkxb53dxq3wis9b1pyl0xfhmvwipbs31s0";
|
||||
};
|
||||
packageRequires = [ emacs ];
|
||||
meta = {
|
||||
homepage = "https://elpa.gnu.org/packages/hyperbole.html";
|
||||
license = lib.licenses.free;
|
||||
};
|
||||
}) {};
|
||||
ilist = callPackage ({ elpaBuild, fetchurl, lib }:
|
||||
elpaBuild {
|
||||
pname = "ilist";
|
||||
@ -3914,6 +3999,21 @@
|
||||
license = lib.licenses.free;
|
||||
};
|
||||
}) {};
|
||||
org = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
|
||||
elpaBuild {
|
||||
pname = "org";
|
||||
ename = "org";
|
||||
version = "9.7pre0.20230613.100848";
|
||||
src = fetchurl {
|
||||
url = "https://elpa.gnu.org/devel/org-9.7pre0.20230613.100848.tar";
|
||||
sha256 = "164ndywr9rgls1yzn1p1gkmszqr3rqzd10k9rjqairvsl2i1r68w";
|
||||
};
|
||||
packageRequires = [ emacs ];
|
||||
meta = {
|
||||
homepage = "https://elpa.gnu.org/packages/org.html";
|
||||
license = lib.licenses.free;
|
||||
};
|
||||
}) {};
|
||||
org-contacts = callPackage ({ elpaBuild
|
||||
, emacs
|
||||
, fetchurl
|
||||
@ -4308,6 +4408,21 @@
|
||||
license = lib.licenses.free;
|
||||
};
|
||||
}) {};
|
||||
plz = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
|
||||
elpaBuild {
|
||||
pname = "plz";
|
||||
ename = "plz";
|
||||
version = "0.6pre0.20230530.113949";
|
||||
src = fetchurl {
|
||||
url = "https://elpa.gnu.org/devel/plz-0.6pre0.20230530.113949.tar";
|
||||
sha256 = "1k96pibm5c5sl6b8cw5w4n8x33dhf1zc8ik64y0m03sj70h20j9l";
|
||||
};
|
||||
packageRequires = [ emacs ];
|
||||
meta = {
|
||||
homepage = "https://elpa.gnu.org/packages/plz.html";
|
||||
license = lib.licenses.free;
|
||||
};
|
||||
}) {};
|
||||
poke = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
|
||||
elpaBuild {
|
||||
pname = "poke";
|
||||
@ -4831,10 +4946,10 @@
|
||||
elpaBuild {
|
||||
pname = "relint";
|
||||
ename = "relint";
|
||||
version = "1.22.0.20230326.142643";
|
||||
version = "1.22.0.20230612.102749";
|
||||
src = fetchurl {
|
||||
url = "https://elpa.gnu.org/devel/relint-1.22.0.20230326.142643.tar";
|
||||
sha256 = "0ac7rckvvccvnlm52dw5dl83g5ywzziwkw6mnkgs27017mn3dlfh";
|
||||
url = "https://elpa.gnu.org/devel/relint-1.22.0.20230612.102749.tar";
|
||||
sha256 = "08q5y03lf9r5an6sw4gw6fkn0vcy0yhy43bfx1pag8d55x1h42ny";
|
||||
};
|
||||
packageRequires = [ emacs xr ];
|
||||
meta = {
|
||||
@ -5970,14 +6085,18 @@
|
||||
license = lib.licenses.free;
|
||||
};
|
||||
}) {};
|
||||
triples = callPackage ({ elpaBuild, emacs, fetchurl, lib, seq }:
|
||||
triples = callPackage ({ elpaBuild
|
||||
, emacs
|
||||
, fetchurl
|
||||
, lib
|
||||
, seq }:
|
||||
elpaBuild {
|
||||
pname = "triples";
|
||||
ename = "triples";
|
||||
version = "0.3.0.20230610.100448";
|
||||
version = "0.3.2.0.20230613.212718";
|
||||
src = fetchurl {
|
||||
url = "https://elpa.gnu.org/devel/triples-0.3.0.20230610.100448.tar";
|
||||
sha256 = "08bz6ypg6grp9vz12kr0bp7m8v3vc22klc0x1aiv3f7wgy451snk";
|
||||
url = "https://elpa.gnu.org/devel/triples-0.3.2.0.20230613.212718.tar";
|
||||
sha256 = "0c5kv3phzxf56v7gzgarpymj2y8qz9y2f9bzy7fxifg4921y02np";
|
||||
};
|
||||
packageRequires = [ emacs seq ];
|
||||
meta = {
|
||||
@ -6072,6 +6191,26 @@
|
||||
license = lib.licenses.free;
|
||||
};
|
||||
}) {};
|
||||
urgrep = callPackage ({ compat
|
||||
, elpaBuild
|
||||
, emacs
|
||||
, fetchurl
|
||||
, lib
|
||||
, project }:
|
||||
elpaBuild {
|
||||
pname = "urgrep";
|
||||
ename = "urgrep";
|
||||
version = "0.2.0snapshot0.20230610.165543";
|
||||
src = fetchurl {
|
||||
url = "https://elpa.gnu.org/devel/urgrep-0.2.0snapshot0.20230610.165543.tar";
|
||||
sha256 = "09j6wkr77xl87jjpjs9msjad1fmdag77dkqgz1ad3z5f02sav0nn";
|
||||
};
|
||||
packageRequires = [ compat emacs project ];
|
||||
meta = {
|
||||
homepage = "https://elpa.gnu.org/packages/urgrep.html";
|
||||
license = lib.licenses.free;
|
||||
};
|
||||
}) {};
|
||||
url-http-ntlm = callPackage ({ cl-lib ? null
|
||||
, elpaBuild
|
||||
, fetchurl
|
||||
@ -6395,10 +6534,10 @@
|
||||
elpaBuild {
|
||||
pname = "vundo";
|
||||
ename = "vundo";
|
||||
version = "2.1.0.0.20230510.170718";
|
||||
version = "2.1.0.0.20230612.40515";
|
||||
src = fetchurl {
|
||||
url = "https://elpa.gnu.org/devel/vundo-2.1.0.0.20230510.170718.tar";
|
||||
sha256 = "0q48bwaxz39w8gppsmr32rk04zh50cfz4g2rlxf5bkziqgja0yyl";
|
||||
url = "https://elpa.gnu.org/devel/vundo-2.1.0.0.20230612.40515.tar";
|
||||
sha256 = "1dbzf9dnvyjikn5z256yrqy5i215vxby3ndg7i0i0pdzg3pjkj39";
|
||||
};
|
||||
packageRequires = [ emacs ];
|
||||
meta = {
|
||||
|
@ -4,8 +4,8 @@ let
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "nix-community";
|
||||
repo = "emacs2nix";
|
||||
rev = "7f07ac3c3f175630de68153d98a93b9fa24d1eb3";
|
||||
sha256 = "sha256-Mh9G8LH3n1ccg+shBoWQRk67yAA+GEYGkk8tjM7W02Y=";
|
||||
rev = "e5389c3d7be9c3af135f022d86c61767d41c364f";
|
||||
sha256 = "sha256-mueyrGXgbjvmXQqPRuLUJdJuB5dqiGGdzCQ74Ud+Z9Y=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
in
|
||||
|
@ -55,11 +55,6 @@ packages = ( self:
|
||||
{"""
|
||||
)
|
||||
for pluginDesc, plugin in sorted_plugins:
|
||||
if plugin.has_submodules:
|
||||
submodule_attr = "\n fetchSubmodules = true;"
|
||||
else:
|
||||
submodule_attr = ""
|
||||
|
||||
f.write(
|
||||
f"""
|
||||
{plugin.normalized_name} = buildKakounePluginFrom2Nix {{
|
||||
|
@ -847,8 +847,8 @@ let
|
||||
mktplcRef = {
|
||||
name = "vscode-markdownlint";
|
||||
publisher = "DavidAnson";
|
||||
version = "0.50.0";
|
||||
sha256 = "sha256-F+lryIhSudDz68t1eGrfqI8EuoUUOWU5LfWj0IRCQyY=";
|
||||
version = "0.51.0";
|
||||
sha256 = "sha256-Xtr8cqcPrcrKpJBxQcY1j9Gl4CC6U3ZazS4bdBtdzUk=";
|
||||
};
|
||||
meta = {
|
||||
changelog = "https://marketplace.visualstudio.com/items/DavidAnson.vscode-markdownlint/changelog";
|
||||
|
@ -19,13 +19,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xed-editor";
|
||||
version = "3.2.8";
|
||||
version = "3.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = "xed";
|
||||
rev = version;
|
||||
sha256 = "sha256-ax769qjV0oZ6tnEE5FsXNbHETI6KNgvh0WviBsPs9j8=";
|
||||
sha256 = "sha256-fBwxc6n4sNNRiKcax96Tl3cFD+Ryvmj+XizB3z2s4+Q=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -60,6 +60,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"art"
|
||||
"fsspec"
|
||||
"pymupdf"
|
||||
"rich-click"
|
||||
|
@ -131,7 +131,11 @@ in stdenv.mkDerivation {
|
||||
makeShellWrapper $out/share/1password/1password $out/bin/1password \
|
||||
"''${gappsWrapperArgs[@]}" \
|
||||
--suffix PATH : ${lib.makeBinPath [ xdg-utils ]} \
|
||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ udev ]} \
|
||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"
|
||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ udev ]}
|
||||
# Currently half broken on wayland (e.g. no copy functionality)
|
||||
# See: https://github.com/NixOS/nixpkgs/pull/232718#issuecomment-1582123406
|
||||
# Remove this comment when upstream fixes:
|
||||
# https://1password.community/discussion/comment/624011/#Comment_624011
|
||||
#--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"
|
||||
'';
|
||||
}
|
||||
|
@ -5,13 +5,13 @@
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "klayout";
|
||||
version = "0.28.8";
|
||||
version = "0.28.9-2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "KLayout";
|
||||
repo = "klayout";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-xM9bAy+HurJor6v2eVPN9gvUxDkyjKRO8kv4zzv9u7o=";
|
||||
hash = "sha256-yBBzJceYHuqYhYvZHpL22uFsOz1TKZFwdzuUQOC4wQw=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -15,12 +15,12 @@ let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mkgmap";
|
||||
version = "4907";
|
||||
version = "4909";
|
||||
|
||||
src = fetchsvn {
|
||||
url = "https://svn.mkgmap.org.uk/mkgmap/mkgmap/trunk";
|
||||
rev = version;
|
||||
sha256 = "sha256-2DwIH6GNsK2XwaVxzPvN1qt4XRSi5fCQDwltBCBg4gI=";
|
||||
sha256 = "sha256-B3G1xpDZtJqkjyufLwYnJQlXREvN6OrJEjHWWP05jDM=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -1,22 +1,24 @@
|
||||
{ lib, stdenv, fetchurl, autoPatchelfHook, makeDesktopItem, copyDesktopItems, makeWrapper, electron
|
||||
, nodePackages, alsa-lib, gtk3, libdbusmenu, libxshmfence, mesa, nss }:
|
||||
{ lib, stdenv, fetchurl
|
||||
, autoPatchelfHook, makeDesktopItem, copyDesktopItems, makeWrapper, gnugrep, nodePackages
|
||||
, electron, python3, alsa-lib, gtk3, libdbusmenu, libxshmfence, mesa, nss
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "whalebird";
|
||||
version = "4.7.4";
|
||||
version = "5.0.7";
|
||||
|
||||
src = let
|
||||
downloads = "https://github.com/h3poteto/whalebird-desktop/releases/download/${version}";
|
||||
downloads = "https://github.com/h3poteto/whalebird-desktop/releases/download/v${version}";
|
||||
in
|
||||
if stdenv.system == "x86_64-linux" then
|
||||
fetchurl {
|
||||
url = downloads + "/Whalebird-${version}-linux-x64.tar.bz2";
|
||||
sha256 = "sha256-jRtlnKlrh6If9wy3FqVBtctQO3rZJRwceUWAPmieT4A=";
|
||||
hash = "sha256-eufP038REwF2VwAxxI8R0S3fE8oJ+SX/CES5ozuut2w=";
|
||||
}
|
||||
else if stdenv.system == "aarch64-linux" then
|
||||
fetchurl {
|
||||
url = downloads + "/Whalebird-${version}-linux-arm64.tar.bz2";
|
||||
sha256 = "sha256-gWCBH2zfhJdJ3XUAxvZ0+gBHye5uYCUgX1BDEoaruxY=";
|
||||
hash = "sha256-U0xVTUUm6wsRxYc1w4vfNtVE6o8dNzXTSi+IX4mgDEE=";
|
||||
}
|
||||
else
|
||||
throw "Whalebird is not supported for ${stdenv.system}";
|
||||
@ -25,6 +27,7 @@ stdenv.mkDerivation rec {
|
||||
autoPatchelfHook
|
||||
makeWrapper
|
||||
copyDesktopItems
|
||||
gnugrep
|
||||
nodePackages.asar
|
||||
];
|
||||
|
||||
@ -52,9 +55,16 @@ stdenv.mkDerivation rec {
|
||||
runHook preBuild
|
||||
|
||||
# Necessary steps to find the tray icon
|
||||
# For aarch64-linux, we need to overwrite this symlink first as it points to
|
||||
# /usr/bin/python3
|
||||
if [ "${stdenv.system}" = "aarch64-linux" ]
|
||||
then ln -sf ${python3}/bin/python3 \
|
||||
opt/Whalebird/resources/app.asar.unpacked/node_modules/better-sqlite3/build/node_gyp_bins/python3
|
||||
fi
|
||||
asar extract opt/Whalebird/resources/app.asar "$TMP/work"
|
||||
substituteInPlace $TMP/work/dist/electron/main.js \
|
||||
--replace "qt,\"tray_icon.png\"" "\"$out/opt/Whalebird/resources/build/icons/tray_icon.png\""
|
||||
substituteInPlace "$TMP/work/dist/electron/main.js" \
|
||||
--replace "$(grep -oE '.{2},"tray_icon.png"' "$TMP/work/dist/electron/main.js")" \
|
||||
"\"$out/opt/Whalebird/resources/build/icons/tray_icon.png\""
|
||||
asar pack --unpack='{*.node,*.ftz,rect-overlay}' "$TMP/work" opt/Whalebird/resources/app.asar
|
||||
|
||||
runHook postBuild
|
||||
@ -83,8 +93,8 @@ stdenv.mkDerivation rec {
|
||||
description = "Electron based Mastodon, Pleroma and Misskey client for Windows, Mac and Linux";
|
||||
homepage = "https://whalebird.social";
|
||||
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ wolfangaukang colinsane ];
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ wolfangaukang colinsane weathercold ];
|
||||
platforms = [ "x86_64-linux" "aarch64-linux" ];
|
||||
};
|
||||
}
|
||||
|
@ -45,9 +45,9 @@
|
||||
}
|
||||
},
|
||||
"ungoogled-chromium": {
|
||||
"version": "114.0.5735.106",
|
||||
"sha256": "0jihf4gv7n2kkp78n42ha4ick8mzixb4xrfdk84iqazmifrb066z",
|
||||
"sha256bin64": "1zlw9gjb2fmjf1d952adqg07cyq60yck0aarz20lcvv2jzb7s46i",
|
||||
"version": "114.0.5735.133",
|
||||
"sha256": "0qnj4gr4b9gmla1hbz1ir64hfmpc45vzkg0hmw9h6m72r4gfr2c2",
|
||||
"sha256bin64": "0gk9l1xspbqdxv9q16zdcrrr6bxx677cnz7vv4pgg85k1pwhyw3g",
|
||||
"deps": {
|
||||
"gn": {
|
||||
"version": "2023-04-19",
|
||||
@ -56,8 +56,8 @@
|
||||
"sha256": "01xrh9m9m6x8lz0vxwdw2mrhrvnw93zpg09hwdhqakj06agf4jjk"
|
||||
},
|
||||
"ungoogled-patches": {
|
||||
"rev": "114.0.5735.106-1",
|
||||
"sha256": "1aac1711mbr3jwxbnjkl5kxvb64bhwnw0ls1wj7w7pmka5gmardv"
|
||||
"rev": "114.0.5735.133-1",
|
||||
"sha256": "1i9ql4b2rn9jryyc3hfr9kh8ccf5a4gvpwsp9lnp9jc2gryrv70y"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
31
pkgs/applications/networking/cluster/kfilt/default.nix
Normal file
31
pkgs/applications/networking/cluster/kfilt/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "kfilt";
|
||||
version = "0.0.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ryane";
|
||||
repo = "kfilt";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-TUhZKf4fJyJF/qDmvs4jqAMVTXN4MXE+YLc4FcOVlwo=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-c77CzpE9cPyobt87uO0QlkKD+xC/tM7wOy4orM62tnI=";
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X github.com/ryane/kfilt/cmd.Version=${version}"
|
||||
"-X github.com/ryane/kfilt/cmd.GitCommit=${src.rev}"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Command-line tool that filters Kubernetes resources";
|
||||
homepage = "https://github.com/ryane/kfilt";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ lib.maintainers.ryane ];
|
||||
};
|
||||
}
|
@ -28,13 +28,13 @@
|
||||
"vendorHash": "sha256-jK7JuARpoxq7hvq5+vTtUwcYot0YqlOZdtDwq4IqKvk="
|
||||
},
|
||||
"aiven": {
|
||||
"hash": "sha256-kHCgl4osr0L9GR9Fv3u8dUs+ko82vxjE6dmJ9QZoQsE=",
|
||||
"hash": "sha256-wXNCEaLfZAEX1ExnUjUkkGwwD/YDSD6dzj2unNWVZbU=",
|
||||
"homepage": "https://registry.terraform.io/providers/aiven/aiven",
|
||||
"owner": "aiven",
|
||||
"repo": "terraform-provider-aiven",
|
||||
"rev": "v4.4.1",
|
||||
"rev": "v4.5.0",
|
||||
"spdx": "MIT",
|
||||
"vendorHash": "sha256-phcV7ZQ/7umtJMp0ozGV0jpYizlvmNq3Eo/wZ7tfNec="
|
||||
"vendorHash": "sha256-9DCu0qqQl4qnnyp+KvuAuJMRjtiejpkyiBxkKUBpoGg="
|
||||
},
|
||||
"akamai": {
|
||||
"hash": "sha256-RIJarmJZHDl5XhXLnr1igiBq9Uu9/2N+vhosPFTs2tg=",
|
||||
@ -82,13 +82,13 @@
|
||||
"vendorHash": "sha256-4b96zHSdokE/MiVtdRCNosFhJJ6L5sOlHRRMBqJ4n4M="
|
||||
},
|
||||
"auth0": {
|
||||
"hash": "sha256-6wJvBwZ7PY1Jqx/r5YrZ0P4uHLiMvrFvsm3OEByrYyQ=",
|
||||
"hash": "sha256-+zhlIL/se0TWiZrpNs7kEgVZtwBSI5G0r3edWn9LeUw=",
|
||||
"homepage": "https://registry.terraform.io/providers/auth0/auth0",
|
||||
"owner": "auth0",
|
||||
"repo": "terraform-provider-auth0",
|
||||
"rev": "v0.48.0",
|
||||
"rev": "v0.49.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-bFnvZARj2WfZpftus2PTlrxAFdrrgk9N0UZfzhQ6DmI="
|
||||
"vendorHash": "sha256-qm8rFZZtltC9IV47QzmoQa0kpKp4vn3eHj5kKMIEb+4="
|
||||
},
|
||||
"avi": {
|
||||
"hash": "sha256-mBLdIL4mUI4zA3c9gB4DL1QY0xHW15Q1rO/v1gVYKYU=",
|
||||
@ -218,13 +218,13 @@
|
||||
"vendorHash": "sha256-qIgr+ynaNSfNx1iW5RJrNHvEnlr46dBzIi+5IXYn+3Q="
|
||||
},
|
||||
"cloudflare": {
|
||||
"hash": "sha256-+tTBNPTZjzvI1XYo8sPQumSJftvRkh+CRCr+S+Z4HNM=",
|
||||
"hash": "sha256-bunkrh9m7w47704G8Pq6S7bmhhcVIVP1yk+/AGG28Wg=",
|
||||
"homepage": "https://registry.terraform.io/providers/cloudflare/cloudflare",
|
||||
"owner": "cloudflare",
|
||||
"repo": "terraform-provider-cloudflare",
|
||||
"rev": "v4.7.1",
|
||||
"rev": "v4.8.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-jAdeCVr1hWVPwWFbxiaVP1aF8LeJFi2ua2vM9r65mKI="
|
||||
"vendorHash": "sha256-xqVaZj0NEtcT64TThkFh2AJ03wiXCAhgYSddaUBlGAc="
|
||||
},
|
||||
"cloudfoundry": {
|
||||
"hash": "sha256-SFA0rG80BWaJHwvAWEugdVd3nR+YGflyYONOuoS++P8=",
|
||||
@ -801,20 +801,20 @@
|
||||
},
|
||||
"nutanix": {
|
||||
"deleteVendor": true,
|
||||
"hash": "sha256-kxLsQeseSncGRJCeh/1yD7oouS5OYwo5N5YorzwQdBs=",
|
||||
"hash": "sha256-c2+3nAwbFL3DWQW6OqAweTMmg8nZER4CaHGeGrh1/Tg=",
|
||||
"homepage": "https://registry.terraform.io/providers/nutanix/nutanix",
|
||||
"owner": "nutanix",
|
||||
"repo": "terraform-provider-nutanix",
|
||||
"rev": "v1.9.0",
|
||||
"rev": "v1.9.1",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-LRIfxQGwG988HE5fftGl6JmBG7tTknvmgpm4Fu1NbWI="
|
||||
},
|
||||
"oci": {
|
||||
"hash": "sha256-Sd8okjpxx1rQRmlql5HQ1wjWligZTArJ2unT3Tv02m8=",
|
||||
"hash": "sha256-fUAPXCxE6Xovsnrz0RY2MyJFxozxjpNBCduPMJNkQBQ=",
|
||||
"homepage": "https://registry.terraform.io/providers/oracle/oci",
|
||||
"owner": "oracle",
|
||||
"repo": "terraform-provider-oci",
|
||||
"rev": "v5.0.0",
|
||||
"rev": "v5.1.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": null
|
||||
},
|
||||
@ -1044,11 +1044,11 @@
|
||||
"vendorHash": "sha256-NO1r/EWLgH1Gogru+qPeZ4sW7FuDENxzNnpLSKstnE8="
|
||||
},
|
||||
"spotinst": {
|
||||
"hash": "sha256-NFmyz5CdZoSucKib5SUVNc+m5yXUUNxO7LSMXJtFRJk=",
|
||||
"hash": "sha256-0FoSfllKpv+k3s9g4z4vd/mBMpsC94YTzbvOvqI8qDc=",
|
||||
"homepage": "https://registry.terraform.io/providers/spotinst/spotinst",
|
||||
"owner": "spotinst",
|
||||
"repo": "terraform-provider-spotinst",
|
||||
"rev": "v1.122.1",
|
||||
"rev": "v1.122.2",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-hfg3XyBf5V+NJTzCoHbnTU4HkEdQsllqcH2NjeTmlf0="
|
||||
},
|
||||
@ -1098,11 +1098,11 @@
|
||||
"vendorHash": "sha256-GNSKSlaFBj2P+z40U+0uwPSOuQBy+9vOVFfPe8p0A24="
|
||||
},
|
||||
"tencentcloud": {
|
||||
"hash": "sha256-vnUPxI3H3bD3kQgNXapOaNPZxn6+1O+LcW41REbaC3k=",
|
||||
"hash": "sha256-cxVBEpKyYxwuuLqStB1ffOuloqqkAx7bQlEqEES8sPQ=",
|
||||
"homepage": "https://registry.terraform.io/providers/tencentcloudstack/tencentcloud",
|
||||
"owner": "tencentcloudstack",
|
||||
"repo": "terraform-provider-tencentcloud",
|
||||
"rev": "v1.81.6",
|
||||
"rev": "v1.81.7",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": null
|
||||
},
|
||||
@ -1253,13 +1253,13 @@
|
||||
"vendorHash": "sha256-itSr5HHjus6G0t5/KFs0sNiredH9m3JnQ3siLtm+NHs="
|
||||
},
|
||||
"yandex": {
|
||||
"hash": "sha256-vBTHtVmQxImTNkS2KVVIoPadYsPK3PL8ADx4L4Vyah8=",
|
||||
"hash": "sha256-qB+Jc8oO4Hr1gqBV/jRriWJ/qFpBAs1IpwrCpAf7+wk=",
|
||||
"homepage": "https://registry.terraform.io/providers/yandex-cloud/yandex",
|
||||
"owner": "yandex-cloud",
|
||||
"proxyVendor": true,
|
||||
"repo": "terraform-provider-yandex",
|
||||
"rev": "v0.92.0",
|
||||
"rev": "v0.93.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-2KaVZ1k1IEUFWakh16DXFyorqg1PqBQapWUay49LPMk="
|
||||
"vendorHash": "sha256-shdf+al8BKfdvlVYPLqTAapa8A3V3DGYIhfyPv8zkVI="
|
||||
}
|
||||
}
|
||||
|
@ -27,6 +27,20 @@ python3Packages.buildPythonApplication rec {
|
||||
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
(
|
||||
cd icons
|
||||
for img in *.{png,svg}; do
|
||||
size=''${img#zim}
|
||||
size=''${size%.png}
|
||||
size=''${size%.svg}
|
||||
dimensions="''${size}x''${size}"
|
||||
mkdir -p $out/share/icons/hicolor/$dimensions/apps
|
||||
cp $img $out/share/icons/hicolor/$dimensions/apps/${pname}.png
|
||||
done
|
||||
)
|
||||
'';
|
||||
|
||||
# RuntimeError: could not create GtkClipboard object
|
||||
doCheck = false;
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
, makeWrapper
|
||||
, ncurses
|
||||
, readline
|
||||
, util-linux
|
||||
, unixtools
|
||||
, enableReadline ? true
|
||||
}:
|
||||
|
||||
@ -28,12 +28,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
unixtools.col
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
util-linux
|
||||
]
|
||||
++ lib.optionals enableReadline [
|
||||
buildInputs = lib.optionals enableReadline [
|
||||
ncurses
|
||||
readline
|
||||
];
|
||||
|
@ -12,13 +12,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "hypnotix";
|
||||
version = "3.2";
|
||||
version = "3.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = "hypnotix";
|
||||
rev = version;
|
||||
hash = "sha256-R9bp1RQHHCrIE/3rIAHzWHXpXBUDUpJTkO53n+xZw3Q=";
|
||||
hash = "sha256-Oxv70bFheKhlYyLdGcn0Hja+LAmn6RHfAh5FIjghD9o=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -7,25 +7,25 @@
|
||||
let
|
||||
# make install will use dconf to find desktop background file uri.
|
||||
# consider adding an args to allow specify pictures manually.
|
||||
# https://github.com/daniruiz/flat-remix-gnome/blob/20221107/Makefile#L38
|
||||
# https://github.com/daniruiz/flat-remix-gnome/blob/20230508/Makefile#L38
|
||||
fake-dconf = writeScriptBin "dconf" "echo -n";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "flat-remix-gnome";
|
||||
version = "20221107";
|
||||
version = "20230508";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "daniruiz";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-5V3ECbQe3/5bhHnMR1pzvehs1eh0u9U7E1voDiqo9cY=";
|
||||
hash = "sha256-MMWLSpGMvHFu3gZzU3IlfNxLY6ItMtxGLZltTJZXYaw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ glib fake-dconf ];
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
# make install will back up this file, it will fail if the file doesn't exist.
|
||||
# https://github.com/daniruiz/flat-remix-gnome/blob/20221107/Makefile#L56
|
||||
# https://github.com/daniruiz/flat-remix-gnome/blob/20230508/Makefile#L56
|
||||
preInstall = ''
|
||||
mkdir -p $out/share/gnome-shell/
|
||||
touch $out/share/gnome-shell/gnome-shell-theme.gresource
|
||||
|
@ -72,13 +72,13 @@ let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cinnamon-common";
|
||||
version = "5.6.8";
|
||||
version = "5.8.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = "cinnamon";
|
||||
rev = version;
|
||||
hash = "sha256-qL8GaEH/0d4yEwwdaR55fTp0RitbyptoxKOBO3nmbic=";
|
||||
hash = "sha256-KY5ctByMYKxigiZ0X/blaHJuyiAUNB6B2gpGtC/k100=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@ -166,6 +166,7 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace ./bin/SettingsWidgets.py --replace "/usr/share/sounds" "/run/current-system/sw/share/sounds"
|
||||
substituteInPlace ./bin/Spices.py --replace "msgfmt" "${gettext}/bin/msgfmt"
|
||||
substituteInPlace ./modules/cs_info.py --replace "lspci" "${pciutils}/bin/lspci"
|
||||
substituteInPlace ./modules/cs_themes.py --replace "$out/share/cinnamon/styles.d" "/run/current-system/sw/share/cinnamon/styles.d"
|
||||
popd
|
||||
|
||||
sed "s| cinnamon-session| ${cinnamon-session}/bin/cinnamon-session|g" -i ./files/usr/bin/cinnamon-session-{cinnamon,cinnamon2d}
|
||||
|
@ -17,6 +17,7 @@ index 3c1e9a4f..a77d9b3c 100644
|
||||
schemadir = join_paths(datadir, 'glib-2.0', 'schemas')
|
||||
-pkglibdir = join_paths(libdir, meson.project_name().to_lower())
|
||||
+pkglibdir = libdir
|
||||
girdir = join_paths(datadir, 'gir-1.0')
|
||||
servicedir = join_paths(datadir, 'dbus-1', 'services')
|
||||
pkgdatadir = join_paths(datadir, meson.project_name().to_lower())
|
||||
po_dir = join_paths(meson.source_root(), 'po')
|
||||
|
@ -35,13 +35,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cinnamon-control-center";
|
||||
version = "5.6.1";
|
||||
version = "5.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-rp3K7SqGw8da2U61VjKiqUyT5vCUVk4XZdRYtLwRtfQ=";
|
||||
hash = "sha256-tRLUdwEptLNngVq+qOPilGQipVXNeDlzohgu3VlVciI=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
@ -18,13 +18,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cinnamon-desktop";
|
||||
version = "5.6.2";
|
||||
version = "5.8.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-X4jf7+QFjoev1K6ywxN0n9MYUv7xI1/su+hHeesG02Y=";
|
||||
hash = "sha256-rYTWtdYfMow3cIPhJdcmhyaIIU7fgVecWigbsCW0Piw=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
@ -11,13 +11,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cinnamon-menus";
|
||||
version = "5.6.0";
|
||||
version = "5.8.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-6IOlXQhAy6YrSqybfGFUyn3Q2COvzwpj67y/k/YLNhU=";
|
||||
hash = "sha256-AgA/DA7I9/0AJhlmgk0yAOJaZzpiQV1vM949Y6EOWVg=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
@ -29,13 +29,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cinnamon-screensaver";
|
||||
version = "5.6.3";
|
||||
version = "5.8.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-S4+9ZTpDwwvYTc3gz0YQBYjgygp8KP94azkiJcH6xCk=";
|
||||
hash = "sha256-Y1veBgWTCs7HRBuMwN+eHu4oygGYIanaQigMGVfkSuI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -89,8 +89,6 @@ stdenv.mkDerivation rec {
|
||||
-e s,/usr/share/cinnamon-screensaver,$out/share,g \
|
||||
-e s,/usr/share/iso-flag-png,${iso-flags-png-320x420}/share/iso-flags-png,g \
|
||||
{} +
|
||||
|
||||
sed "s|/usr/share/locale|/run/current-system/sw/share/locale|g" -i ./src/cinnamon-screensaver-main.py
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
|
@ -25,13 +25,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cinnamon-session";
|
||||
version = "5.6.0";
|
||||
version = "5.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-lyASp0jFwaPLPQ3Jnow6eTpUBybwhSEmQUK/20fsh7I=";
|
||||
hash = "sha256-NVoP1KYh/z96NKMi9LjL4RgkjJg32oSy5WHJ91+70DI=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -32,18 +32,17 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cinnamon-settings-daemon";
|
||||
version = "5.6.2";
|
||||
version = "5.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-IqYfHMjKe7gVsM6HgihQMNkcXSYBOft1lamXOLa1Y8k=";
|
||||
hash = "sha256-2ObfUdrCuvyhtpoxNzoH8tsFQLxNkMLQPFfJajXEsXU=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./csd-backlight-helper-fix.patch
|
||||
./use-sane-install-dir.patch
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
@ -1,27 +0,0 @@
|
||||
From be57c01e6595a8e08ecc17de298e30640b532f11 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= <mkg20001@gmail.com>
|
||||
Date: Sat, 6 Feb 2021 13:55:03 +0100
|
||||
Subject: [PATCH] use sane install-dir
|
||||
|
||||
---
|
||||
meson.build | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 0e11d50..54f4637 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -156,8 +156,8 @@ subdir('cinnamon-settings-daemon')
|
||||
subdir('plugins')
|
||||
|
||||
install_subdir(
|
||||
- 'files',
|
||||
- install_dir: '/',
|
||||
+ 'files/usr',
|
||||
+ install_dir: get_option('prefix'),
|
||||
strip_directory: true,
|
||||
)
|
||||
|
||||
--
|
||||
2.30.0
|
||||
|
@ -6,13 +6,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cinnamon-translations";
|
||||
version = "5.6.1";
|
||||
version = "5.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-567xkQGLLhZtjAWXzW/MRiD14rrWeg0yvx97jtukRvc=";
|
||||
hash = "sha256-QwLb8dxyub3W5KlYP1HinC07bTJ6f+/t07k3OWX9Qlg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -6,7 +6,7 @@
|
||||
, cairo
|
||||
, glib
|
||||
, readline
|
||||
, spidermonkey_78
|
||||
, spidermonkey_102
|
||||
, meson
|
||||
, dbus
|
||||
, ninja
|
||||
@ -16,13 +16,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cjs";
|
||||
version = "5.6.1";
|
||||
version = "5.8.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = "cjs";
|
||||
rev = version;
|
||||
hash = "sha256-f9esbQi5WWSMAGlEs9HJFToOvmOrbP2lDW1gGh/48gw=";
|
||||
hash = "sha256-DKCe8dKdYfdeWQ9Iqr0AmDU7YDN9QrQGdTkrBV/ywV0=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
|
||||
gobject-introspection
|
||||
cairo
|
||||
readline
|
||||
spidermonkey_78
|
||||
spidermonkey_102
|
||||
dbus # for dbus-run-session
|
||||
];
|
||||
|
||||
|
@ -2,27 +2,34 @@
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, gettext
|
||||
, python3
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "folder-color-switcher";
|
||||
version = "1.5.5";
|
||||
version = "1.5.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = pname;
|
||||
# They don't really do tags, this is just a named commit.
|
||||
rev = "5e0b768b3a5bf88a828a2489b9428997b797c1ed";
|
||||
sha256 = "sha256-DU75LM5v2/E/ZmqQgyiPsOOEUw9QQ/NXNtGDFzzYvyY=";
|
||||
rev = "03311d62a62e2cd7d0592b241c287091161ec6b6";
|
||||
sha256 = "sha256-HQv9vSpRSBjqbncGFv+O5XQtRJ+4Cq0aWZHoj5BhKYE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gettext
|
||||
python3.pkgs.wrapPython
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace usr/share/nemo-python/extensions/nemo-folder-color-switcher.py \
|
||||
--replace "/usr/share" "$out/share"
|
||||
--replace "/usr/share/locale" "$out/share" \
|
||||
--replace "/usr/share/folder-color-switcher/colors.d" "/run/current-system/sw/share/folder-color-switcher/colors.d" \
|
||||
--replace "/usr/share/folder-color-switcher/color.svg" "$out/share/folder-color-switcher/color.svg"
|
||||
|
||||
substituteInPlace usr/share/caja-python/extensions/caja-folder-color-switcher.py \
|
||||
--replace "/usr/share/folder-color-switcher/colors.d" "/run/current-system/sw/share/folder-color-switcher/colors.d"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
@ -34,6 +41,13 @@ stdenvNoCC.mkDerivation rec {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
# For Gdk.cairo_surface_create_from_pixbuf()
|
||||
# TypeError: Couldn't find foreign struct converter for 'cairo.Surface'
|
||||
buildPythonPath ${python3.pkgs.pycairo}
|
||||
patchPythonScript $out/share/nemo-python/extensions/nemo-folder-color-switcher.py
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/linuxmint/folder-color-switcher";
|
||||
description = "Change folder colors for Nemo and Caja";
|
||||
|
@ -7,14 +7,14 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mint-artwork";
|
||||
version = "1.7.3";
|
||||
version = "1.7.5";
|
||||
|
||||
src = fetchurl {
|
||||
urls = [
|
||||
"http://packages.linuxmint.com/pool/main/m/mint-artwork/mint-artwork_${version}.tar.xz"
|
||||
"https://web.archive.org/web/20221206154838/http://packages.linuxmint.com/pool/main/m/mint-artwork/mint-artwork_${version}.tar.xz"
|
||||
"https://web.archive.org/web/20230601120342/http://packages.linuxmint.com/pool/main/m/mint-artwork/mint-artwork_${version}.tar.xz"
|
||||
];
|
||||
hash = "sha256-lusYlmTL71VTGSJFssuIZVu7xJMuZQ7wj2rMtO1lhZ8=";
|
||||
hash = "sha256-yd2FyGAznXGnHJLkMsSNqIx0sbKHl3cNMr7tpue7BlA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -8,13 +8,13 @@
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "mint-themes";
|
||||
version = "2.0.9";
|
||||
version = "2.1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-FvX4r7AZgSq52T9CKE9RagsKgQXExTYPptQBXadA3eI=";
|
||||
hash = "sha256-Y+KmSKuREn2E3FySsScjL+oSpSFnyEqhoXQfU++86JY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -11,13 +11,13 @@
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "mint-x-icons";
|
||||
version = "1.6.4";
|
||||
version = "1.6.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-cPRae3EjzVtAL1Ei2LB4UNUU/m87mFT94xY/NnNR6JM=";
|
||||
hash = "sha256-Z07475Uiv4GKCOrKhDBXPZVBGpxdjN7vn2y0rRAZVm0=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -9,13 +9,13 @@
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "mint-y-icons";
|
||||
version = "1.6.5";
|
||||
version = "1.6.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-XnQcVlN4xtZQDjijNV09m2m0ODYfFbrQaNd8ZQVToIw=";
|
||||
hash = "sha256-yLsFEd4QyeEBA4IrYiy0sgNv0kG9WxjFsJQteoJc+YM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -35,7 +35,7 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "muffin";
|
||||
version = "5.6.4";
|
||||
version = "5.8.0";
|
||||
|
||||
outputs = [ "out" "dev" "man" ];
|
||||
|
||||
@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
|
||||
owner = "linuxmint";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-NnQ7KF979HnsEc4X/Wf1YOfUvByHvVIdTAcJyUjhsp8=";
|
||||
hash = "sha256-2pF6mKSSW4S0mfb4iBfZKBIVXKzrVyPeftcVrWSWzhc=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -3,19 +3,15 @@
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
let
|
||||
srcs = import ../srcs.nix { inherit fetchFromGitHub; };
|
||||
in
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "nemo-emblems";
|
||||
version = "5.6.0";
|
||||
inherit (srcs) version src;
|
||||
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = "nemo-extensions";
|
||||
rev = version;
|
||||
sha256 = "sha256-cxutiz5bc/dZ9D7XzvMWodWNYvNJPj+5IhJDPJwnb5I=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/nemo-emblems";
|
||||
|
||||
postPatch = ''
|
||||
|
@ -10,16 +10,12 @@
|
||||
, gnome
|
||||
}:
|
||||
|
||||
let
|
||||
srcs = import ../srcs.nix { inherit fetchFromGitHub; };
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nemo-fileroller";
|
||||
version = "5.6.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = "nemo-extensions";
|
||||
rev = "nemo-fileroller-${version}";
|
||||
sha256 = "sha256-dPmAHuJ0ZRTAwhnMMZEu1e9+qZRYCnlaaoCdUP45W+s=";
|
||||
};
|
||||
inherit (srcs) version src;
|
||||
|
||||
sourceRoot = "${src.name}/nemo-fileroller";
|
||||
|
||||
|
@ -11,16 +11,12 @@
|
||||
, substituteAll
|
||||
}:
|
||||
|
||||
let
|
||||
srcs = import ../srcs.nix { inherit fetchFromGitHub; };
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nemo-python";
|
||||
version = "5.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = "nemo-extensions";
|
||||
rev = version;
|
||||
sha256 = "sha256-cxutiz5bc/dZ9D7XzvMWodWNYvNJPj+5IhJDPJwnb5I=";
|
||||
};
|
||||
inherit (srcs) version src;
|
||||
|
||||
sourceRoot = "${src.name}/nemo-python";
|
||||
|
||||
|
15
pkgs/desktops/cinnamon/nemo-extensions/srcs.nix
Normal file
15
pkgs/desktops/cinnamon/nemo-extensions/srcs.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{ fetchFromGitHub }:
|
||||
|
||||
rec {
|
||||
# When you bump this, you should make sure all nemo-extensions
|
||||
# are actually using this file since we try to deal with tags
|
||||
# like nemo-fileroller-5.6.1 according to upstream's wishes.
|
||||
version = "5.8.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = "nemo-extensions";
|
||||
rev = version;
|
||||
sha256 = "sha256-tyRYPWJa93w05a0PcYvz1GA8/xX2kHLdIzz4tCcppiY=";
|
||||
};
|
||||
}
|
@ -23,13 +23,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nemo";
|
||||
version = "5.6.5";
|
||||
version = "5.8.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-HdDe2VE9LQqiwFrUSIctOi/ffNOmLy6SyG30EL8UA5Q=";
|
||||
sha256 = "sha256-Be67TOA1gLwSYx8y2iyfvY0QCpWOFutpXMDaPiTRQGg=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -1,70 +1,99 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchurl
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
, cinnamon-desktop
|
||||
, file
|
||||
, gdk-pixbuf
|
||||
, glib
|
||||
, gobject-introspection
|
||||
, gtk-doc
|
||||
, gtk3
|
||||
, intltool
|
||||
, itstool
|
||||
, libtool
|
||||
, libxml2
|
||||
, pkg-config
|
||||
, shared-mime-info
|
||||
, wrapGAppsHook
|
||||
, xapp
|
||||
, yelp-tools
|
||||
, meson
|
||||
, ninja
|
||||
, exiv2
|
||||
, libheif
|
||||
, libjpeg
|
||||
, libtiff
|
||||
, gst_all_1
|
||||
, libraw
|
||||
, libsoup
|
||||
, libsecret
|
||||
, webkitgtk
|
||||
, libwebp
|
||||
, glib
|
||||
, gtk3
|
||||
, gsettings-desktop-schemas
|
||||
, librsvg
|
||||
, libwebp
|
||||
, json-glib
|
||||
, gnome
|
||||
, clutter
|
||||
, webkitgtk
|
||||
, lcms2
|
||||
, bison
|
||||
, flex
|
||||
, clutter-gtk
|
||||
, wrapGAppsHook
|
||||
, shared-mime-info
|
||||
, python3
|
||||
, desktop-file-utils
|
||||
, itstool
|
||||
, xapp
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pix";
|
||||
version = "2.8.9";
|
||||
version = "3.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-7g0j1cWgNtWlqKWzBnngUA2WNr8Zh8YO/jJ8OdTII7Y=";
|
||||
sha256 = "sha256-sKmdJOuT4Ioy5DmWN9ly+9bqSn4frcVPD5qMTKtxtiQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
wrapGAppsHook
|
||||
autoreconfHook
|
||||
cinnamon-desktop
|
||||
gdk-pixbuf
|
||||
gnome.gnome-common
|
||||
gobject-introspection
|
||||
gtk-doc
|
||||
intltool
|
||||
bison
|
||||
desktop-file-utils
|
||||
flex
|
||||
itstool
|
||||
libtool
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
yelp-tools
|
||||
python3
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
clutter-gtk
|
||||
exiv2
|
||||
glib
|
||||
gsettings-desktop-schemas
|
||||
gst_all_1.gst-plugins-base
|
||||
(gst_all_1.gst-plugins-good.override { gtkSupport = true; })
|
||||
gst_all_1.gst-libav
|
||||
gst_all_1.gst-plugins-bad
|
||||
gst_all_1.gst-plugins-ugly
|
||||
gtk3
|
||||
xapp
|
||||
libsecret
|
||||
webkitgtk
|
||||
libwebp
|
||||
librsvg
|
||||
json-glib
|
||||
clutter
|
||||
lcms2
|
||||
libheif
|
||||
libjpeg
|
||||
libraw
|
||||
librsvg
|
||||
libsecret
|
||||
libsoup
|
||||
libtiff
|
||||
libwebp
|
||||
webkitgtk
|
||||
xapp
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
chmod +x pix/make-pix-h.py
|
||||
|
||||
patchShebangs data/gschemas/make-enums.py \
|
||||
pix/make-pix-h.py \
|
||||
po/make-potfiles-in.py \
|
||||
postinstall.py \
|
||||
pix/make-authors-tab.py
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(--prefix XDG_DATA_DIRS : "${shared-mime-info}/share")
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A generic image viewer from Linux Mint";
|
||||
homepage = "https://github.com/linuxmint/pix";
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xapp";
|
||||
version = "2.4.3";
|
||||
version = "2.6.1";
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
@ -30,9 +30,13 @@ stdenv.mkDerivation rec {
|
||||
owner = "linuxmint";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-j04vy/uVWY08Xdxqfo2MMUAlqsUMJTsAt67+XjkdhFg=";
|
||||
hash = "sha256-ZxIPiDLcMHEmlnrImctI2ZfH3AIOjB4m/RPGipJ7koM=";
|
||||
};
|
||||
|
||||
# Recommended by upstream, which enables the build of xapp-debug.
|
||||
# https://github.com/linuxmint/xapp/issues/169#issuecomment-1574962071
|
||||
mesonBuildType = "debugoptimized";
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
@ -70,11 +74,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
postPatch = ''
|
||||
chmod +x schemas/meson_install_schemas.py # patchShebangs requires executable file
|
||||
|
||||
patchShebangs \
|
||||
libxapp/g-codegen.py \
|
||||
meson-scripts/g-codegen.py \
|
||||
schemas/meson_install_schemas.py
|
||||
patchShebangs schemas/meson_install_schemas.py
|
||||
|
||||
# Patch pastebin & inxi location
|
||||
sed "s|/usr/bin/pastebin|$out/bin/pastebin|" -i scripts/upload-system-info
|
||||
|
@ -16,7 +16,7 @@
|
||||
, poppler
|
||||
, libspectre
|
||||
, libgxps
|
||||
, webkitgtk
|
||||
, webkitgtk_4_1
|
||||
, nodePackages
|
||||
, ninja
|
||||
, gsettings-desktop-schemas
|
||||
@ -26,13 +26,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xreader";
|
||||
version = "3.6.3";
|
||||
version = "3.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-KuCcOnhM8AzKC8hfBpdcnC/ubDVsElKMZuxEnTcJLn0=";
|
||||
sha256 = "sha256-ZmaY9FlDIJNQ9jYkUJDnKAgwn5wlQY89eWx3/RJZA7E=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -59,7 +59,7 @@ stdenv.mkDerivation rec {
|
||||
poppler
|
||||
libspectre
|
||||
libgxps
|
||||
webkitgtk
|
||||
webkitgtk_4_1
|
||||
nodePackages.mathjax
|
||||
djvulibre
|
||||
];
|
||||
|
@ -27,13 +27,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xviewer";
|
||||
version = "3.2.12";
|
||||
version = "3.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-tiZeC862gHbZt76sbxseUu9vWN+1huftXpE7lQLkGKU=";
|
||||
sha256 = "sha256-HVxCBqaKtsEGhGAB+dBCOnjAjLZHv0XqTifPrvoYdj8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
184
pkgs/development/compilers/opensmalltalk-vm/default.nix
Normal file
184
pkgs/development/compilers/opensmalltalk-vm/default.nix
Normal file
@ -0,0 +1,184 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, fetchurl
|
||||
, alsa-lib
|
||||
, coreutils
|
||||
, file
|
||||
, freetype
|
||||
, gnugrep
|
||||
, libpulseaudio
|
||||
, libtool
|
||||
, libuuid
|
||||
, openssl
|
||||
, pango
|
||||
, pkg-config
|
||||
, xorg
|
||||
}:
|
||||
let
|
||||
buildVM =
|
||||
{
|
||||
# VM-specific information, manually extracted from building/<platformDir>/<vmName>/build/mvm
|
||||
platformDir
|
||||
, vmName
|
||||
, scriptName
|
||||
, configureFlagsArray
|
||||
, configureFlags
|
||||
}:
|
||||
let
|
||||
src = fetchFromGitHub {
|
||||
owner = "OpenSmalltalk";
|
||||
repo = "opensmalltalk-vm";
|
||||
rev = "202206021410";
|
||||
hash = "sha256-QqElPiJuqD5svFjWrLz1zL0Tf+pHxQ2fPvkVRn2lyBI=";
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname =
|
||||
let vmNameNoDots = builtins.replaceStrings [ "." ] [ "-" ] vmName;
|
||||
in "opensmalltalk-vm-${platformDir}-${vmNameNoDots}";
|
||||
version = src.rev;
|
||||
|
||||
inherit src;
|
||||
|
||||
postPatch =
|
||||
''
|
||||
vmVersionFiles=$(sed -n 's/^versionfiles="\(.*\)"/\1/p' ./scripts/updateSCCSVersions)
|
||||
for vmVersionFile in $vmVersionFiles; do
|
||||
substituteInPlace "$vmVersionFile" \
|
||||
--replace "\$Date\$" "\$Date: Thu Jan 1 00:00:00 1970 +0000 \$" \
|
||||
--replace "\$URL\$" "\$URL: ${src.url} \$" \
|
||||
--replace "\$Rev\$" "\$Rev: ${src.rev} \$" \
|
||||
--replace "\$CommitHash\$" "\$CommitHash: 000000000000 \$"
|
||||
done
|
||||
patchShebangs --build ./building/${platformDir} scripts
|
||||
substituteInPlace ./platforms/unix/config/mkmf \
|
||||
--replace "/bin/rm" "rm"
|
||||
substituteInPlace ./platforms/unix/config/configure \
|
||||
--replace "/usr/bin/file" "file" \
|
||||
--replace "/usr/bin/pkg-config" "pkg-config" \
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
cd building/${platformDir}/${vmName}/build
|
||||
# Exits with non-zero code if the check fails, counterintuitively
|
||||
../../../../scripts/checkSCCSversion && exit 1
|
||||
cp ../plugins.int ../plugins.ext .
|
||||
configureFlagsArray=${configureFlagsArray}
|
||||
'';
|
||||
|
||||
configureScript = "../../../../platforms/unix/config/configure";
|
||||
|
||||
configureFlags = [ "--with-scriptname=${scriptName}" ] ++ configureFlags;
|
||||
|
||||
buildFlags = "all";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
file
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
alsa-lib
|
||||
freetype
|
||||
libpulseaudio
|
||||
libtool
|
||||
libuuid
|
||||
openssl
|
||||
pango
|
||||
xorg.libX11
|
||||
xorg.libXrandr
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
rm "$out/squeak"
|
||||
cd "$out/bin"
|
||||
BIN="$(find ../lib -type f -name squeak)"
|
||||
for f in $(find . -type f); do
|
||||
rm "$f"
|
||||
ln -s "$BIN" "$f"
|
||||
done
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "The cross-platform virtual machine for Squeak, Pharo, Cuis, and Newspeak.";
|
||||
mainProgram = scriptName;
|
||||
homepage = "https://opensmalltalk.org/";
|
||||
license = with lib.licenses; [ mit ];
|
||||
maintainers = with lib.maintainers; [ jakewaksbaum ];
|
||||
platforms = [ stdenv.targetPlatform.system ];
|
||||
};
|
||||
};
|
||||
|
||||
vmsByPlatform = {
|
||||
"aarch64-linux" = {
|
||||
"squeak-cog-spur" = buildVM {
|
||||
platformDir = "linux64ARMv8";
|
||||
vmName = "squeak.cog.spur";
|
||||
scriptName = "squeak";
|
||||
configureFlagsArray = ''(
|
||||
CFLAGS="-DNDEBUG -DDEBUGVM=0 -DMUSL -D_GNU_SOURCE -DUSEEVDEV -DCOGMTVM=0 -DDUAL_MAPPED_CODE_ZONE=1"
|
||||
LIBS="-lrt"
|
||||
)'';
|
||||
configureFlags = [
|
||||
"--with-vmversion=5.0"
|
||||
"--with-src=src/spur64.cog"
|
||||
"--without-npsqueak"
|
||||
"--enable-fast-bitblt"
|
||||
];
|
||||
};
|
||||
|
||||
"squeak-stack-spur" = buildVM {
|
||||
platformDir = "linux64ARMv8";
|
||||
vmName = "squeak.stack.spur";
|
||||
scriptName = "squeak";
|
||||
configureFlagsArray = ''(
|
||||
CFLAGS="-DNDEBUG -DDEBUGVM=0 -DMUSL -D_GNU_SOURCE -DUSEEVDEV -D__ARM_ARCH_ISA_A64 -DARM64 -D__arm__ -D__arm64__ -D__aarch64__"
|
||||
)'';
|
||||
configureFlags = [
|
||||
"--with-vmversion=5.0"
|
||||
"--with-src=src/spur64.stack"
|
||||
"--disable-cogit"
|
||||
"--without-npsqueak"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
"x86_64-linux" = {
|
||||
"newspeak-cog-spur" = buildVM {
|
||||
platformDir = "linux64x64";
|
||||
vmName = "newspeak.cog.spur";
|
||||
scriptName = "newspeak";
|
||||
configureFlagsArray = ''(
|
||||
CFLAGS="-DNDEBUG -DDEBUGVM=0"
|
||||
)'';
|
||||
configureFlags = [
|
||||
"--with-vmversion=5.0"
|
||||
"--with-src=src/spur64.cog.newspeak"
|
||||
"--without-vm-display-fbdev"
|
||||
"--without-npsqueak"
|
||||
];
|
||||
};
|
||||
|
||||
"squeak-cog-spur" = buildVM {
|
||||
platformDir = "linux64x64";
|
||||
vmName = "squeak.cog.spur";
|
||||
scriptName = "squeak";
|
||||
configureFlagsArray = ''(
|
||||
CFLAGS="-DNDEBUG -DDEBUGVM=0 -DCOGMTVM=0"
|
||||
)'';
|
||||
configureFlags = [
|
||||
"--with-vmversion=5.0"
|
||||
"--with-src=src/spur64.cog"
|
||||
"--without-npsqueak"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
platform = stdenv.targetPlatform.system;
|
||||
in
|
||||
vmsByPlatform.${platform} or
|
||||
(throw "Unsupported platform ${platform}: only the following platforms are supported: ${builtins.attrNames vmsByPlatform}")
|
@ -27,13 +27,13 @@ let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "p4c";
|
||||
version = "1.2.3.9";
|
||||
version = "1.2.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "p4lang";
|
||||
repo = "p4c";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-mnJluusDei95B6LMAwre8FjjxwlpK99tzvzLwroQQsM=";
|
||||
sha256 = "sha256-nIPvB6nwa55dKNeoNRrjhnnmoYLYTviaoL79+hT6gGs=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
@ -1,16 +1,18 @@
|
||||
{ lib, mkCoqDerivation, coq, version ? null }:
|
||||
{ lib, callPackage, mkCoqDerivation, coq, version ? null }:
|
||||
|
||||
mkCoqDerivation rec {
|
||||
(mkCoqDerivation rec {
|
||||
pname = "itauto";
|
||||
owner = "fbesson";
|
||||
domain = "gitlab.inria.fr";
|
||||
|
||||
release."8.17.0".sha256 = "sha256-fgdnKchNT1Hyrq14gU8KWYnlSfg3qlsSw5A4+RoA26w=";
|
||||
release."8.16.0".sha256 = "sha256-4zAUYGlw/pBcLPv2GroIduIlvbfi1+Vy+TdY8KLCqO4=";
|
||||
release."8.15.0".sha256 = "sha256:10qpv4nx1p0wm9sas47yzsg9z22dhvizszfa21yff08a8fr0igya";
|
||||
release."8.14.0".sha256 = "sha256:1k6pqhv4dwpkwg81f2rlfg40wh070ks1gy9r0ravm2zhsbxqcfc9";
|
||||
release."8.13+no".sha256 = "sha256-gXoxtLcHPoyjJkt7WqvzfCMCQlh6kL2KtCGe3N6RC/A=";
|
||||
inherit version;
|
||||
defaultVersion = with lib.versions; lib.switch coq.coq-version [
|
||||
{ case = isEq "8.17"; out = "8.17.0"; }
|
||||
{ case = isEq "8.16"; out = "8.16.0"; }
|
||||
{ case = isEq "8.15"; out = "8.15.0"; }
|
||||
{ case = isEq "8.14"; out = "8.14.0"; }
|
||||
@ -21,9 +23,14 @@ mkCoqDerivation rec {
|
||||
nativeBuildInputs = (with coq.ocamlPackages; [ ocamlbuild ]);
|
||||
enableParallelBuilding = false;
|
||||
|
||||
passthru.tests.suite = callPackage ./test.nix {};
|
||||
|
||||
meta = with lib; {
|
||||
description = "A reflexive SAT solver parameterised by a leaf tactic and Nelson-Oppen support";
|
||||
maintainers = with maintainers; [ siraben ];
|
||||
license = licenses.gpl3Plus;
|
||||
};
|
||||
}
|
||||
}).overrideAttrs (o: lib.optionalAttrs
|
||||
(o.version == "dev" || lib.versionAtLeast o.version "8.16") {
|
||||
propagatedBuildInputs = [ coq.ocamlPackages.findlib ];
|
||||
})
|
||||
|
27
pkgs/development/coq-modules/itauto/test.nix
Normal file
27
pkgs/development/coq-modules/itauto/test.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ stdenv, lib, coq, itauto }:
|
||||
|
||||
let excluded =
|
||||
lib.optionals (lib.versions.isEq "8.16" itauto.version) [ "arith.v" "refl_bool.v" ]
|
||||
; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "coq${coq.coq-version}-itauto-test";
|
||||
inherit (itauto) src version;
|
||||
|
||||
nativeCheckInputs = [ coq itauto ];
|
||||
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
doCheck = true;
|
||||
|
||||
checkPhase = ''
|
||||
cd test-suite
|
||||
for m in *.v
|
||||
do
|
||||
echo -n ${lib.concatStringsSep " " excluded} | grep --silent $m && continue
|
||||
echo $m && coqc $m
|
||||
done
|
||||
'';
|
||||
|
||||
installPhase = "touch $out";
|
||||
}
|
@ -5,11 +5,12 @@ mkCoqDerivation {
|
||||
|
||||
releaseRev = v: "v${v}";
|
||||
|
||||
release."1.1.3".sha256 = "sha256-kaselYm8K0JBsTlcI6K24m8qpv8CZ9+VNDJrOtFaExg=";
|
||||
release."1.1.2".sha256 = "sha256-SEnMilLNxh6a3oiDNGLaBr8quQ/nO2T9Fwdf/1il2Yk=";
|
||||
|
||||
inherit version;
|
||||
defaultVersion = with lib.versions; lib.switch coq.coq-version [
|
||||
{ case = range "8.10" "8.16"; out = "1.1.2"; }
|
||||
{ case = range "8.10" "8.17"; out = "1.1.3"; }
|
||||
] null;
|
||||
|
||||
|
||||
|
@ -7,11 +7,11 @@
|
||||
|
||||
buildGraalvmNativeImage rec {
|
||||
pname = "babashka";
|
||||
version = "1.3.180";
|
||||
version = "1.3.181";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/babashka/${pname}/releases/download/v${version}/${pname}-${version}-standalone.jar";
|
||||
sha256 = "sha256-moNFb5jHTK2XJHx9BAeD+BUH4Y6NyypDM0MycqE5Zwk=";
|
||||
sha256 = "sha256-NzchlHRxOCSyUf9U0Jv8h4bgKd2Jwp+LmxIfeV8+8+M=";
|
||||
};
|
||||
|
||||
graalvmDrv = graalvmCEPackages.graalvm19-ce;
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, cmake
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, fixDarwinDylibNames
|
||||
}:
|
||||
|
||||
@ -16,31 +16,13 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-XMwQ7UaPC8YYu4yxsE4bbR3leYPfBHu5iixSLz05r3g=";
|
||||
};
|
||||
|
||||
# replace faulty macos detection
|
||||
postPatch = lib.optionalString stdenv.isDarwin ''
|
||||
sed -i 's/^IS_APPLE := .*$/IS_APPLE := 1/' Makefile
|
||||
'';
|
||||
|
||||
configurePhase = "patchShebangs make.sh ";
|
||||
buildPhase = "PREFIX=$out ./make.sh";
|
||||
|
||||
doCheck = true;
|
||||
checkPhase = ''
|
||||
# first remove fuzzing steps from check target
|
||||
substituteInPlace Makefile --replace "fuzztest fuzzallcorp" ""
|
||||
make check
|
||||
'';
|
||||
|
||||
installPhase = (lib.optionalString stdenv.isDarwin "HOMEBREW_CAPSTONE=1 ")
|
||||
+ "PREFIX=$out ./make.sh install";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
cmake
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
fixDarwinDylibNames
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "Advanced disassembly library";
|
||||
|
@ -914,4 +914,14 @@ rec {
|
||||
# the README doesn't specify versions of licenses :/
|
||||
license = with lib.licenses; [ gpl2Plus lgpl2Plus mpl10 asl20 cc-by-sa-25 ];
|
||||
};
|
||||
|
||||
# Portugese
|
||||
pt_BR = pt-br;
|
||||
pt-br = mkDictFromLibreOffice {
|
||||
shortName = "pt-br";
|
||||
dictFileName = "pt_BR";
|
||||
shortDescription = "Brazillian Portugese (Brazil)";
|
||||
readmeFile = "README_pt_BR.txt";
|
||||
license = with lib.licenses; [ lgpl3 ];
|
||||
};
|
||||
}
|
||||
|
@ -16,17 +16,11 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha512-f7tBgIykcIdkwcFjBKk5ooD/5Bsyrd/0OFr7LNCwWFYeE4DH3XA7UR7YjArkwqUVCVBByr82EOaacw0g1blOkw==";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# https://github.com/raspberrypi/userland/pull/670
|
||||
url = "https://github.com/raspberrypi/userland/commit/37cb44f314ab1209fe2a0a2449ef78893b1e5f62.patch";
|
||||
sha256 = "1fbrbkpc4cc010ji8z4ll63g17n6jl67kdy62m74bhlxn72gg9rw";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
cmakeFlags = [
|
||||
(if (stdenv.hostPlatform.isAarch64) then "-DARM64=ON" else "-DARM64=OFF")
|
||||
# -DARM64=ON disables all targets that only build on 32-bit ARM; this allows
|
||||
# the package to build on aarch64 and other architectures
|
||||
"-DARM64=${if stdenv.hostPlatform.isAarch32 then "OFF" else "ON"}"
|
||||
"-DVMCS_INSTALL_PREFIX=${placeholder "out"}"
|
||||
];
|
||||
|
||||
|
@ -3,14 +3,13 @@
|
||||
, cairo
|
||||
, libuuid
|
||||
, pango
|
||||
, gdk-pixbuf
|
||||
, gtk3
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, autoPatchelfHook
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation {
|
||||
pname = "libsciter";
|
||||
version = "4.4.8.23-bis"; # Version specified in GitHub commit title
|
||||
|
||||
|
@ -22,14 +22,14 @@
|
||||
, python3
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
version = "1.45.0";
|
||||
pname = "libuv";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
owner = "libuv";
|
||||
repo = "libuv";
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = "sha256-qKw9QFR24Uw7pVA9isPH8Va+9/5DYuqXz6l6jWcXn+4=";
|
||||
};
|
||||
|
||||
@ -76,7 +76,7 @@ stdenv.mkDerivation rec {
|
||||
"shutdown_close_pipe"
|
||||
];
|
||||
tdRegexp = lib.concatStringsSep "\\|" toDisable;
|
||||
in lib.optionalString doCheck ''
|
||||
in lib.optionalString (finalAttrs.doCheck) ''
|
||||
sed '/${tdRegexp}/d' -i test/test-list.h
|
||||
'';
|
||||
|
||||
@ -112,10 +112,10 @@ stdenv.mkDerivation rec {
|
||||
meta = with lib; {
|
||||
description = "A multi-platform support library with a focus on asynchronous I/O";
|
||||
homepage = "https://libuv.org/";
|
||||
changelog = "https://github.com/libuv/libuv/blob/v${version}/ChangeLog";
|
||||
changelog = "https://github.com/libuv/libuv/blob/v${finalAttrs.version}/ChangeLog";
|
||||
maintainers = with maintainers; [ cstrahan ];
|
||||
platforms = platforms.all;
|
||||
license = with licenses; [ mit isc bsd2 bsd3 cc-by-40 ];
|
||||
};
|
||||
|
||||
}
|
||||
})
|
||||
|
@ -42,13 +42,13 @@ let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libvgm";
|
||||
version = "unstable-2023-04-22";
|
||||
version = "unstable-2023-05-17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ValleyBell";
|
||||
repo = "libvgm";
|
||||
rev = "669a7566a356393d4e5b1030a9f9cdd3486bb41b";
|
||||
sha256 = "U/PO/YtS8bOb2yKk57UQKH4eRNysYC/hrmUR5YZyYlw=";
|
||||
rev = "5ad95d6fb40261cebab3d142b5f0191ed4e3a7cd";
|
||||
sha256 = "R1PCinxUUoCpBWYXpbPCVNrl299ETIDovRbnAPFXMHM=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
|
@ -36,6 +36,6 @@ stdenv.mkDerivation rec {
|
||||
changelog = "https://github.com/oneapi-src/oneDNN/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ alexarice bhipple ];
|
||||
maintainers = with maintainers; [ bhipple ];
|
||||
};
|
||||
}
|
||||
|
@ -0,0 +1,23 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Nicolas Benes <nbenes.gh@xandea.de>
|
||||
Date: Mon, 22 May 2023 09:25:27 +0200
|
||||
Subject: [PATCH] Fix pkg-config paths
|
||||
|
||||
|
||||
diff --git a/libxisf.pc.in b/libxisf.pc.in
|
||||
index b0b8b53..944b068 100644
|
||||
--- a/libxisf.pc.in
|
||||
+++ b/libxisf.pc.in
|
||||
@@ -1,7 +1,7 @@
|
||||
prefix="@CMAKE_INSTALL_PREFIX@"
|
||||
exec_prefix="${prefix}"
|
||||
-libdir="${exec_prefix}/@CMAKE_INSTALL_LIBDIR@"
|
||||
-includedir="${prefix}/@CMAKE_INSTALL_INCLUDEDIR@"
|
||||
+libdir="@CMAKE_INSTALL_FULL_LIBDIR@"
|
||||
+includedir="@CMAKE_INSTALL_FULL_INCLUDEDIR@"
|
||||
|
||||
Name: @PROJECT_NAME@
|
||||
Description: @CMAKE_PROJECT_DESCRIPTION@
|
||||
--
|
||||
2.38.5
|
||||
|
@ -10,16 +10,20 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "libxisf";
|
||||
version = "0.2.3";
|
||||
version = "0.2.8";
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain = "gitea.nouspiro.space";
|
||||
owner = "nou";
|
||||
repo = "libXISF";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-u5EYnRO2rUV8ofLL9qfACeVvVbWXEXpkqh2Q4OOxpaQ=";
|
||||
hash = "sha256-YB97vMz2+cFRYq8x2Su3Eh952U6kGIVLYV7kDEd5S8g=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./0001-Fix-pkg-config-paths.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
|
@ -4,7 +4,6 @@
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, python3
|
||||
, wrapGAppsHook
|
||||
, cinnamon
|
||||
, glib
|
||||
@ -16,20 +15,19 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xdg-desktop-portal-xapp";
|
||||
version = "1.0.0";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = "xdg-desktop-portal-xapp";
|
||||
rev = version;
|
||||
hash = "sha256-oXV4u/w4MWhKHf5vNbUNcyEJpKVFWcyEs1HEqo6eCyU=";
|
||||
hash = "sha256-N0LVgk3VT0Fax1GTB7jzFhwzNEeAuyFHAuxXNCo2o3Y=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
python3
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
@ -46,11 +44,6 @@ stdenv.mkDerivation rec {
|
||||
"-Dsystemduserunitdir=${placeholder "out"}/lib/systemd/user"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
chmod +x data/meson_install_schemas.py
|
||||
patchShebangs data/meson_install_schemas.py
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Backend implementation for xdg-desktop-portal for Cinnamon, MATE, Xfce";
|
||||
homepage = "https://github.com/linuxmint/xdg-desktop-portal-xapp";
|
||||
|
@ -11,7 +11,6 @@ buildNimPackage rec {
|
||||
hash = "sha256-JMBAW8hkE2wuXkRt4aHqFPoz1HX1J4SslvcaQXfpDNk";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib;
|
||||
src.meta // {
|
||||
|
@ -9,7 +9,6 @@ buildNimPackage rec {
|
||||
rev = version;
|
||||
hash = "sha256-BsDly13xsY2bu4N9LGHB0OGej/JhAx3B01TDdF0M8Jk=";
|
||||
};
|
||||
doCheck = true;
|
||||
meta = src.meta // {
|
||||
description = "Base32 library for Nim";
|
||||
maintainers = with lib.maintainers; [ ehmry ];
|
||||
|
@ -9,7 +9,6 @@ buildNimPackage rec {
|
||||
rev = version;
|
||||
hash = "sha256-9he+14yYVGt2s1IuRLPRsv23xnJzERkWRvIHr3PxFYk=";
|
||||
};
|
||||
doCheck = true;
|
||||
meta = src.meta // {
|
||||
description = "Base45 library for Nim";
|
||||
license = lib.licenses.unlicense;
|
||||
|
@ -5,6 +5,7 @@ let
|
||||
baseAttrs = {
|
||||
strictDeps = true;
|
||||
enableParallelBuilding = true;
|
||||
doCheck = true;
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
export NIX_NIM_BUILD_INPUTS=''${pkgsHostTarget[@]} $NIX_NIM_BUILD_INPUTS
|
||||
@ -30,7 +31,7 @@ let
|
||||
};
|
||||
|
||||
inputsOverride =
|
||||
{ depsBuildBuild ? [ ], nativeBuildInputs ? [ ], meta, ... }: {
|
||||
{ depsBuildBuild ? [ ], nativeBuildInputs ? [ ], ... }: {
|
||||
depsBuildBuild = [ nim_builder ] ++ depsBuildBuild;
|
||||
nativeBuildInputs = [ nim ] ++ nativeBuildInputs;
|
||||
};
|
||||
|
@ -13,7 +13,6 @@ buildNimPackage rec {
|
||||
|
||||
propagatedBuildInputs = [ vmath ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib;
|
||||
src.meta // {
|
||||
|
@ -9,7 +9,6 @@ buildNimPackage rec {
|
||||
rev = version;
|
||||
hash = "sha256-VmSYWgXDJLB2D2m3/ymrEytT2iW5JE56WmDz2MPHAqQ=";
|
||||
};
|
||||
doCheck = true;
|
||||
meta = with lib;
|
||||
src.meta // {
|
||||
description =
|
||||
|
@ -11,7 +11,6 @@ buildNimPackage rec {
|
||||
hash = "sha256-ZmhjehmEJHm5qNlsGQvyYLajUdwhWt1+AtRppRrNtgA=";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib;
|
||||
src.meta // {
|
||||
|
@ -11,7 +11,6 @@ let
|
||||
rev = "695f1285d63f1954c25eb1f42798d90fa7bcbe14";
|
||||
hash = "sha256-Z2Qr14pv2RHzQNfEYIKuXKHfHvvIfaEiGCHHCWJZFyw=";
|
||||
};
|
||||
doCheck = true;
|
||||
};
|
||||
in buildNimPackage rec {
|
||||
pname = "freedesktop_org";
|
||||
@ -23,7 +22,6 @@ in buildNimPackage rec {
|
||||
hash = "sha256-gEN8kiWYCfC9H7o4UE8Xza5s7OwU3TFno6XnIlEm9Dg=";
|
||||
};
|
||||
propagatedBuildInputs = [ configparser ];
|
||||
doCheck = true;
|
||||
meta = src.meta // {
|
||||
description = "Some Nim procedures for looking up freedesktop.org data";
|
||||
license = lib.licenses.unlicense;
|
||||
|
@ -13,7 +13,6 @@ buildNimPackage rec {
|
||||
propagatedNativeBuildInputs = [ pkg-config ];
|
||||
propagatedBuildInputs = [ getdns ];
|
||||
|
||||
doCheck = true;
|
||||
checkPhase = "nim c tests/test_example_synchronous";
|
||||
# The test requires network but check if it builds.
|
||||
|
||||
|
@ -10,4 +10,5 @@ buildNimPackage rec {
|
||||
sha256 = "0670phk1bq3l9j2zaa8i5wcpc5dyfrc0l2a6c21g0l2mmdczffa7";
|
||||
};
|
||||
propagatedBuildInputs = [ htslib ];
|
||||
doCheck = false;
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, buildNimPackage, fetchFromGitHub }:
|
||||
{ lib, buildNimPackage, fetchFromGitHub, illwill }:
|
||||
|
||||
buildNimPackage rec {
|
||||
pname = "illwillwidgets";
|
||||
@ -11,6 +11,9 @@ buildNimPackage rec {
|
||||
hash = "sha256-YVNdgs8jquJ58qbcyNMMJt+hJYcvahYpkSrDBbO4ILU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ illwill ];
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib;
|
||||
src.meta // {
|
||||
description = "Mouse enabled widgets for illwill";
|
||||
|
@ -11,7 +11,6 @@ buildNimPackage rec {
|
||||
sha256 = "1p250wb97nzz2g0vvq6mn521fx7sn1jpk1ralbzqh5q8clh4g7wr";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib;
|
||||
src.meta // {
|
||||
|
@ -9,7 +9,6 @@ buildNimPackage rec {
|
||||
rev = "b8f666069dff1ed0c5142dd1ca692f0e71434716";
|
||||
hash = "sha256-Wqb3mQ7638UOTze71mf6WMyGiw9qTwhbJiGGb+9OR2k=";
|
||||
};
|
||||
doCheck = true;
|
||||
meta = src.meta // {
|
||||
description = "Secure Hash Algorithm 2";
|
||||
maintainers = with lib.maintainers; [ ehmry ];
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, nimPackages, fetchFromGitHub }:
|
||||
{ lib, nimPackages, fetchFromGitHub, raylib }:
|
||||
|
||||
nimPackages.buildNimPackage rec {
|
||||
pname = "nimraylib-now";
|
||||
@ -11,6 +11,10 @@ nimPackages.buildNimPackage rec {
|
||||
sha256 = "sha256-18YiAzJ46dpD5JN+gH0MWKchZ5YLPBNcm9eVFnyy2Sw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ raylib ];
|
||||
|
||||
doCheck = false; # no $DISPLAY available
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/greenfork/nimraylib_now";
|
||||
description = "The Ultimate Raylib gaming library wrapper for Nim";
|
||||
|
@ -9,7 +9,6 @@ buildNimPackage rec {
|
||||
rev = version;
|
||||
hash = "sha256-kN91cp50ZL4INeRWqwrRK6CAkVXUq4rN4YlcN6WL/3Y=";
|
||||
};
|
||||
doCheck = true;
|
||||
meta = src.meta // {
|
||||
description = "NPeg is a pure Nim pattern matching library";
|
||||
maintainers = with lib.maintainers; [ ehmry ];
|
||||
|
@ -11,7 +11,6 @@ buildNimPackage rec {
|
||||
hash = "sha256-jtqn59x2ZRRgrPir6u/frsDHnl4kvTJWpbejxti8aHY=";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib;
|
||||
src.meta // {
|
||||
|
@ -14,7 +14,6 @@ buildNimPackage rec {
|
||||
|
||||
propagatedBuildInputs = [ bumpy chroma flatty nimsimd vmath zippy ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib;
|
||||
src.meta // {
|
||||
|
@ -11,7 +11,6 @@ buildNimPackage rec {
|
||||
hash = "sha256-ZLdStoNVoQhRkD2iEzKxhs1UPfgnbJM9QCDHdjH7vTU=";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib;
|
||||
src.meta // {
|
||||
|
@ -8,7 +8,6 @@ buildNimPackage (finalAttrs: {
|
||||
hash = "sha256-Vtcj8goI4zZPQs2TbFoBFlcR5UqDtOldaXSH/+/xULk=";
|
||||
};
|
||||
propagatedBuildInputs = [ SDL2 ];
|
||||
doCheck = true;
|
||||
meta = {
|
||||
description = "Nim wrapper for SDL 2.x";
|
||||
platforms = lib.platforms.linux; # Problems with Darwin.
|
||||
|
@ -1,7 +0,0 @@
|
||||
diff --git a/tests/config.nims b/tests/config.nims
|
||||
index 46348f1..fbe9f5e 100644
|
||||
--- a/tests/config.nims
|
||||
+++ b/tests/config.nims
|
||||
@@ -1 +1,2 @@
|
||||
switch("path", "..")
|
||||
+switch("passL", "-lsnappy")
|
@ -10,11 +10,7 @@ buildNimPackage rec {
|
||||
hash = "sha256-18CFRuDK+E701MHrCixx22QSVmglTc0EJwrMCsKwayM=";
|
||||
};
|
||||
propagatedBuildInputs = [ snappy ];
|
||||
patches = [ ./config.patch ];
|
||||
preCheck = ''
|
||||
mkdir $NIX_BUILD_TOP/nimcache/
|
||||
mv -v tests/data $NIX_BUILD_TOP/nimcache/data
|
||||
''; # test standards, please
|
||||
doCheck = false;
|
||||
meta = with lib;
|
||||
src.meta // {
|
||||
description = "Nim implementation of snappy compression algorithm";
|
||||
|
@ -12,7 +12,6 @@ buildNimPackage rec {
|
||||
};
|
||||
buildInputs = [ rocksdb snappy spryvm stew tempfile ui ];
|
||||
patches = [ ./nil.patch ./python.patch ];
|
||||
doCheck = true;
|
||||
meta = with lib;
|
||||
src.meta // {
|
||||
description =
|
||||
|
@ -11,7 +11,6 @@ buildNimPackage rec {
|
||||
};
|
||||
propagatedBuildInputs = [ sqlite ];
|
||||
patches = [ ./nil.patch ];
|
||||
doCheck = true;
|
||||
meta = with lib;
|
||||
src.meta // {
|
||||
description = "Spry virtual machine";
|
||||
|
@ -11,7 +11,6 @@ buildNimPackage rec {
|
||||
hash = "sha256-yTPbEsBcpEPXfmhykbWzWdnJ2ExEJxdii1L+mqx8VGQ=";
|
||||
};
|
||||
propagatedBuildInputs = [ nimSHA2 preserves ];
|
||||
doCheck = true;
|
||||
meta = src.meta // {
|
||||
description = "Nim implementation of the Syndicated Actor model";
|
||||
license = lib.licenses.unlicense;
|
||||
|
@ -11,7 +11,6 @@ buildNimPackage rec {
|
||||
};
|
||||
propagatedNativeBuildInputs = [ pkg-config ];
|
||||
propagatedBuildInputs = [ tkrzw ];
|
||||
doCheck = true;
|
||||
meta = with lib;
|
||||
src.meta // {
|
||||
description = "Nim wrappers over some of the Tkrzw C++ library";
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user