Merge master into haskell-updates
This commit is contained in:
commit
d4c7b50784
7
.github/CODEOWNERS
vendored
7
.github/CODEOWNERS
vendored
@ -268,13 +268,6 @@ pkgs/development/python-modules/buildcatrust/ @ajs124 @lukegb @mweinelt
|
|||||||
/pkgs/development/php-packages @aanderse @drupol @etu @globin @ma27 @talyz
|
/pkgs/development/php-packages @aanderse @drupol @etu @globin @ma27 @talyz
|
||||||
/pkgs/top-level/php-packages.nix @jtojnar @aanderse @drupol @etu @globin @ma27 @talyz
|
/pkgs/top-level/php-packages.nix @jtojnar @aanderse @drupol @etu @globin @ma27 @talyz
|
||||||
|
|
||||||
# Podman, CRI-O modules and related
|
|
||||||
/nixos/modules/virtualisation/containers.nix @adisbladis
|
|
||||||
/nixos/modules/virtualisation/cri-o.nix @adisbladis
|
|
||||||
/nixos/modules/virtualisation/podman @adisbladis
|
|
||||||
/nixos/tests/cri-o.nix @adisbladis
|
|
||||||
/nixos/tests/podman @adisbladis
|
|
||||||
|
|
||||||
# Docker tools
|
# Docker tools
|
||||||
/pkgs/build-support/docker @roberth
|
/pkgs/build-support/docker @roberth
|
||||||
/nixos/tests/docker-tools* @roberth
|
/nixos/tests/docker-tools* @roberth
|
||||||
|
@ -104,6 +104,7 @@ in mkLicense lset) ({
|
|||||||
};
|
};
|
||||||
|
|
||||||
arphicpl = {
|
arphicpl = {
|
||||||
|
spdxId = "Arphic-1999";
|
||||||
fullName = "Arphic Public License";
|
fullName = "Arphic Public License";
|
||||||
url = "https://www.freedesktop.org/wiki/Arphic_Public_License/";
|
url = "https://www.freedesktop.org/wiki/Arphic_Public_License/";
|
||||||
};
|
};
|
||||||
@ -236,6 +237,7 @@ in mkLicense lset) ({
|
|||||||
};
|
};
|
||||||
|
|
||||||
cal10 = {
|
cal10 = {
|
||||||
|
spdxId = "CAL-1.0";
|
||||||
fullName = "Cryptographic Autonomy License version 1.0 (CAL-1.0)";
|
fullName = "Cryptographic Autonomy License version 1.0 (CAL-1.0)";
|
||||||
url = "https://opensource.org/licenses/CAL-1.0";
|
url = "https://opensource.org/licenses/CAL-1.0";
|
||||||
};
|
};
|
||||||
@ -429,6 +431,7 @@ in mkLicense lset) ({
|
|||||||
};
|
};
|
||||||
|
|
||||||
elastic20 = {
|
elastic20 = {
|
||||||
|
spdxId = "Elastic-2.0";
|
||||||
fullName = "Elastic License 2.0";
|
fullName = "Elastic License 2.0";
|
||||||
url = "https://github.com/elastic/elasticsearch/blob/main/licenses/ELASTIC-LICENSE-2.0.txt";
|
url = "https://github.com/elastic/elasticsearch/blob/main/licenses/ELASTIC-LICENSE-2.0.txt";
|
||||||
free = false;
|
free = false;
|
||||||
@ -598,6 +601,7 @@ in mkLicense lset) ({
|
|||||||
|
|
||||||
# Intel's license, seems free
|
# Intel's license, seems free
|
||||||
iasl = {
|
iasl = {
|
||||||
|
spdxId = "Intel-ACPI";
|
||||||
fullName = "iASL";
|
fullName = "iASL";
|
||||||
url = "https://old.calculate-linux.org/packages/licenses/iASL";
|
url = "https://old.calculate-linux.org/packages/licenses/iASL";
|
||||||
};
|
};
|
||||||
@ -609,7 +613,7 @@ in mkLicense lset) ({
|
|||||||
|
|
||||||
imagemagick = {
|
imagemagick = {
|
||||||
fullName = "ImageMagick License";
|
fullName = "ImageMagick License";
|
||||||
spdxId = "imagemagick";
|
spdxId = "ImageMagick";
|
||||||
};
|
};
|
||||||
|
|
||||||
imlib2 = {
|
imlib2 = {
|
||||||
@ -803,6 +807,7 @@ in mkLicense lset) ({
|
|||||||
};
|
};
|
||||||
|
|
||||||
miros = {
|
miros = {
|
||||||
|
spdxId = "MirOS";
|
||||||
fullName = "MirOS License";
|
fullName = "MirOS License";
|
||||||
url = "https://opensource.org/licenses/MirOS";
|
url = "https://opensource.org/licenses/MirOS";
|
||||||
};
|
};
|
||||||
@ -1138,6 +1143,7 @@ in mkLicense lset) ({
|
|||||||
};
|
};
|
||||||
|
|
||||||
upl = {
|
upl = {
|
||||||
|
spdxId = "UPL-1.0";
|
||||||
fullName = "Universal Permissive License";
|
fullName = "Universal Permissive License";
|
||||||
url = "https://oss.oracle.com/licenses/upl/";
|
url = "https://oss.oracle.com/licenses/upl/";
|
||||||
};
|
};
|
||||||
@ -1194,6 +1200,7 @@ in mkLicense lset) ({
|
|||||||
};
|
};
|
||||||
|
|
||||||
xfig = {
|
xfig = {
|
||||||
|
spdxId = "Xfig";
|
||||||
fullName = "xfig";
|
fullName = "xfig";
|
||||||
url = "https://mcj.sourceforge.net/authors.html#xfig";
|
url = "https://mcj.sourceforge.net/authors.html#xfig";
|
||||||
};
|
};
|
||||||
|
@ -1281,9 +1281,11 @@
|
|||||||
githubId = 6060545;
|
githubId = 6060545;
|
||||||
matrix = "@anpin:matrix.org";
|
matrix = "@anpin:matrix.org";
|
||||||
name = "Pavel Anpin";
|
name = "Pavel Anpin";
|
||||||
keys = [{
|
keys = [
|
||||||
fingerprint = "06E8 4FF6 0CCF 7AFD 5101 76C9 0FBC D3EE 6310 7407";
|
{ fingerprint = "06E8 4FF6 0CCF 7AFD 5101 76C9 0FBC D3EE 6310 7407"; }
|
||||||
}];
|
# compare with https://keybase.io/anpin/pgp_keys.asc
|
||||||
|
{ fingerprint = "DADF F3EA 06DC 8C1B 100A 24DB 312E 8F17 91C5 DA8C"; }
|
||||||
|
];
|
||||||
};
|
};
|
||||||
anpryl = {
|
anpryl = {
|
||||||
email = "anpryl@gmail.com";
|
email = "anpryl@gmail.com";
|
||||||
@ -2621,6 +2623,12 @@
|
|||||||
fingerprint = "F549 3B7F 9372 5578 FDD3 D0B8 A1BC 8428 323E CFE8";
|
fingerprint = "F549 3B7F 9372 5578 FDD3 D0B8 A1BC 8428 323E CFE8";
|
||||||
}];
|
}];
|
||||||
};
|
};
|
||||||
|
br337 = {
|
||||||
|
email = "brian.porumb@proton.me";
|
||||||
|
github = "br337";
|
||||||
|
githubId = 49288125;
|
||||||
|
name = "Brian Porumb";
|
||||||
|
};
|
||||||
bradediger = {
|
bradediger = {
|
||||||
email = "brad@bradediger.com";
|
email = "brad@bradediger.com";
|
||||||
github = "bradediger";
|
github = "bradediger";
|
||||||
@ -4180,6 +4188,15 @@
|
|||||||
githubId = 118536343;
|
githubId = 118536343;
|
||||||
name = "David Hamelin";
|
name = "David Hamelin";
|
||||||
};
|
};
|
||||||
|
david-r-cox = {
|
||||||
|
email = "david@integrated-reasoning.com";
|
||||||
|
github = "david-r-cox";
|
||||||
|
githubId = 4259949;
|
||||||
|
name = "David Cox";
|
||||||
|
keys = [{
|
||||||
|
fingerprint = "0056 A3F6 9918 1E0D 8FF0 BCDE 65BB 07FA A4D9 4634";
|
||||||
|
}];
|
||||||
|
};
|
||||||
davidrusu = {
|
davidrusu = {
|
||||||
email = "davidrusu.me@gmail.com";
|
email = "davidrusu.me@gmail.com";
|
||||||
github = "davidrusu";
|
github = "davidrusu";
|
||||||
@ -11027,9 +11044,6 @@
|
|||||||
github = "Ma27";
|
github = "Ma27";
|
||||||
githubId = 6025220;
|
githubId = 6025220;
|
||||||
name = "Maximilian Bosch";
|
name = "Maximilian Bosch";
|
||||||
keys = [{
|
|
||||||
fingerprint = "62B9 9C26 F046 721E 26B0 04F6 D006 A998 C6AB FDF1";
|
|
||||||
}];
|
|
||||||
};
|
};
|
||||||
ma9e = {
|
ma9e = {
|
||||||
email = "sean@lfo.team";
|
email = "sean@lfo.team";
|
||||||
|
@ -21,6 +21,7 @@ fzy,,,,,,mrcjkb
|
|||||||
gitsigns.nvim,https://github.com/lewis6991/gitsigns.nvim.git,,,,5.1,
|
gitsigns.nvim,https://github.com/lewis6991/gitsigns.nvim.git,,,,5.1,
|
||||||
haskell-tools.nvim,,,,,,
|
haskell-tools.nvim,,,,,,
|
||||||
http,,,,0.3-0,,vcunat
|
http,,,,0.3-0,,vcunat
|
||||||
|
image.nvim,,,,,,teto
|
||||||
inspect,,,,,,
|
inspect,,,,,,
|
||||||
jsregexp,,,,,,
|
jsregexp,,,,,,
|
||||||
ldbus,,,http://luarocks.org/dev,,,
|
ldbus,,,http://luarocks.org/dev,,,
|
||||||
|
|
@ -767,7 +767,6 @@ with lib.maintainers; {
|
|||||||
|
|
||||||
podman = {
|
podman = {
|
||||||
members = [
|
members = [
|
||||||
adisbladis
|
|
||||||
saschagrunert
|
saschagrunert
|
||||||
vdemeester
|
vdemeester
|
||||||
];
|
];
|
||||||
|
@ -522,11 +522,16 @@ let format' = format; in let
|
|||||||
chmod 0644 $efiVars
|
chmod 0644 $efiVars
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
createHydraBuildProducts = ''
|
||||||
|
mkdir -p $out/nix-support
|
||||||
|
echo "file ${format}-image $out/${filename}" >> $out/nix-support/hydra-build-products
|
||||||
|
'';
|
||||||
|
|
||||||
buildImage = pkgs.vmTools.runInLinuxVM (
|
buildImage = pkgs.vmTools.runInLinuxVM (
|
||||||
pkgs.runCommand name {
|
pkgs.runCommand name {
|
||||||
preVM = prepareImage + lib.optionalString touchEFIVars createEFIVars;
|
preVM = prepareImage + lib.optionalString touchEFIVars createEFIVars;
|
||||||
buildInputs = with pkgs; [ util-linux e2fsprogs dosfstools ];
|
buildInputs = with pkgs; [ util-linux e2fsprogs dosfstools ];
|
||||||
postVM = moveOrConvertImage + postVM;
|
postVM = moveOrConvertImage + createHydraBuildProducts + postVM;
|
||||||
QEMU_OPTS =
|
QEMU_OPTS =
|
||||||
concatStringsSep " " (lib.optional useEFIBoot "-drive if=pflash,format=raw,unit=0,readonly=on,file=${efiFirmware}"
|
concatStringsSep " " (lib.optional useEFIBoot "-drive if=pflash,format=raw,unit=0,readonly=on,file=${efiFirmware}"
|
||||||
++ lib.optionals touchEFIVars [
|
++ lib.optionals touchEFIVars [
|
||||||
@ -616,5 +621,5 @@ let format' = format; in let
|
|||||||
in
|
in
|
||||||
if onlyNixStore then
|
if onlyNixStore then
|
||||||
pkgs.runCommand name {}
|
pkgs.runCommand name {}
|
||||||
(prepareImage + moveOrConvertImage + postVM)
|
(prepareImage + moveOrConvertImage + createHydraBuildProducts + postVM)
|
||||||
else buildImage
|
else buildImage
|
||||||
|
@ -73,7 +73,7 @@ with lib;
|
|||||||
qemu = super.qemu.override { gtkSupport = false; spiceSupport = false; sdlSupport = false; };
|
qemu = super.qemu.override { gtkSupport = false; spiceSupport = false; sdlSupport = false; };
|
||||||
qrencode = super.qrencode.overrideAttrs (_: { doCheck = false; });
|
qrencode = super.qrencode.overrideAttrs (_: { doCheck = false; });
|
||||||
qt5 = super.qt5.overrideScope (const (super': {
|
qt5 = super.qt5.overrideScope (const (super': {
|
||||||
qtbase = super'.qtbase.override { withGtk3 = false; };
|
qtbase = super'.qtbase.override { withGtk3 = false; withQttranslation = false; };
|
||||||
}));
|
}));
|
||||||
stoken = super.stoken.override { withGTK3 = false; };
|
stoken = super.stoken.override { withGTK3 = false; };
|
||||||
# translateManpages -> perlPackages.po4a -> texlive-combined-basic -> texlive-core-big -> libX11
|
# translateManpages -> perlPackages.po4a -> texlive-combined-basic -> texlive-core-big -> libX11
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
pkg = pkgs.pgadmin4;
|
|
||||||
cfg = config.services.pgadmin;
|
cfg = config.services.pgadmin;
|
||||||
|
|
||||||
_base = with types; [ int bool str ];
|
_base = with types; [ int bool str ];
|
||||||
@ -36,6 +35,8 @@ in
|
|||||||
default = 5050;
|
default = 5050;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
package = mkPackageOptionMD pkgs "pgadmin4" { };
|
||||||
|
|
||||||
initialEmail = mkOption {
|
initialEmail = mkOption {
|
||||||
description = lib.mdDoc "Initial email for the pgAdmin account";
|
description = lib.mdDoc "Initial email for the pgAdmin account";
|
||||||
type = types.str;
|
type = types.str;
|
||||||
@ -150,7 +151,7 @@ in
|
|||||||
echo "$PW"
|
echo "$PW"
|
||||||
# Retype password:
|
# Retype password:
|
||||||
echo "$PW"
|
echo "$PW"
|
||||||
) | ${pkg}/bin/pgadmin4-setup
|
) | ${cfg.package}/bin/pgadmin4-setup
|
||||||
'';
|
'';
|
||||||
|
|
||||||
restartTriggers = [
|
restartTriggers = [
|
||||||
@ -162,7 +163,7 @@ in
|
|||||||
DynamicUser = true;
|
DynamicUser = true;
|
||||||
LogsDirectory = "pgadmin";
|
LogsDirectory = "pgadmin";
|
||||||
StateDirectory = "pgadmin";
|
StateDirectory = "pgadmin";
|
||||||
ExecStart = "${pkg}/bin/pgadmin4";
|
ExecStart = "${cfg.package}/bin/pgadmin4";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -353,6 +353,7 @@ in
|
|||||||
];
|
];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${cfg.package.python.interpreter} -m frigate";
|
ExecStart = "${cfg.package.python.interpreter} -m frigate";
|
||||||
|
Restart = "on-failure";
|
||||||
|
|
||||||
User = "frigate";
|
User = "frigate";
|
||||||
Group = "frigate";
|
Group = "frigate";
|
||||||
|
@ -317,6 +317,7 @@ in {
|
|||||||
freetube = discoverTests (import ./freetube.nix);
|
freetube = discoverTests (import ./freetube.nix);
|
||||||
freshrss-sqlite = handleTest ./freshrss-sqlite.nix {};
|
freshrss-sqlite = handleTest ./freshrss-sqlite.nix {};
|
||||||
freshrss-pgsql = handleTest ./freshrss-pgsql.nix {};
|
freshrss-pgsql = handleTest ./freshrss-pgsql.nix {};
|
||||||
|
freshrss-http-auth = handleTest ./freshrss-http-auth.nix {};
|
||||||
frigate = handleTest ./frigate.nix {};
|
frigate = handleTest ./frigate.nix {};
|
||||||
frp = handleTest ./frp.nix {};
|
frp = handleTest ./frp.nix {};
|
||||||
frr = handleTest ./frr.nix {};
|
frr = handleTest ./frr.nix {};
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "airwindows-lv2";
|
pname = "airwindows-lv2";
|
||||||
version = "26.0";
|
version = "26.2";
|
||||||
src = fetchFromSourcehut {
|
src = fetchFromSourcehut {
|
||||||
owner = "~hannes";
|
owner = "~hannes";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-CmNe70ii3WfQ6GGHVqTEyQ2HVubzoeoeN3JsCZSbsPM=";
|
sha256 = "sha256-GpfglGC7zD275lm9OsBmqDC90E/vVUqslm7HjPgm74M=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja pkg-config ];
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, faust2jaqt, faust2lv2 }:
|
{ stdenv, lib, fetchFromGitHub, faust2jaqt, faust2lv2 }:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "faustPhysicalModeling";
|
pname = "faustPhysicalModeling";
|
||||||
version = "2.68.1";
|
version = "2.69.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "grame-cncm";
|
owner = "grame-cncm";
|
||||||
repo = "faust";
|
repo = "faust";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-jD6/ZeS0xdtajCg5e95E0Jo2lfXOn4OIVf4LJgAfPbo=";
|
sha256 = "sha256-E7cHDeQV7NVKyoCgI8P3gennpBidk7JmdnFGSIulvvQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ faust2jaqt faust2lv2 ];
|
buildInputs = [ faust2jaqt faust2lv2 ];
|
||||||
|
@ -5,11 +5,11 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
pname = "codux";
|
pname = "codux";
|
||||||
version = "15.16.1";
|
version = "15.16.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/wixplosives/codux-versions/releases/download/${version}/Codux-${version}.x86_64.AppImage";
|
url = "https://github.com/wixplosives/codux-versions/releases/download/${version}/Codux-${version}.x86_64.AppImage";
|
||||||
sha256 = "sha256-vc0lnYGOgb1uKAQlj6xc8mbSfJ6apGNSlyDRX3qHeTM=";
|
sha256 = "sha256-GKn8T3MEh+MnOqUnxruTqbnfxUcjGh6EAt+6LHTNCiY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
appimageContents = appimageTools.extractType2 { inherit pname version src; };
|
appimageContents = appimageTools.extractType2 { inherit pname version src; };
|
||||||
|
@ -5,13 +5,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "texstudio";
|
pname = "texstudio";
|
||||||
version = "4.7.1";
|
version = "4.7.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "texstudio-org";
|
owner = "texstudio-org";
|
||||||
repo = "texstudio";
|
repo = "texstudio";
|
||||||
rev = finalAttrs.version;
|
rev = finalAttrs.version;
|
||||||
hash = "sha256-Qpt1CiQ+vG7uT8rpuWgYdjug2iigXQDKHIhrquSny6I=";
|
hash = "sha256-Q4/aoLIxFssti3Dto1JwRRAQ+D3DHlH9JgDrHBVKg4M=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -59,8 +59,6 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
autoreconfHook
|
autoreconfHook
|
||||||
autoconf-archive
|
autoconf-archive
|
||||||
] ++ lib.optionals enableOpusfile [
|
|
||||||
# configure.ac uses pkg-config only to locate libopusfile
|
|
||||||
pkg-config
|
pkg-config
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -168,5 +168,6 @@ stdenv.mkDerivation rec {
|
|||||||
license = licenses.agpl3;
|
license = licenses.agpl3;
|
||||||
maintainers = with maintainers; [ zhaofengli ];
|
maintainers = with maintainers; [ zhaofengli ];
|
||||||
mainProgram = "bambu-studio";
|
mainProgram = "bambu-studio";
|
||||||
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
24
pkgs/applications/misc/bambu-studio/orca-slicer.nix
Normal file
24
pkgs/applications/misc/bambu-studio/orca-slicer.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ lib, fetchFromGitHub, makeDesktopItem, bambu-studio }:
|
||||||
|
let
|
||||||
|
orca-slicer = bambu-studio.overrideAttrs (finalAttrs: previousAttrs: {
|
||||||
|
version = "1.8.1";
|
||||||
|
pname = "orca-slicer";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "SoftFever";
|
||||||
|
repo = "OrcaSlicer";
|
||||||
|
rev = "v${finalAttrs.version}";
|
||||||
|
hash = "sha256-3aIVi7Wsit4vpFrGdqe7DUEC6HieWAXCdAADVtB5HKc=";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc";
|
||||||
|
homepage = "https://github.com/SoftFever/OrcaSlicer";
|
||||||
|
license = licenses.agpl3Only;
|
||||||
|
maintainers = with maintainers; [ zhaofengli ovlach pinpox ];
|
||||||
|
mainProgram = "orca-slicer";
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
});
|
||||||
|
in
|
||||||
|
orca-slicer
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "flashprint";
|
pname = "flashprint";
|
||||||
version = "5.8.1";
|
version = "5.8.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.ishare3d.com/3dapp/public/FlashPrint-5/FlashPrint/flashprint5_${finalAttrs.version}_amd64.deb";
|
url = "http://www.ishare3d.com/3dapp/public/FlashPrint-5/FlashPrint/flashprint5_${finalAttrs.version}_amd64.deb";
|
||||||
hash = "sha256-X5CsJmJa3qGQxdZ1xg3xoVnIaChzxZ/GaLZFqBE2dIk=";
|
hash = "sha256-6vBEthQD0HM2D+l+2dwWmdU+XPJpcvZQM+2GMuaf5Pw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ dpkg autoPatchelfHook wrapQtAppsHook ];
|
nativeBuildInputs = [ dpkg autoPatchelfHook wrapQtAppsHook ];
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
pname = "joplin-desktop";
|
pname = "joplin-desktop";
|
||||||
version = "2.12.18";
|
version = "2.13.9";
|
||||||
|
|
||||||
inherit (stdenv.hostPlatform) system;
|
inherit (stdenv.hostPlatform) system;
|
||||||
throwSystem = throw "Unsupported system: ${system}";
|
throwSystem = throw "Unsupported system: ${system}";
|
||||||
@ -16,9 +16,9 @@ let
|
|||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/laurent22/joplin/releases/download/v${version}/Joplin-${version}${suffix}";
|
url = "https://github.com/laurent22/joplin/releases/download/v${version}/Joplin-${version}${suffix}";
|
||||||
sha256 = {
|
sha256 = {
|
||||||
x86_64-linux = "1fwcqgqni7d9x0prdy3p8ccc5lzgn57rhph4498vs1q40kyq8823";
|
x86_64-linux = "sha256-1po4i+SG5o28uBtgmIXxnCP8/ZvFgTXxrdKVTSA7ndE=";
|
||||||
x86_64-darwin = "sha256-atd7nkefLvilTq39nTLbXQhm1zzBCHOLL7MRJwlTSMk=";
|
x86_64-darwin = "sha256-4NeFVj+RB3CyCQxrMM7ZfFahBMa0WumY1YPslJ2votc=";
|
||||||
aarch64-darwin = "sha256-xiWXD+ULSVJ80uruYz0uRFkDRT1QOUd6FSWDKK9yLMc=";
|
aarch64-darwin = "sha256-pxlato6AQYduTCXouGVNSGr5awhGwlC8jTkG9nB2U+4=";
|
||||||
}.${system} or throwSystem;
|
}.${system} or throwSystem;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "timewarrior";
|
pname = "timewarrior";
|
||||||
version = "1.6.0";
|
version = "1.7.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "GothenburgBitFactory";
|
owner = "GothenburgBitFactory";
|
||||||
repo = "timewarrior";
|
repo = "timewarrior";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-0obIMnPBvMO30o+qXqwtINNRobBR6cFO65B/xjVt+2w=";
|
sha256 = "sha256-6s/fifjGCkk8JiADPbeiqsKMgY0fkIJBqRPco+rmP1A=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "vhs";
|
pname = "vhs";
|
||||||
version = "0.6.0";
|
version = "0.7.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "charmbracelet";
|
owner = "charmbracelet";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-JKhijruaRjdMEbsIrcu2swSCb/nTxwIG/F9c2eGncnQ=";
|
hash = "sha256-4VQcIynkENScxpeM09IXrpMszqojlMuyjtXX2lbS9dg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-IpybcyW4up9QVV7fJCh+2Lrpi571tfravN17vh/G1bQ=";
|
vendorHash = "sha256-/XW5Gq9Yz+M7Al1hy6pow34e3Cn3q8aA0ByRdhWXUIQ=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles makeWrapper ];
|
nativeBuildInputs = [ installShellFiles makeWrapper ];
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
, nix-update-script
|
, nix-update-script
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
version = "2.8.0";
|
version = "2.9.0";
|
||||||
in
|
in
|
||||||
rustPlatform.buildRustPackage {
|
rustPlatform.buildRustPackage {
|
||||||
pname = "wallust";
|
pname = "wallust";
|
||||||
@ -15,14 +15,10 @@ rustPlatform.buildRustPackage {
|
|||||||
owner = "explosion-mental";
|
owner = "explosion-mental";
|
||||||
repo = "wallust";
|
repo = "wallust";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-qX+pU/ovRV7dA35qSA724vV9azz7dMbEyMVBzqS47Ps=";
|
hash = "sha256-AuZRt02bFr7GzI7qe4giGgjlXK/WX+gmF4+QwD0ChXk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-PAO7qxaKrRKYoC5RElNCylqRzOgvzPyxb6tTzW4jNi4=";
|
cargoHash = "sha256-O9w18ae83mgF3zjk0WUMeu16Ap7CF2ubuPnOqeCt4Nw=";
|
||||||
|
|
||||||
# temporarily skip tests for args due to a string formatting conflict
|
|
||||||
# https://codeberg.org/explosion-mental/wallust/issues/30
|
|
||||||
cargoTestFlags = [ "--test config" "--test cache" "--test template" ];
|
|
||||||
|
|
||||||
passthru.updateScript = nix-update-script { };
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
@ -32,7 +28,6 @@ rustPlatform.buildRustPackage {
|
|||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = with lib.maintainers; [ onemoresuza iynaix ];
|
maintainers = with lib.maintainers; [ onemoresuza iynaix ];
|
||||||
downloadPage = "https://codeberg.org/explosion-mental/wallust/releases/tag/${version}";
|
downloadPage = "https://codeberg.org/explosion-mental/wallust/releases/tag/${version}";
|
||||||
platforms = lib.platforms.unix;
|
|
||||||
mainProgram = "wallust";
|
mainProgram = "wallust";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -7,18 +7,18 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "wttrbar";
|
pname = "wttrbar";
|
||||||
version = "0.6.0";
|
version = "0.7.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bjesus";
|
owner = "bjesus";
|
||||||
repo = "wttrbar";
|
repo = "wttrbar";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-Qe1Is13RXUIT5JkfuLK3Lj5gxKxVbfA4FCNgkqSTMNE=";
|
hash = "sha256-AGIUMw4lvYiUJol4VYS+ozNMsCDNGPCsg+fwMlpWEJY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk_11_0.frameworks.Security ];
|
buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk_11_0.frameworks; [ Security SystemConfiguration ]);
|
||||||
|
|
||||||
cargoHash = "sha256-IK6ciz+XtNsC4QsAop7Pf5qjiTCUQa30xnHWW4PobnA=";
|
cargoHash = "sha256-3FDY0SUl1lb9jUjUj14j/5gF5NoSpS1PMj1AtXr/4Hk=";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A simple but detailed weather indicator for Waybar using wttr.in";
|
description = "A simple but detailed weather indicator for Waybar using wttr.in";
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, buildGoModule
|
, buildGoModule
|
||||||
, buildGoPackage
|
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
, pkgsBuildBuild
|
, pkgsBuildBuild
|
||||||
|
@ -7,13 +7,13 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "arkade";
|
pname = "arkade";
|
||||||
version = "0.10.17";
|
version = "0.10.20";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "alexellis";
|
owner = "alexellis";
|
||||||
repo = "arkade";
|
repo = "arkade";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-Ubj2jrQFmMTSY2+Z4pqDIQ+K8JycX+NOpgcuyCrD4uo=";
|
hash = "sha256-aOJ07Ks+J7cDvF3InKGYx4dJAql9ltJQqa8P+4cKhNk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
CGO_ENABLED = 0;
|
CGO_ENABLED = 0;
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "cilium-cli";
|
pname = "cilium-cli";
|
||||||
version = "0.15.17";
|
version = "0.15.19";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "cilium";
|
owner = "cilium";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-Gb3S3R9gt/4sCOxjiIEXDnVEUEt7Zgz0GJZFEP9D+h8=";
|
hash = "sha256-52i3Ek/rXFF9rMMiXNMnRjT2HYsknGKvVtCRrVDmo9U=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = null;
|
vendorHash = null;
|
||||||
|
@ -6,16 +6,16 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "glooctl";
|
pname = "glooctl";
|
||||||
version = "1.15.17";
|
version = "1.15.18";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "solo-io";
|
owner = "solo-io";
|
||||||
repo = "gloo";
|
repo = "gloo";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-tTsiDlpjQ86CAMzyZhRKPYrEqFm8sCPoeCRzTrmfyx4=";
|
hash = "sha256-oHwo0I3OFfilLg2tlL0EycTo6BC7LYbzg7dxgfz/XeI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-/JliAQtUd8fbKThqkwC4u4XNawXhoZaV1XdJRciJxmw=";
|
vendorHash = "sha256-MrTiZCvYUmdX4sK85jeeQpUupvitH6PfbQ+RfwELaV4=";
|
||||||
|
|
||||||
subPackages = [ "projects/gloo/cli/cmd" ];
|
subPackages = [ "projects/gloo/cli/cmd" ];
|
||||||
|
|
||||||
|
@ -8,16 +8,16 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "helmfile";
|
pname = "helmfile";
|
||||||
version = "0.159.0";
|
version = "0.160.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "helmfile";
|
owner = "helmfile";
|
||||||
repo = "helmfile";
|
repo = "helmfile";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-7RFDa8Yw2tPjVvJLVPb7VbDNhrHNxzqmE0uogm7X/HY=";
|
sha256 = "sha256-sPHEYhKiKzB5MYylWeHKpVjjXbDsWbg99TKqT/d3uJ0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-kVr6h5u71RimRER6tNxZUewSqqjaAPptriD5bfsE85U=";
|
vendorHash = "sha256-LkmPytmXrense/M0erBkxeQ7XXGlHDLY1yedsOxk4+E=";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
@ -9,13 +9,13 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "kaniko";
|
pname = "kaniko";
|
||||||
version = "1.19.1";
|
version = "1.19.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "GoogleContainerTools";
|
owner = "GoogleContainerTools";
|
||||||
repo = "kaniko";
|
repo = "kaniko";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-iSiVRbq6ohAXAWhHUUFUG/6rjlsmgYmy9VAzx76JIt0=";
|
hash = "sha256-YxOuZb1R9Orm3RTnZyzi54VzQbbmE+lO+4osvG97pwE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = null;
|
vendorHash = null;
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "kubecm";
|
pname = "kubecm";
|
||||||
version = "0.25.0";
|
version = "0.26.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sunny0826";
|
owner = "sunny0826";
|
||||||
repo = "kubecm";
|
repo = "kubecm";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-8Y8JChZxjbN/nOw2tzDfJvYSMAtAadf6QMsDFK4IIOg=";
|
hash = "sha256-53diz+TNGRmNbSZJAIKPFi0x/BdL02Tjb847I/XdhW0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-HjMgXEDX9pDpK+1Hm0xI0wYRfpj7K6xkZJXCUBqbE3Y=";
|
vendorHash = "sha256-QPd7gUEY6qNdl96slKvY7+Av6fCU9q+XdjKNKUXz2Wo=";
|
||||||
ldflags = [ "-s" "-w" "-X github.com/sunny0826/kubecm/version.Version=${version}"];
|
ldflags = [ "-s" "-w" "-X github.com/sunny0826/kubecm/version.Version=${version}"];
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "kubefirst";
|
pname = "kubefirst";
|
||||||
version = "2.3.6";
|
version = "2.3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "kubefirst";
|
owner = "kubefirst";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-PFI7sBLcDIxes7fJnT1sgJbRITyoYptpupfOd6lisjs=";
|
hash = "sha256-oJWQ5u85uQrHnf3VxY0vJwgGePxB4pg+LD0gofYIB1g=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-blMKBgSBRCVlXu8n3wcd2iMkBTALe2gPxy0Z4uwxUWI=";
|
vendorHash = "sha256-blMKBgSBRCVlXu8n3wcd2iMkBTALe2gPxy0Z4uwxUWI=";
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "kubevpn";
|
pname = "kubevpn";
|
||||||
version = "2.1.3";
|
version = "2.2.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "KubeNetworks";
|
owner = "KubeNetworks";
|
||||||
repo = "kubevpn";
|
repo = "kubevpn";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-KHOqVVB1QjhhPUopeZd/A/htanmIoLCNhtnWrqyEN2A=";
|
sha256 = "sha256-n65z7L82qQE4Xao5W99zIkXGEx2BFM4n/6C1cuTJXsk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = null;
|
vendorHash = null;
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
{ lib, go, buildGoModule, fetchFromGitHub, installShellFiles }:
|
{ lib, go, buildGoModule, fetchFromGitHub, installShellFiles, testers, vcluster }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "vcluster";
|
pname = "vcluster";
|
||||||
version = "0.17.0";
|
version = "0.18.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "loft-sh";
|
owner = "loft-sh";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-xmSp3cNqNv48gBWpt0Pnvl3l5gIyV1oPNGrB58X+OVU=";
|
hash = "sha256-TJjMB7x8MOlr3GexsnOZBFPJovVkf4ByRn1aGprvZFQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = null;
|
vendorHash = null;
|
||||||
@ -36,9 +36,15 @@ buildGoModule rec {
|
|||||||
postInstall = ''
|
postInstall = ''
|
||||||
installShellCompletion --cmd vcluster \
|
installShellCompletion --cmd vcluster \
|
||||||
--bash <($out/bin/vcluster completion bash) \
|
--bash <($out/bin/vcluster completion bash) \
|
||||||
|
--fish <($out/bin/vcluster completion fish) \
|
||||||
--zsh <($out/bin/vcluster completion zsh)
|
--zsh <($out/bin/vcluster completion zsh)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.tests.version = testers.testVersion {
|
||||||
|
package = vcluster;
|
||||||
|
command = "vcluster --version";
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Create fully functional virtual Kubernetes clusters";
|
description = "Create fully functional virtual Kubernetes clusters";
|
||||||
downloadPage = "https://github.com/loft-sh/vcluster";
|
downloadPage = "https://github.com/loft-sh/vcluster";
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
let
|
let
|
||||||
versions =
|
versions =
|
||||||
if stdenv.isLinux then {
|
if stdenv.isLinux then {
|
||||||
stable = "0.0.38";
|
stable = "0.0.39";
|
||||||
ptb = "0.0.61";
|
ptb = "0.0.61";
|
||||||
canary = "0.0.224";
|
canary = "0.0.224";
|
||||||
development = "0.0.1";
|
development = "0.0.1";
|
||||||
@ -17,7 +17,7 @@ let
|
|||||||
x86_64-linux = {
|
x86_64-linux = {
|
||||||
stable = fetchurl {
|
stable = fetchurl {
|
||||||
url = "https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz";
|
url = "https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz";
|
||||||
hash = "sha256-0i3xtArA/5LDyGiNQ/FjV3tU7Jzs8E6ZRuSUFNEJyDo=";
|
hash = "sha256-KZLKBzd9hdOQkp7mN0rUZ8TbMvH2G0/AfwHPLAlDpug=";
|
||||||
};
|
};
|
||||||
ptb = fetchurl {
|
ptb = fetchurl {
|
||||||
url = "https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz";
|
url = "https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz";
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
, lib
|
, lib
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, fetchFromGitLab
|
, fetchFromGitLab
|
||||||
, fetchpatch
|
|
||||||
, gitUpdater
|
, gitUpdater
|
||||||
, ffmpeg_6
|
, ffmpeg_6
|
||||||
|
|
||||||
@ -66,14 +65,14 @@ let
|
|||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "jami";
|
pname = "jami";
|
||||||
version = "20230619.1";
|
version = "20231201.0";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "git.jami.net";
|
domain = "git.jami.net";
|
||||||
owner = "savoirfairelinux";
|
owner = "savoirfairelinux";
|
||||||
repo = "jami-client-qt";
|
repo = "jami-client-qt";
|
||||||
rev = "stable/${version}";
|
rev = "stable/${version}";
|
||||||
hash = "sha256-gOl4GtGmEvhM8xtlyFvTwXrUsbocUKULnVy9cnCNAM0=";
|
hash = "sha256-A38JwjqdQVy03d738p2tpTFA6EWRSPNiesS5wZfti7Y=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -82,24 +81,16 @@ stdenv.mkDerivation rec {
|
|||||||
patch-src = src + "/daemon/contrib/src/pjproject/";
|
patch-src = src + "/daemon/contrib/src/pjproject/";
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
version = "e4b83585a0bdf1523e808a4fc1946ec82ac733d0";
|
version = "311bd018fc07aaf62d4c2d2494e08b5ee97e6846";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "savoirfairelinux";
|
owner = "savoirfairelinux";
|
||||||
repo = "pjproject";
|
repo = "pjproject";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-QeD2o6uz9r5vc3Scs1oRKYZ+aNH+01TSxLBj71ssfj4=";
|
hash = "sha256-pZiOSOUxAXzMY4c1/AyKcwa7nyIJC/ZVOqDg9/QO/Nk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = (map (x: patch-src + x) (readLinesToList ./config/pjsip_patches)) ++ [
|
patches = (map (x: patch-src + x) (readLinesToList ./config/pjsip_patches));
|
||||||
(fetchpatch {
|
|
||||||
name = "CVE-2023-27585.patch";
|
|
||||||
url = "https://github.com/pjsip/pjproject/commit/d1c5e4da5bae7f220bc30719888bb389c905c0c5.patch";
|
|
||||||
hash = "sha256-+yyKKTKG2FnfyLWnc4S80vYtDzmiu9yRmuqb5eIulPg=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
patchFlags = [ "-p1" "-l" ];
|
|
||||||
|
|
||||||
configureFlags = (readLinesToList ./config/pjsip_args_common)
|
configureFlags = (readLinesToList ./config/pjsip_args_common)
|
||||||
++ lib.optionals stdenv.isLinux (readLinesToList ./config/pjsip_args_linux);
|
++ lib.optionals stdenv.isLinux (readLinesToList ./config/pjsip_args_linux);
|
||||||
@ -110,6 +101,52 @@ stdenv.mkDerivation rec {
|
|||||||
enablePushNotifications = true;
|
enablePushNotifications = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
dhtnet = stdenv.mkDerivation {
|
||||||
|
pname = "dhtnet";
|
||||||
|
version = "unstable-2023-11-23";
|
||||||
|
|
||||||
|
src = fetchFromGitLab {
|
||||||
|
domain = "git.jami.net";
|
||||||
|
owner = "savoirfairelinux";
|
||||||
|
repo = "dhtnet";
|
||||||
|
rev = "b1bcdecbac2a41de3941ef5a34faa6fbe4472535";
|
||||||
|
hash = "sha256-EucSsUuHXbVqr7drrTLK0f+WZT2k9Tx/LV+IBldTQO8=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
asio
|
||||||
|
fmt
|
||||||
|
gnutls
|
||||||
|
http-parser
|
||||||
|
jsoncpp
|
||||||
|
libupnp
|
||||||
|
msgpack
|
||||||
|
opendht-jami
|
||||||
|
openssl
|
||||||
|
pjsip-jami
|
||||||
|
restinio
|
||||||
|
];
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DBUILD_SHARED_LIBS=Off"
|
||||||
|
"-DBUILD_BENCHMARKS=Off"
|
||||||
|
"-DBUILD_TOOLS=Off"
|
||||||
|
"-DBUILD_TESTING=Off"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Lightweight Peer-to-Peer Communication Library";
|
||||||
|
license = licenses.gpl3Only;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = [ maintainers.linsui ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
daemon = stdenv.mkDerivation {
|
daemon = stdenv.mkDerivation {
|
||||||
pname = "jami-daemon";
|
pname = "jami-daemon";
|
||||||
inherit src version meta;
|
inherit src version meta;
|
||||||
@ -125,6 +162,7 @@ stdenv.mkDerivation rec {
|
|||||||
alsa-lib
|
alsa-lib
|
||||||
asio
|
asio
|
||||||
dbus
|
dbus
|
||||||
|
dhtnet
|
||||||
sdbus-cpp
|
sdbus-cpp
|
||||||
fmt
|
fmt
|
||||||
ffmpeg_6
|
ffmpeg_6
|
||||||
@ -154,13 +192,12 @@ stdenv.mkDerivation rec {
|
|||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace src/app/commoncomponents/ModalTextEdit.qml \
|
|
||||||
--replace 'required property string placeholderText' 'property string placeholderText: ""'
|
|
||||||
'';
|
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
echo 'const char VERSION_STRING[] = "${version}";' > src/app/version.h
|
echo 'const char VERSION_STRING[] = "${version}";' > src/app/version.h
|
||||||
|
# Currently the daemon is still built seperately but jami expects it in CMAKE_INSTALL_PREFIX
|
||||||
|
# This can be removed in future versions when JAMICORE_AS_SUBDIR is on
|
||||||
|
mkdir -p $out
|
||||||
|
ln -s ${daemon} $out/daemon
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -172,7 +209,6 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
daemon
|
|
||||||
ffmpeg_6
|
ffmpeg_6
|
||||||
libnotify
|
libnotify
|
||||||
networkmanager
|
networkmanager
|
||||||
@ -189,10 +225,7 @@ stdenv.mkDerivation rec {
|
|||||||
qtwebengine
|
qtwebengine
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = lib.optionals (!withWebengine) [
|
||||||
"-DLIBJAMI_INCLUDE_DIR=${daemon}/include/jami"
|
|
||||||
"-DLIBJAMI_XML_INTERFACES_DIR=${daemon}/share/dbus-1/interfaces"
|
|
||||||
] ++ lib.optionals (!withWebengine) [
|
|
||||||
"-DWITH_WEBENGINE=false"
|
"-DWITH_WEBENGINE=false"
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -201,11 +234,6 @@ stdenv.mkDerivation rec {
|
|||||||
"--set-default QT_QPA_PLATFORM xcb"
|
"--set-default QT_QPA_PLATFORM xcb"
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
# Make the jamid d-bus services available
|
|
||||||
ln -s ${daemon}/share/dbus-1 $out/share
|
|
||||||
'';
|
|
||||||
|
|
||||||
passthru.updateScript = gitUpdater {
|
passthru.updateScript = gitUpdater {
|
||||||
rev-prefix = "stable/";
|
rev-prefix = "stable/";
|
||||||
};
|
};
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, makeDesktopItem
|
, makeDesktopItem
|
||||||
, copyDesktopItems
|
, copyDesktopItems
|
||||||
@ -19,20 +20,30 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "teams-for-linux";
|
pname = "teams-for-linux";
|
||||||
version = "1.3.22";
|
version = "1.4.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "IsmaelMartinez";
|
owner = "IsmaelMartinez";
|
||||||
repo = "teams-for-linux";
|
repo = "teams-for-linux";
|
||||||
rev = "v${finalAttrs.version}";
|
rev = "v${finalAttrs.version}";
|
||||||
hash = "sha256-nyhAq06k0nNrGSbD0N1RNwcplYf5vO1BvnvEfNYGG0A=";
|
hash = "sha256-1URS9VPqV58p8RUA47j8sdqYqps1Ruo0aqdZXedvPX8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
offlineCache = fetchYarnDeps {
|
offlineCache = fetchYarnDeps {
|
||||||
yarnLock = "${finalAttrs.src}/yarn.lock";
|
yarnLock = "${finalAttrs.src}/yarn.lock";
|
||||||
hash = "sha256-ydhJXAvz3k6GwpnSL6brl9xFpb+ooi8Am89TkcE00hc=";
|
hash = "sha256-ef+JW5ud9LlRxaCJC2iOT5N7FgZO7IkAABJcMQPvIBA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# remove when IsmaelMartinez/teams-for-linux#1058 is merged
|
||||||
|
(fetchpatch {
|
||||||
|
name = "teams-for-linux-fix-version.patch";
|
||||||
|
url = "https://github.com/IsmaelMartinez/teams-for-linux/commit/1d14947eef35c6a2e0cbdfcce405820f8dd36c68.diff";
|
||||||
|
hash = "sha256-kj2jEAqgZ0frUw85hY23mFYFcXz95z/WQSDymsheDfg=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
nativeBuildInputs = [ yarn prefetch-yarn-deps nodejs copyDesktopItems makeWrapper ];
|
nativeBuildInputs = [ yarn prefetch-yarn-deps nodejs copyDesktopItems makeWrapper ];
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
|
@ -80,14 +80,14 @@ let
|
|||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "telegram-desktop";
|
pname = "telegram-desktop";
|
||||||
version = "4.12.2";
|
version = "4.13.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "telegramdesktop";
|
owner = "telegramdesktop";
|
||||||
repo = "tdesktop";
|
repo = "tdesktop";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
hash = "sha256-jIOJ7iFF2SMZOBTVzc0ECEZrkXPY060jk3fxt7kIWSg=";
|
hash = "sha256-WhctvEmOGOxkVQUC84BcC4Td5GUEpY7dOG5La6lTv8E=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -9,13 +9,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "tg_owt";
|
pname = "tg_owt";
|
||||||
version = "unstable-2023-11-17";
|
version = "unstable-2023-12-21";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "desktop-app";
|
owner = "desktop-app";
|
||||||
repo = "tg_owt";
|
repo = "tg_owt";
|
||||||
rev = "76a3513d7f25d6623d92463fbe6470d9001b66a8";
|
rev = "afd9d5d31798d3eacf9ed6c30601e91d0f1e4d60";
|
||||||
sha256 = "sha256-nubFELIHxn9yQiFGDqcYtVN9rjXizzkiV07ypWY9v48=";
|
sha256 = "sha256-/1cghoxmm+6uFEUgCjh1Xhb0CTnd1XAq1M21FruDRek=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -10,16 +10,16 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "netmaker";
|
pname = "netmaker";
|
||||||
version = "0.21.1";
|
version = "0.21.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "gravitl";
|
owner = "gravitl";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-LfvO95jqzJzB44JxzB00GubTKJkvK/NR42eGYipirbM=";
|
hash = "sha256-0KyBRIMXGqg4MdTyN3Kw1rVbZ7ULlfW6M9DSfAUQF8A=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-BRgzPH7uiUHcouEw0KNpM5k0/kZMImvI9MFn4ahXIRM=";
|
vendorHash = "sha256-B9r+p9kL/8h5qGmJ2WChnU3qKFf9z76YFqn6M2dXsDg=";
|
||||||
|
|
||||||
inherit subPackages;
|
inherit subPackages;
|
||||||
|
|
||||||
|
@ -1,44 +1,22 @@
|
|||||||
{ lib, stdenv, fetchurl, makeWrapper, makeDesktopItem, genericUpdater, writeShellScript
|
{ lib, stdenv, fetchurl, makeWrapper, makeDesktopItem, genericUpdater, writeShellScript
|
||||||
, atk, cairo, gdk-pixbuf, glib, gnome2, gtk2, libGLU, libGL, pango, xorg, minizip
|
, atk, cairo, gdk-pixbuf, glib, gnome2, gtk2, libGLU, libGL, pango, xorg, minizip
|
||||||
, lsb-release, freetype, fontconfig, polkit, polkit_gnome, pciutils
|
, lsb-release, freetype, fontconfig, polkit, polkit_gnome, pciutils, copyDesktopItems
|
||||||
, pulseaudio }:
|
, pulseaudio }:
|
||||||
|
|
||||||
let
|
let
|
||||||
description = "Desktop sharing application, providing remote support and online meetings";
|
description = "Desktop sharing application, providing remote support and online meetings";
|
||||||
|
|
||||||
desktopItem = makeDesktopItem {
|
|
||||||
name = "AnyDesk";
|
|
||||||
exec = "@out@/bin/anydesk %u";
|
|
||||||
icon = "anydesk";
|
|
||||||
desktopName = "AnyDesk";
|
|
||||||
genericName = description;
|
|
||||||
categories = [ "Network" ];
|
|
||||||
startupNotify = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "anydesk";
|
pname = "anydesk";
|
||||||
version = "6.3.0";
|
version = "6.3.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
urls = [
|
urls = [
|
||||||
"https://download.anydesk.com/linux/${pname}-${version}-amd64.tar.gz"
|
"https://download.anydesk.com/linux/anydesk-${version}-amd64.tar.gz"
|
||||||
"https://download.anydesk.com/linux/generic-linux/${pname}-${version}-amd64.tar.gz"
|
"https://download.anydesk.com/linux/generic-linux/anydesk-${version}-amd64.tar.gz"
|
||||||
];
|
];
|
||||||
hash = "sha256-seMzfTXOGa+TljgpmIsgFOis+79r0bWt+4vH3Nb+5FI=";
|
hash = "sha256-seMzfTXOGa+TljgpmIsgFOis+79r0bWt+4vH3Nb+5FI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
|
||||||
updateScript = genericUpdater {
|
|
||||||
versionLister = writeShellScript "anydesk-versionLister" ''
|
|
||||||
curl -s https://anydesk.com/en/downloads/linux \
|
|
||||||
| grep "https://[a-z0-9._/-]*-amd64.tar.gz" -o \
|
|
||||||
| uniq \
|
|
||||||
| sed 's,.*/anydesk-\(.*\)-amd64.tar.gz,\1,g'
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
atk cairo gdk-pixbuf glib gtk2 stdenv.cc.cc pango
|
atk cairo gdk-pixbuf glib gtk2 stdenv.cc.cc pango
|
||||||
gnome2.gtkglext libGLU libGL minizip freetype
|
gnome2.gtkglext libGLU libGL minizip freetype
|
||||||
@ -48,7 +26,19 @@ in stdenv.mkDerivation rec {
|
|||||||
libXrandr libXtst libXt libICE libSM libXrender
|
libXrandr libXtst libXt libICE libSM libXrender
|
||||||
]);
|
]);
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ copyDesktopItems makeWrapper ];
|
||||||
|
|
||||||
|
desktopItems = [
|
||||||
|
(makeDesktopItem {
|
||||||
|
name = "AnyDesk";
|
||||||
|
exec = "${placeholder "out"}/bin/anydesk %u";
|
||||||
|
icon = "anydesk";
|
||||||
|
desktopName = "AnyDesk";
|
||||||
|
genericName = description;
|
||||||
|
categories = [ "Network" ];
|
||||||
|
startupNotify = false;
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
@ -57,7 +47,6 @@ in stdenv.mkDerivation rec {
|
|||||||
install -m755 anydesk $out/bin/anydesk
|
install -m755 anydesk $out/bin/anydesk
|
||||||
cp copyright README $out/share/doc/anydesk
|
cp copyright README $out/share/doc/anydesk
|
||||||
cp -r icons/hicolor/* $out/share/icons/hicolor/
|
cp -r icons/hicolor/* $out/share/icons/hicolor/
|
||||||
cp ${desktopItem}/share/applications/*.desktop $out/share/applications
|
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
@ -75,11 +64,19 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
wrapProgram $out/bin/anydesk \
|
wrapProgram $out/bin/anydesk \
|
||||||
--prefix PATH : ${lib.makeBinPath [ lsb-release pciutils ]}
|
--prefix PATH : ${lib.makeBinPath [ lsb-release pciutils ]}
|
||||||
|
|
||||||
substituteInPlace $out/share/applications/*.desktop \
|
|
||||||
--subst-var out
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = genericUpdater {
|
||||||
|
versionLister = writeShellScript "anydesk-versionLister" ''
|
||||||
|
curl -s https://anydesk.com/en/downloads/linux \
|
||||||
|
| grep "https://[a-z0-9._/-]*-amd64.tar.gz" -o \
|
||||||
|
| uniq \
|
||||||
|
| sed 's,.*/anydesk-\(.*\)-amd64.tar.gz,\1,g'
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
inherit description;
|
inherit description;
|
||||||
homepage = "https://www.anydesk.com";
|
homepage = "https://www.anydesk.com";
|
||||||
|
@ -25,13 +25,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "freedv";
|
pname = "freedv";
|
||||||
version = "1.9.5";
|
version = "1.9.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "drowe67";
|
owner = "drowe67";
|
||||||
repo = "freedv-gui";
|
repo = "freedv-gui";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-uCWdDmHzNx1vkZFttQZLD4YfXoXz5VZQfir9sGOoDhw=";
|
hash = "sha256-2TqlBlbMhBqe8WqoyYLJ9B82sAy3MdoaYvvk+XB5CdQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = lib.optionalString stdenv.isDarwin ''
|
postPatch = lib.optionalString stdenv.isDarwin ''
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "cvc5";
|
pname = "cvc5";
|
||||||
version = "1.0.8";
|
version = "1.0.9";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "cvc5";
|
owner = "cvc5";
|
||||||
repo = "cvc5";
|
repo = "cvc5";
|
||||||
rev = "cvc5-${version}";
|
rev = "cvc5-${version}";
|
||||||
hash = "sha256-2sJKHD7Wzznut4hKOyxgc4LR4H+4u3m8Gq02+v+m5lM=";
|
hash = "sha256-AwUQHFftn51Xt6HtmDsWAdkOS8i64r2FhaHu31KYwZA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config cmake flex ];
|
nativeBuildInputs = [ pkg-config cmake flex ];
|
||||||
|
@ -46,6 +46,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DUSE_GITHASH=OFF"
|
"-DUSE_GITHASH=OFF"
|
||||||
|
"-DINSTALL_LICENSE=OFF"
|
||||||
];
|
];
|
||||||
|
|
||||||
# Work around https://github.com/NixOS/nixpkgs/issues/166205.
|
# Work around https://github.com/NixOS/nixpkgs/issues/166205.
|
||||||
|
@ -12,13 +12,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs:{
|
stdenv.mkDerivation (finalAttrs:{
|
||||||
pname = "wxmaxima";
|
pname = "wxmaxima";
|
||||||
version = "23.11.0";
|
version = "23.12.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "wxMaxima-developers";
|
owner = "wxMaxima-developers";
|
||||||
repo = "wxmaxima";
|
repo = "wxmaxima";
|
||||||
rev = "Version-${finalAttrs.version}";
|
rev = "Version-${finalAttrs.version}";
|
||||||
sha256 = "sha256-QOXRtWFY76aIvRPSN+i8jkvMZvuPO3Yr3yqFOh0PSXY=";
|
sha256 = "sha256-5MOj4loZsD1Fhy+D7V6ZL4QFyVkWyIaxTcHe7R2xypo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -10,13 +10,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "qjournalctl";
|
pname = "qjournalctl";
|
||||||
version = "0.6.3";
|
version = "0.6.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pentix";
|
owner = "pentix";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0j27cmfq29mwrbjfrrwi6m1grcamhbfhk47xzlfsx5wr2q9m6qkz";
|
sha256 = "sha256-anNNzqjbIaQI+MAwwMwzy6v4SKqi4u9F5IbFBErm4q8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "5.12.180";
|
version = "5.12.181";
|
||||||
in
|
in
|
||||||
rustPlatform.buildRustPackage {
|
rustPlatform.buildRustPackage {
|
||||||
pname = "git-mit";
|
pname = "git-mit";
|
||||||
@ -20,10 +20,10 @@ rustPlatform.buildRustPackage {
|
|||||||
owner = "PurpleBooth";
|
owner = "PurpleBooth";
|
||||||
repo = "git-mit";
|
repo = "git-mit";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-12ZMyKIar5ck4jr7PCmyrnGWd6iv9cCwvTGSLbOCl4o=";
|
hash = "sha256-XXVLYKicFcYNx33eElqlZcDNZgq4FnbwvYSshZwwHls=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-n2wsOJrQvMKI1mNYGxntz8hZt5adL3obSdIo4DqF1Fs=";
|
cargoHash = "sha256-PskRV+LfHjHK0WTwb9Lt2E2R9g+lyyEY7A1vvFLhPdw=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
|
@ -11,13 +11,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "git-quick-stats";
|
pname = "git-quick-stats";
|
||||||
version = "2.5.2";
|
version = "2.5.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
repo = "git-quick-stats";
|
repo = "git-quick-stats";
|
||||||
owner = "arzzen";
|
owner = "arzzen";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-ff8n8SkeppZzJO58OrPQJ0MInZCIz8nTb7lmiCC0ATg=";
|
sha256 = "sha256-Fh8FSaclxOkTr49HixjwoM/367RjtdQ4dRyw87KylPs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
@ -5,13 +5,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "droidcam";
|
pname = "droidcam";
|
||||||
version = "2.1.1";
|
version = "2.1.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "aramg";
|
owner = "aramg";
|
||||||
repo = "droidcam";
|
repo = "droidcam";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-NdVnls1DvcaI/bVrc5gN96+KQZDgt0M8zkNn93QJYG0=";
|
sha256 = "sha256-NZ6sKLE/Sq4VBJSf7iG0CgdVwmU8JXQH/utbobBEFi0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "cntr";
|
pname = "cntr";
|
||||||
version = "1.5.1";
|
version = "1.5.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Mic92";
|
owner = "Mic92";
|
||||||
repo = "cntr";
|
repo = "cntr";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-z+0bSxoLJTK4e5xS4CHZ2hNUI56Ci1gbWJsRcN6ZqZA=";
|
sha256 = "sha256-eDozoYN2iOFUY/w7Gjki4nnASyZo4V/YGPjdX2xjNGY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-3e5wDne6Idu+kDinHPcAKHfH/d4DrGg90GkiMbyF280=";
|
cargoHash = "sha256-UZrVZBdaiIrMajePKWXDZI+Z+nXTGadNKmoa3gdfzp4=";
|
||||||
|
|
||||||
passthru.tests = nixosTests.cntr;
|
passthru.tests = nixosTests.cntr;
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{ lib, stdenv, fetchurl, fetchpatch, python3Packages, zlib, pkg-config, glib, buildPackages
|
{ lib, stdenv, fetchurl, fetchpatch, python3Packages, zlib, pkg-config, glib, buildPackages
|
||||||
, pixman, vde2, alsa-lib, texinfo, flex
|
, pixman, vde2, alsa-lib, texinfo, flex
|
||||||
, bison, lzo, snappy, libaio, libtasn1, gnutls, nettle, curl, ninja, meson, sigtool
|
, bison, lzo, snappy, libaio, libtasn1, gnutls, nettle, curl, dtc, ninja, meson
|
||||||
|
, sigtool
|
||||||
, makeWrapper, removeReferencesTo
|
, makeWrapper, removeReferencesTo
|
||||||
, attr, libcap, libcap_ng, socat, libslirp
|
, attr, libcap, libcap_ng, socat, libslirp
|
||||||
, CoreServices, Cocoa, Hypervisor, rez, setfile, vmnet
|
, CoreServices, Cocoa, Hypervisor, rez, setfile, vmnet
|
||||||
@ -53,11 +54,11 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
+ lib.optionalString hostCpuOnly "-host-cpu-only"
|
+ lib.optionalString hostCpuOnly "-host-cpu-only"
|
||||||
+ lib.optionalString nixosTestRunner "-for-vm-tests"
|
+ lib.optionalString nixosTestRunner "-for-vm-tests"
|
||||||
+ lib.optionalString toolsOnly "-utils";
|
+ lib.optionalString toolsOnly "-utils";
|
||||||
version = "8.1.3";
|
version = "8.2.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.qemu.org/qemu-${finalAttrs.version}.tar.xz";
|
url = "https://download.qemu.org/qemu-${finalAttrs.version}.tar.xz";
|
||||||
hash = "sha256-Q8wXaAQQVYb3T5A5jzTp+FeH3/QA07ZA2B93efviZbs=";
|
hash = "sha256-vwDS+hIBDfiwrekzcd71jmMssypr/cX1oP+Oah+xvzI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
depsBuildBuild = [ buildPackages.stdenv.cc ]
|
depsBuildBuild = [ buildPackages.stdenv.cc ]
|
||||||
@ -65,7 +66,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
makeWrapper removeReferencesTo
|
makeWrapper removeReferencesTo
|
||||||
pkg-config flex bison meson ninja
|
pkg-config flex bison dtc meson ninja
|
||||||
|
|
||||||
# Don't change this to python3 and python3.pkgs.*, breaks cross-compilation
|
# Don't change this to python3 and python3.pkgs.*, breaks cross-compilation
|
||||||
python3Packages.python python3Packages.sphinx python3Packages.sphinx-rtd-theme
|
python3Packages.python python3Packages.sphinx python3Packages.sphinx-rtd-theme
|
||||||
|
@ -25,13 +25,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "cagebreak";
|
pname = "cagebreak";
|
||||||
version = "2.2.1";
|
version = "2.2.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "project-repo";
|
owner = "project-repo";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-cJEJ8V9lDbNb07eY3nWmNcT7ULGlcmOeyb9UDOLGWfI=";
|
hash = "sha256-ppNzc6ojxF9FkgsqSWBSbtmI9aRc+RGN1R1RQLwCtv0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -23,13 +23,13 @@
|
|||||||
}:
|
}:
|
||||||
stdenv.mkDerivation (self: {
|
stdenv.mkDerivation (self: {
|
||||||
pname = "xdg-desktop-portal-hyprland";
|
pname = "xdg-desktop-portal-hyprland";
|
||||||
version = "1.2.5";
|
version = "1.2.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hyprwm";
|
owner = "hyprwm";
|
||||||
repo = "xdg-desktop-portal-hyprland";
|
repo = "xdg-desktop-portal-hyprland";
|
||||||
rev = "v${self.version}";
|
rev = "v${self.version}";
|
||||||
hash = "sha256-X4o/mifI7Nhu0UKYlxx53wIC+gYDo3pVM9L2u3PE2bE=";
|
hash = "sha256-VRr5Xc4S/VPr/gU3fiOD3vSIL2+GJ+LUrmFTWTwnTz4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -6,16 +6,16 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "ast-grep";
|
pname = "ast-grep";
|
||||||
version = "0.14.4";
|
version = "0.15.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ast-grep";
|
owner = "ast-grep";
|
||||||
repo = "ast-grep";
|
repo = "ast-grep";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-TEuQ6Ng9DO2ueIvZkXKIE/gQ/v1wSyzQQRFT2Srxuxo=";
|
hash = "sha256-eoi0kZunU0Jvy5TGK1Whkluk06k6fnsL54dSRXQu1TM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-zg2N8yw9qviHd4EVzGakFpBzkKyzVfM/8FRXu24zL64=";
|
cargoHash = "sha256-xXOO3mOrAFhJuU3Zrpgys36q1sDikigDv4Ch8T8OVxY=";
|
||||||
|
|
||||||
# Work around https://github.com/NixOS/nixpkgs/issues/166205.
|
# Work around https://github.com/NixOS/nixpkgs/issues/166205.
|
||||||
env = lib.optionalAttrs stdenv.cc.isClang {
|
env = lib.optionalAttrs stdenv.cc.isClang {
|
||||||
|
@ -6,16 +6,16 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "cargo-swift";
|
pname = "cargo-swift";
|
||||||
version = "0.4.0";
|
version = "0.5.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "antoniusnaumann";
|
owner = "antoniusnaumann";
|
||||||
repo = "cargo-swift";
|
repo = "cargo-swift";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-dW0/h7uS0BEstiochACIySSKXsz+E6Tj5MaLtdin7gw=";
|
hash = "sha256-v7ZZ3tMM8KmRk6y3uSw8ZBEcByQ95XQv3XPTUtDGUQ0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-LsjDeKfAvgVYM4qYyWq9MoXB4jIh870urrFHpiGCGPc=";
|
cargoHash = "sha256-K3xZytJJ9/CaHWHL1fX0vKYpzH9yz3xOs2J5PoZWWv0=";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A cargo plugin to easily build Swift packages from Rust code";
|
description = "A cargo plugin to easily build Swift packages from Rust code";
|
||||||
|
31
pkgs/by-name/ca/cargo-typify/package.nix
Normal file
31
pkgs/by-name/ca/cargo-typify/package.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ lib, rustfmt, rustPlatform, fetchFromGitHub }:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "cargo-typify";
|
||||||
|
version = "0.0.14";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "oxidecomputer";
|
||||||
|
repo = "typify";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-Clwm5hRjPPPRB6xpO8YOGpqnyNFtsSMkPbWBY3etPCI=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoHash = "sha256-balx5xOtrWwMOFeGQkYQ2f+lcGMCJvdPqE8rH9adkfU=";
|
||||||
|
|
||||||
|
cargoBuildFlags = [ "-p" "cargo-typify" ];
|
||||||
|
|
||||||
|
nativeCheckInputs = [ rustfmt ];
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
# cargo-typify depends on rustfmt-wrapper, which requires RUSTFMT:
|
||||||
|
export RUSTFMT="${lib.getExe rustfmt}"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "JSON Schema to Rust type converter";
|
||||||
|
homepage = "https://github.com/oxidecomputer/typify";
|
||||||
|
license = with licenses; [ asl20 ];
|
||||||
|
maintainers = with maintainers; [ david-r-cox ];
|
||||||
|
};
|
||||||
|
}
|
33
pkgs/by-name/co/corrupter/package.nix
Normal file
33
pkgs/by-name/co/corrupter/package.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ lib
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
, nix-update-script
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule {
|
||||||
|
pname = "corrupter";
|
||||||
|
version = "1.0-unstable-2023-01-11";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "r00tman";
|
||||||
|
repo = "corrupter";
|
||||||
|
# https://github.com/r00tman/corrupter/issues/15
|
||||||
|
rev = "d7aecbb8b622a2c6fafe7baea5f718b46155be15";
|
||||||
|
hash = "sha256-GEia3wZqI/j7/dpBbL1SQLkOXZqEwanKGM4wY9nLIqE=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = null;
|
||||||
|
|
||||||
|
# There are no tests available for this package.
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Simple image glitcher suitable for producing lockscreens";
|
||||||
|
homepage = "https://github.com/r00tman/corrupter";
|
||||||
|
license = licenses.bsd2;
|
||||||
|
maintainers = [ maintainers.ivan770 ];
|
||||||
|
mainProgram = "corrupter";
|
||||||
|
};
|
||||||
|
}
|
@ -6,16 +6,16 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "eksctl";
|
pname = "eksctl";
|
||||||
version = "0.165.0";
|
version = "0.167.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "weaveworks";
|
owner = "weaveworks";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-Gx8HobnE7qAfX79ZSLaN8fki+TQYz6XLyxnoSpvFOyk=";
|
hash = "sha256-8CxXfjYN9i2AxuKeYmmYN0TQROGkurfmzbqU+aOMbTY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-niULedV/9r3PFI69AenGfk3oCTvKE/h6edjW5sgHg3Q=";
|
vendorHash = "sha256-cuLzn0OZ5VC+RWGsJ8DCdJN8wm0DrsjH55K/cnyuqB8=";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
@ -5,13 +5,13 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "flarectl";
|
pname = "flarectl";
|
||||||
version = "0.83.0";
|
version = "0.84.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "cloudflare";
|
owner = "cloudflare";
|
||||||
repo = "cloudflare-go";
|
repo = "cloudflare-go";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-TPUHSoot+Hsq71KcNXuJn5sHRuDn3J1FB3r/29Ce9/c=";
|
hash = "sha256-RHt5Hu3N7gJIg7daylBSr9p7Hb9eQQUK2CfC6q/pblM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-XziR/ZB0kva/sl2Tj+m0pdK5HxLW6osBXD00+m/y0cQ=";
|
vendorHash = "sha256-XziR/ZB0kva/sl2Tj+m0pdK5HxLW6osBXD00+m/y0cQ=";
|
||||||
|
@ -25,13 +25,13 @@ let
|
|||||||
pieBuild = stdenv.hostPlatform.isMusl;
|
pieBuild = stdenv.hostPlatform.isMusl;
|
||||||
in buildGoModule rec {
|
in buildGoModule rec {
|
||||||
pname = "frankenphp";
|
pname = "frankenphp";
|
||||||
version = "1.0.1";
|
version = "1.0.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "dunglas";
|
owner = "dunglas";
|
||||||
repo = "frankenphp";
|
repo = "frankenphp";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-FDOD/YA1f16mykrjbgNKw3H091xTCWteZEkEknmF6uM=";
|
hash = "sha256-iR47S52L2cMORE2MOzddFRDwlqaHAtB8dJs/UrufB0w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "source/caddy";
|
sourceRoot = "source/caddy";
|
||||||
@ -39,7 +39,7 @@ in buildGoModule rec {
|
|||||||
# frankenphp requires C code that would be removed with `go mod tidy`
|
# frankenphp requires C code that would be removed with `go mod tidy`
|
||||||
# https://github.com/golang/go/issues/26366
|
# https://github.com/golang/go/issues/26366
|
||||||
proxyVendor = true;
|
proxyVendor = true;
|
||||||
vendorHash = "sha256-cocLeZZ037LgvfYwFD1hIOlU0XARD9G1rh8B3/hK/ZQ=";
|
vendorHash = "sha256-ZkbhpY8+BSTSdzQGsvXUfTBdTPUvQ8tHjbnr0lYho5I=";
|
||||||
|
|
||||||
buildInputs = [ phpUnwrapped ] ++ phpUnwrapped.buildInputs;
|
buildInputs = [ phpUnwrapped ] ++ phpUnwrapped.buildInputs;
|
||||||
nativeBuildInputs = [ makeBinaryWrapper ] ++ lib.optionals stdenv.isDarwin [ pkg-config darwin.cctools darwin.autoSignDarwinBinariesHook ];
|
nativeBuildInputs = [ makeBinaryWrapper ] ++ lib.optionals stdenv.isDarwin [ pkg-config darwin.cctools darwin.autoSignDarwinBinariesHook ];
|
||||||
|
84
pkgs/by-name/gl/glide-media-player/package.nix
Normal file
84
pkgs/by-name/gl/glide-media-player/package.nix
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, rustPlatform
|
||||||
|
, pkg-config
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, rustc
|
||||||
|
, cargo
|
||||||
|
, wrapGAppsHook4
|
||||||
|
, python3
|
||||||
|
, libadwaita
|
||||||
|
, graphene
|
||||||
|
, gst_all_1
|
||||||
|
, glib-networking
|
||||||
|
, darwin
|
||||||
|
, libsoup_3
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "glide-media-player";
|
||||||
|
version = "0.6.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "philn";
|
||||||
|
repo = "glide";
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-dIXuWaoTeyVBhzr6VWxYBsn+CnUYG/KzhzNJtLLdRuI=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||||
|
inherit src;
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
hash = "sha256-azvxW40fuKuF/N0qwzofFk1bZiNxyTN6YBFU5qHQkCA=";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace scripts/meson_post_install.py \
|
||||||
|
--replace "gtk-update-icon-cache" "gtk4-update-icon-cache"
|
||||||
|
patchShebangs --build scripts/meson_post_install.py
|
||||||
|
'' + lib.optionalString stdenv.isDarwin ''
|
||||||
|
sed -i "/wayland,x11egl,x11glx/d" meson.build
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
rustPlatform.cargoSetupHook
|
||||||
|
rustc
|
||||||
|
cargo
|
||||||
|
wrapGAppsHook4
|
||||||
|
python3
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
libadwaita
|
||||||
|
graphene
|
||||||
|
gst_all_1.gstreamer
|
||||||
|
gst_all_1.gst-plugins-base
|
||||||
|
gst_all_1.gst-plugins-bad
|
||||||
|
gst_all_1.gst-plugins-good
|
||||||
|
glib-networking
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
darwin.apple_sdk_11_0.frameworks.IOKit
|
||||||
|
];
|
||||||
|
|
||||||
|
# FIXME: gst-plugins-good missing libsoup breaks streaming
|
||||||
|
# (https://github.com/nixos/nixpkgs/issues/271960)
|
||||||
|
preFixup = ''
|
||||||
|
gappsWrapperArgs+=(--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libsoup_3 ]}")
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Linux/macOS media player based on GStreamer and GTK";
|
||||||
|
homepage = "https://philn.github.io/glide";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ aleksana ];
|
||||||
|
mainProgram = "glide";
|
||||||
|
platforms = platforms.unix;
|
||||||
|
# error: could not find system library 'gstreamer-gl-1.0' required by the 'gstreamer-gl-sys' crate
|
||||||
|
broken = stdenv.isDarwin && stdenv.isx86_64;
|
||||||
|
};
|
||||||
|
}
|
@ -7,13 +7,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "KDSingleApplication";
|
pname = "KDSingleApplication";
|
||||||
version = "1.0.0";
|
version = "1.1.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "KDAB";
|
owner = "KDAB";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-5YprRbfiFI2UGMJqDf+3VDwXV904USEpMEpoNm0g7KY=";
|
hash = "sha256-Ymm+qOZMWULg7u5xEpGzcAfIrbWBQ3jsndnFSnh6/PA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
30
pkgs/by-name/mu/multirun/package.nix
Normal file
30
pkgs/by-name/mu/multirun/package.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, cmake
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "multirun";
|
||||||
|
version = "1.1.3";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "nicolas-van";
|
||||||
|
repo = "multirun";
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-I95nxZD65tHiok4MzsGG7gyaxPHbqQLuRWdHUPNhLu8=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A minimalist init process designed for Docker";
|
||||||
|
homepage = "https://github.com/nicolas-van/multirun";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ nickcao ];
|
||||||
|
mainProgram = "multirun";
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
30
pkgs/by-name/nl/nlohmann_json_schema_validator/package.nix
Normal file
30
pkgs/by-name/nl/nlohmann_json_schema_validator/package.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ stdenv
|
||||||
|
, lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, nlohmann_json
|
||||||
|
, cmake
|
||||||
|
}:
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "nlohmann_json_schema_validator";
|
||||||
|
version = "2.3.0";
|
||||||
|
|
||||||
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "pboettch";
|
||||||
|
repo = "json-schema-validator";
|
||||||
|
rev = finalAttrs.version;
|
||||||
|
hash = "sha256-Ybr5dNmjBBPTYPvgorJ6t2+zvAjxYQISWXJmgUVHBVE=";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ nlohmann_json ];
|
||||||
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "JSON schema validator for JSON for Modern C++";
|
||||||
|
homepage = "https://github.com/pboettch/json-schema-validator";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
maintainers = with lib.maintainers; [ br337 ];
|
||||||
|
platforms = lib.platforms.all;
|
||||||
|
};
|
||||||
|
})
|
@ -22,5 +22,6 @@ buildGoModule rec {
|
|||||||
changelog = "https://github.com/williambailey/pacproxy/releases/tag/v${version}";
|
changelog = "https://github.com/williambailey/pacproxy/releases/tag/v${version}";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ terlar ];
|
maintainers = with maintainers; [ terlar ];
|
||||||
|
mainProgram = "pacproxy";
|
||||||
};
|
};
|
||||||
}
|
}
|
53
pkgs/by-name/qu/quickjs-ng/package.nix
Normal file
53
pkgs/by-name/qu/quickjs-ng/package.nix
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, cmake
|
||||||
|
, fetchFromGitHub
|
||||||
|
, testers
|
||||||
|
, texinfo
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "quickjs-ng";
|
||||||
|
version = "0.3.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "quickjs-ng";
|
||||||
|
repo = "quickjs";
|
||||||
|
rev = "v${finalAttrs.version}";
|
||||||
|
hash = "sha256-4nFc9xdxrfRWeOY9VNQAI4Ph7G1GMnw06XZiO6xA72o=";
|
||||||
|
};
|
||||||
|
|
||||||
|
outputs = [ "bin" "out" "dev" "doc" "info" ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
texinfo
|
||||||
|
];
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DBUILD_SHARED_LIBS=ON"
|
||||||
|
(lib.cmakeBool "BUILD_STATIC_QJS_EXE" stdenv.hostPlatform.isStatic)
|
||||||
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
(cd ../doc
|
||||||
|
makeinfo --output quickjs.info quickjs.texi
|
||||||
|
install -Dt $info/share/info/ quickjs.info)
|
||||||
|
'';
|
||||||
|
|
||||||
|
passthru.tests = {
|
||||||
|
version = testers.testVersion {
|
||||||
|
package = finalAttrs.finalPackage;
|
||||||
|
command = "qjs --help || true";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A mighty JavaScript engine";
|
||||||
|
homepage = "https://github.com/quickjs-ng/quickjs";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ marsam ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
mainProgram = "qjs";
|
||||||
|
};
|
||||||
|
})
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "scalingo";
|
pname = "scalingo";
|
||||||
version = "1.29.1";
|
version = "1.30.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = "cli";
|
repo = "cli";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-xBf+LIwlpauJd/0xJIQdfEa0rxph3BJPuMY4+0s+Bb4=";
|
hash = "sha256-vgkVxQK18RBIhhL9gyuH9kmCueJFDZByhy0FE4JuVO8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = null;
|
vendorHash = null;
|
||||||
|
43
pkgs/by-name/ti/tigerbeetle/package.nix
Normal file
43
pkgs/by-name/ti/tigerbeetle/package.nix
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, zig_0_11
|
||||||
|
, testers
|
||||||
|
, tigerbeetle
|
||||||
|
, nix-update-script
|
||||||
|
}:
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "tigerbeetle";
|
||||||
|
version = "0.14.171";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "tigerbeetle";
|
||||||
|
repo = "tigerbeetle";
|
||||||
|
rev = "refs/tags/${finalAttrs.version}";
|
||||||
|
hash = "sha256-MjsNQarRXsrWKJZ2aBi/Wc2HAYm3isLBNw81a75+nhc=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ zig_0_11.hook ];
|
||||||
|
|
||||||
|
zigBuildFlags = [
|
||||||
|
"-Dgit-commit=0000000000000000000000000000000000000000"
|
||||||
|
"-Dversion=${finalAttrs.version}"
|
||||||
|
];
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
tests.version = testers.testVersion {
|
||||||
|
package = tigerbeetle;
|
||||||
|
command = "tigerbeetle version";
|
||||||
|
};
|
||||||
|
updateScript = nix-update-script { };
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://tigerbeetle.com/";
|
||||||
|
description = "A financial accounting database designed to be distributed and fast";
|
||||||
|
license = lib.licenses.asl20;
|
||||||
|
maintainers = with lib.maintainers; [ danielsidhion ];
|
||||||
|
platforms = lib.platforms.unix;
|
||||||
|
mainProgram = "tigerbeetle";
|
||||||
|
};
|
||||||
|
})
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenvNoCC.mkDerivation rec {
|
stdenvNoCC.mkDerivation rec {
|
||||||
pname = "spleen";
|
pname = "spleen";
|
||||||
version = "2.0.1";
|
version = "2.0.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/fcambus/spleen/releases/download/${version}/spleen-${version}.tar.gz";
|
url = "https://github.com/fcambus/spleen/releases/download/${version}/spleen-${version}.tar.gz";
|
||||||
hash = "sha256-N9kJrWaQN9eeNoOVJu9UN2+jcEbHqRWxV+X0DXNJLuA=";
|
hash = "sha256-+TDrAolKoG61CuqqELAEICVNcjIPoow6QPFXqMKUN1U=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ xorg.mkfontscale ];
|
nativeBuildInputs = [ xorg.mkfontscale ];
|
||||||
|
@ -1,30 +1,30 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, mkXfceDerivation
|
, mkXfceDerivation
|
||||||
|
, cairo
|
||||||
, glib
|
, glib
|
||||||
, gtk3
|
, gtk3
|
||||||
|
, libX11
|
||||||
, libxfce4ui
|
, libxfce4ui
|
||||||
, libxfce4util
|
, libxfce4util
|
||||||
, xfce4-panel
|
, xfce4-panel
|
||||||
, xfconf
|
|
||||||
, libwnck
|
, libwnck
|
||||||
, exo
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkXfceDerivation {
|
mkXfceDerivation {
|
||||||
category = "panel-plugins";
|
category = "panel-plugins";
|
||||||
pname = "xfce4-docklike-plugin";
|
pname = "xfce4-docklike-plugin";
|
||||||
version = "0.4.1";
|
version = "0.4.2";
|
||||||
sha256 = "sha256-BKxd2TFEbRHeFy/dC2Wx5ppErsi7d2m7JicFCcZbjTo=";
|
sha256 = "sha256-M/V8cnEU/nSEDjQ3k8fWiklF5OuNg3uzzJMHBSZBiLU=";
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
cairo
|
||||||
glib
|
glib
|
||||||
gtk3
|
gtk3
|
||||||
|
libX11
|
||||||
libxfce4ui
|
libxfce4ui
|
||||||
libxfce4util
|
libxfce4util
|
||||||
xfce4-panel
|
xfce4-panel
|
||||||
xfconf
|
|
||||||
libwnck
|
libwnck
|
||||||
exo
|
|
||||||
];
|
];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
||||||
|
@ -14,12 +14,12 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "fbc";
|
pname = "fbc";
|
||||||
version = "1.10.0";
|
version = "1.10.1";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
# Bootstrap tarball has sources pretranslated from FreeBASIC to C
|
# Bootstrap tarball has sources pretranslated from FreeBASIC to C
|
||||||
url = "https://github.com/freebasic/fbc/releases/download/${version}/FreeBASIC-${version}-source-bootstrap.tar.xz";
|
url = "https://github.com/freebasic/fbc/releases/download/${version}/FreeBASIC-${version}-source-bootstrap.tar.xz";
|
||||||
hash = "sha256-7FmyEfykOAgHaL2AG8zIgftzOszhwVzNKEqskiLGpfk=";
|
hash = "sha256-LBROv3m1DrEfSStMbNuLC+fldYNfSS+D09bJyNMNPP0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "kotlin";
|
pname = "kotlin";
|
||||||
version = "1.9.20";
|
version = "1.9.22";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/JetBrains/kotlin/releases/download/v${version}/kotlin-compiler-${version}.zip";
|
url = "https://github.com/JetBrains/kotlin/releases/download/v${version}/kotlin-compiler-${version}.zip";
|
||||||
sha256 = "sha256-Faiiglt0zPbETgTpdnLbgC0t91zi+7Y+8FOb865QBvA=";
|
sha256 = "1rn3rabwyqqhs6xgyfwl326hrzpfpc3qqd2nzwbchck5a09r5cw8";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ jre ] ;
|
propagatedBuildInputs = [ jre ] ;
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "kotlin-native";
|
pname = "kotlin-native";
|
||||||
version = "1.9.20";
|
version = "1.9.22";
|
||||||
|
|
||||||
src = let
|
src = let
|
||||||
getArch = {
|
getArch = {
|
||||||
@ -20,9 +20,9 @@ stdenv.mkDerivation rec {
|
|||||||
"https://github.com/JetBrains/kotlin/releases/download/v${version}/kotlin-native-${arch}-${version}.tar.gz";
|
"https://github.com/JetBrains/kotlin/releases/download/v${version}/kotlin-native-${arch}-${version}.tar.gz";
|
||||||
|
|
||||||
getHash = arch: {
|
getHash = arch: {
|
||||||
"macos-aarch64" = "sha256-Yw6IO8pj0C9XHfzVshcovkoFBUXJ3KixhGoybBRFL2U=";
|
"macos-aarch64" = "1pf81rplikbp194pjrm2la101iz8vz3jv55109nipd26xghc15ca";
|
||||||
"macos-x86_64" = "sha256-mnDi8dMCDzGsdPdD1dw4YMBxAfo5FvwDJVU/ew70z9U=";
|
"macos-x86_64" = "1r7dmk8cc7f3iwaxamlnlcjl4mbvx443nwvsp8141a21ibrvrmx9";
|
||||||
"linux-x86_64" = "sha256-faMuBYUG5qj0N4vg5EcfWIC3UjXiPhFJuikzXVgNsjw=";
|
"linux-x86_64" = "1m77qld44gbarjxm99gsdscncx4v0cf6ca3h9bdh2m7d3i4adc62";
|
||||||
}.${arch};
|
}.${arch};
|
||||||
in
|
in
|
||||||
fetchurl {
|
fetchurl {
|
||||||
|
@ -47,15 +47,25 @@ attrsets.filterAttrs (attr: _: (builtins.hasAttr attr prev)) {
|
|||||||
allowFHSReferences = false;
|
allowFHSReferences = false;
|
||||||
|
|
||||||
# The libcuda stub's pkg-config doesn't follow the general pattern:
|
# The libcuda stub's pkg-config doesn't follow the general pattern:
|
||||||
postPatch = prevAttrs.postPatch or "" + ''
|
postPatch =
|
||||||
while IFS= read -r -d $'\0' path ; do
|
prevAttrs.postPatch or ""
|
||||||
sed -i \
|
+ ''
|
||||||
-e "s|^libdir\s*=.*/lib\$|libdir=''${!outputLib}/lib/stubs|" \
|
while IFS= read -r -d $'\0' path ; do
|
||||||
-e "s|^Libs\s*:\(.*\)\$|Libs: \1 -Wl,-rpath,${addDriverRunpath.driverLink}/lib|" \
|
sed -i \
|
||||||
"$path"
|
-e "s|^libdir\s*=.*/lib\$|libdir=''${!outputLib}/lib/stubs|" \
|
||||||
done < <(find -iname 'cuda-*.pc' -print0)
|
-e "s|^Libs\s*:\(.*\)\$|Libs: \1 -Wl,-rpath,${addDriverRunpath.driverLink}/lib|" \
|
||||||
'';
|
"$path"
|
||||||
});
|
done < <(find -iname 'cuda-*.pc' -print0)
|
||||||
|
''
|
||||||
|
+ ''
|
||||||
|
# Namelink may not be enough, add a soname.
|
||||||
|
# Cf. https://gitlab.kitware.com/cmake/cmake/-/issues/25536
|
||||||
|
if [[ -f lib/stubs/libcuda.so && ! -f lib/stubs/libcuda.so.1 ]] ; then
|
||||||
|
ln -s libcuda.so lib/stubs/libcuda.so.1
|
||||||
|
fi
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
cuda_compat = prev.cuda_compat.overrideAttrs (
|
cuda_compat = prev.cuda_compat.overrideAttrs (
|
||||||
prevAttrs: {
|
prevAttrs: {
|
||||||
@ -77,7 +87,7 @@ attrsets.filterAttrs (attr: _: (builtins.hasAttr attr prev)) {
|
|||||||
cuda_nvcc = prev.cuda_nvcc.overrideAttrs (
|
cuda_nvcc = prev.cuda_nvcc.overrideAttrs (
|
||||||
oldAttrs: {
|
oldAttrs: {
|
||||||
|
|
||||||
outputs = oldAttrs.outputs ++ [ "lib" ];
|
outputs = oldAttrs.outputs ++ lists.optionals (!(builtins.elem "lib" oldAttrs.outputs)) [ "lib" ];
|
||||||
|
|
||||||
# Patch the nvcc.profile.
|
# Patch the nvcc.profile.
|
||||||
# Syntax:
|
# Syntax:
|
||||||
|
@ -143,7 +143,7 @@ let
|
|||||||
else if nixSystem == "x86_64-windows" then
|
else if nixSystem == "x86_64-windows" then
|
||||||
"windows-x86_64"
|
"windows-x86_64"
|
||||||
else
|
else
|
||||||
builtins.throw "Unsupported Nix system: ${nixSystem}";
|
"unsupported";
|
||||||
|
|
||||||
# Maps NVIDIA redist arch to Nix system.
|
# Maps NVIDIA redist arch to Nix system.
|
||||||
# It is imperative that we include the boolean condition based on jetsonTargets to ensure
|
# It is imperative that we include the boolean condition based on jetsonTargets to ensure
|
||||||
@ -163,7 +163,7 @@ let
|
|||||||
else if redistArch == "windows-x86_64" then
|
else if redistArch == "windows-x86_64" then
|
||||||
"x86_64-windows"
|
"x86_64-windows"
|
||||||
else
|
else
|
||||||
builtins.throw "Unsupported NVIDIA redist arch: ${redistArch}";
|
"unsupported-${redistArch}";
|
||||||
|
|
||||||
formatCapabilities =
|
formatCapabilities =
|
||||||
{
|
{
|
||||||
@ -175,9 +175,10 @@ let
|
|||||||
|
|
||||||
# archNames :: List String
|
# archNames :: List String
|
||||||
# E.g. [ "Turing" "Ampere" ]
|
# E.g. [ "Turing" "Ampere" ]
|
||||||
|
#
|
||||||
|
# Unknown architectures are rendered as sm_XX gencode flags.
|
||||||
archNames = lists.unique (
|
archNames = lists.unique (
|
||||||
lists.map (cap: cudaComputeCapabilityToName.${cap} or (throw "missing cuda compute capability"))
|
lists.map (cap: cudaComputeCapabilityToName.${cap} or "sm_${dropDot cap}") cudaCapabilities
|
||||||
cudaCapabilities
|
|
||||||
);
|
);
|
||||||
|
|
||||||
# realArches :: List String
|
# realArches :: List String
|
||||||
|
@ -77,7 +77,7 @@ backendStdenv.mkDerivation (
|
|||||||
false
|
false
|
||||||
featureRelease;
|
featureRelease;
|
||||||
# Order is important here so we use a list.
|
# Order is important here so we use a list.
|
||||||
additionalOutputs = builtins.filter hasOutput [
|
possibleOutputs = [
|
||||||
"bin"
|
"bin"
|
||||||
"lib"
|
"lib"
|
||||||
"static"
|
"static"
|
||||||
@ -86,8 +86,10 @@ backendStdenv.mkDerivation (
|
|||||||
"sample"
|
"sample"
|
||||||
"python"
|
"python"
|
||||||
];
|
];
|
||||||
|
additionalOutputs =
|
||||||
|
if redistArch == "unsupported" then possibleOutputs else builtins.filter hasOutput possibleOutputs;
|
||||||
# The out output is special -- it's the default output and we always include it.
|
# The out output is special -- it's the default output and we always include it.
|
||||||
outputs = ["out"] ++ additionalOutputs;
|
outputs = [ "out" ] ++ additionalOutputs;
|
||||||
in
|
in
|
||||||
outputs;
|
outputs;
|
||||||
|
|
||||||
@ -115,10 +117,14 @@ backendStdenv.mkDerivation (
|
|||||||
brokenConditions = {};
|
brokenConditions = {};
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://developer.download.nvidia.com/compute/${redistName}/redist/${
|
url =
|
||||||
redistribRelease.${redistArch}.relative_path
|
if (builtins.hasAttr redistArch redistribRelease) then
|
||||||
}";
|
"https://developer.download.nvidia.com/compute/${redistName}/redist/${
|
||||||
inherit (redistribRelease.${redistArch}) sha256;
|
redistribRelease.${redistArch}.relative_path
|
||||||
|
}"
|
||||||
|
else
|
||||||
|
"cannot-construct-an-url-for-the-${redistArch}-platform";
|
||||||
|
sha256 = redistribRelease.${redistArch}.sha256 or lib.fakeHash;
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -283,9 +289,9 @@ backendStdenv.mkDerivation (
|
|||||||
(
|
(
|
||||||
redistArch:
|
redistArch:
|
||||||
let
|
let
|
||||||
nixSystem = builtins.tryEval (flags.getNixSystem redistArch);
|
nixSystem = flags.getNixSystem redistArch;
|
||||||
in
|
in
|
||||||
if nixSystem.success then [nixSystem.value] else []
|
lists.optionals (!(strings.hasPrefix "unsupported-" nixSystem)) [ nixSystem ]
|
||||||
)
|
)
|
||||||
supportedRedistArchs;
|
supportedRedistArchs;
|
||||||
broken = lists.any trivial.id (attrsets.attrValues finalAttrs.brokenConditions);
|
broken = lists.any trivial.id (attrsets.attrValues finalAttrs.brokenConditions);
|
||||||
|
@ -59,9 +59,12 @@ let
|
|||||||
# - Releases: ../modules/${pname}/releases/releases.nix
|
# - Releases: ../modules/${pname}/releases/releases.nix
|
||||||
# - Package: ../modules/${pname}/releases/package.nix
|
# - Package: ../modules/${pname}/releases/package.nix
|
||||||
|
|
||||||
|
# FIXME: do this at the module system level
|
||||||
|
propagatePlatforms = lib.mapAttrs (platform: subset: map (r: r // { inherit platform; }) subset);
|
||||||
|
|
||||||
# All releases across all platforms
|
# All releases across all platforms
|
||||||
# See ../modules/${pname}/releases/releases.nix
|
# See ../modules/${pname}/releases/releases.nix
|
||||||
allReleases = evaluatedModules.config.${pname}.releases;
|
releaseSets = propagatePlatforms evaluatedModules.config.${pname}.releases;
|
||||||
|
|
||||||
# Compute versioned attribute name to be used in this package set
|
# Compute versioned attribute name to be used in this package set
|
||||||
# Patch version changes should not break the build, so we only use major and minor
|
# Patch version changes should not break the build, so we only use major and minor
|
||||||
@ -72,20 +75,22 @@ let
|
|||||||
# isSupported :: Package -> Bool
|
# isSupported :: Package -> Bool
|
||||||
isSupported =
|
isSupported =
|
||||||
package:
|
package:
|
||||||
strings.versionAtLeast cudaVersion package.minCudaVersion
|
!(strings.hasPrefix "unsupported" package.platform)
|
||||||
|
&& strings.versionAtLeast cudaVersion package.minCudaVersion
|
||||||
&& strings.versionAtLeast package.maxCudaVersion cudaVersion;
|
&& strings.versionAtLeast package.maxCudaVersion cudaVersion;
|
||||||
|
|
||||||
# Get all of the packages for our given platform.
|
# Get all of the packages for our given platform.
|
||||||
redistArch = flags.getRedistArch hostPlatform.system;
|
redistArch = flags.getRedistArch hostPlatform.system;
|
||||||
|
|
||||||
|
allReleases = builtins.concatMap (xs: xs) (builtins.attrValues releaseSets);
|
||||||
|
|
||||||
# All the supported packages we can build for our platform.
|
# All the supported packages we can build for our platform.
|
||||||
# supportedPackages :: List (AttrSet Packages)
|
# perSystemReleases :: List Package
|
||||||
supportedPackages = builtins.filter isSupported (allReleases.${redistArch} or []);
|
perSystemReleases = releaseSets.${redistArch} or [ ];
|
||||||
|
|
||||||
# newestToOldestSupportedPackage :: List (AttrSet Packages)
|
preferable =
|
||||||
newestToOldestSupportedPackage = lists.reverseList supportedPackages;
|
p1: p2: (isSupported p2 -> isSupported p1) && (strings.versionAtLeast p1.version p2.version);
|
||||||
|
newest = builtins.head (builtins.sort preferable allReleases);
|
||||||
nameOfNewest = computeName (builtins.head newestToOldestSupportedPackage);
|
|
||||||
|
|
||||||
# A function which takes the `final` overlay and the `package` being built and returns
|
# A function which takes the `final` overlay and the `package` being built and returns
|
||||||
# a function to be consumed via `overrideAttrs`.
|
# a function to be consumed via `overrideAttrs`.
|
||||||
@ -120,11 +125,9 @@ let
|
|||||||
attrsets.nameValuePair name fixedDrv;
|
attrsets.nameValuePair name fixedDrv;
|
||||||
|
|
||||||
# versionedDerivations :: AttrSet Derivation
|
# versionedDerivations :: AttrSet Derivation
|
||||||
versionedDerivations = builtins.listToAttrs (lists.map buildPackage newestToOldestSupportedPackage);
|
versionedDerivations = builtins.listToAttrs (lists.map buildPackage perSystemReleases);
|
||||||
|
|
||||||
defaultDerivation = attrsets.optionalAttrs (versionedDerivations != {}) {
|
defaultDerivation = { ${pname} = (buildPackage newest).value; };
|
||||||
${pname} = versionedDerivations.${nameOfNewest};
|
|
||||||
};
|
|
||||||
in
|
in
|
||||||
versionedDerivations // defaultDerivation;
|
versionedDerivations // defaultDerivation;
|
||||||
in
|
in
|
||||||
|
@ -16,6 +16,13 @@ let
|
|||||||
strings
|
strings
|
||||||
versions
|
versions
|
||||||
;
|
;
|
||||||
|
targetArch =
|
||||||
|
if hostPlatform.isx86_64 then
|
||||||
|
"x86_64-linux-gnu"
|
||||||
|
else if hostPlatform.isAarch64 then
|
||||||
|
"aarch64-linux-gnu"
|
||||||
|
else
|
||||||
|
"unsupported";
|
||||||
in
|
in
|
||||||
finalAttrs: prevAttrs: {
|
finalAttrs: prevAttrs: {
|
||||||
# Useful for inspecting why something went wrong.
|
# Useful for inspecting why something went wrong.
|
||||||
@ -58,18 +65,9 @@ finalAttrs: prevAttrs: {
|
|||||||
# We need to look inside the extracted output to get the files we need.
|
# We need to look inside the extracted output to get the files we need.
|
||||||
sourceRoot = "TensorRT-${finalAttrs.version}";
|
sourceRoot = "TensorRT-${finalAttrs.version}";
|
||||||
|
|
||||||
buildInputs = prevAttrs.buildInputs ++ [finalAttrs.passthru.cudnn.lib];
|
buildInputs = prevAttrs.buildInputs ++ [ finalAttrs.passthru.cudnn.lib ];
|
||||||
|
|
||||||
preInstall =
|
preInstall =
|
||||||
let
|
|
||||||
targetArch =
|
|
||||||
if hostPlatform.isx86_64 then
|
|
||||||
"x86_64-linux-gnu"
|
|
||||||
else if hostPlatform.isAarch64 then
|
|
||||||
"aarch64-linux-gnu"
|
|
||||||
else
|
|
||||||
throw "Unsupported architecture";
|
|
||||||
in
|
|
||||||
(prevAttrs.preInstall or "")
|
(prevAttrs.preInstall or "")
|
||||||
+ ''
|
+ ''
|
||||||
# Replace symlinks to bin and lib with the actual directories from targets.
|
# Replace symlinks to bin and lib with the actual directories from targets.
|
||||||
@ -107,6 +105,9 @@ finalAttrs: prevAttrs: {
|
|||||||
};
|
};
|
||||||
|
|
||||||
meta = prevAttrs.meta // {
|
meta = prevAttrs.meta // {
|
||||||
|
badPlatforms =
|
||||||
|
prevAttrs.meta.badPlatforms or [ ]
|
||||||
|
++ lib.optionals (targetArch == "unsupported") [ hostPlatform.system ];
|
||||||
homepage = "https://developer.nvidia.com/tensorrt";
|
homepage = "https://developer.nvidia.com/tensorrt";
|
||||||
maintainers = prevAttrs.meta.maintainers ++ [maintainers.aidalgol];
|
maintainers = prevAttrs.meta.maintainers ++ [maintainers.aidalgol];
|
||||||
};
|
};
|
||||||
|
@ -10,13 +10,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "fastcdr";
|
pname = "fastcdr";
|
||||||
version = "1.1.1";
|
version = "2.1.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "eProsima";
|
owner = "eProsima";
|
||||||
repo = "Fast-CDR";
|
repo = "Fast-CDR";
|
||||||
rev = "v${finalAttrs.version}";
|
rev = "v${finalAttrs.version}";
|
||||||
hash = "sha256-ZJQnm3JN56y2v/XIShfZxkEEu1AKMJxt8wpRqSn9HWk=";
|
hash = "sha256-rdRn/vRcZuej7buyb1K6f+9A4oLSodNw3pwefjsUXHA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -8,11 +8,11 @@ assert odbcSupport -> unixODBC != null;
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "freetds";
|
pname = "freetds";
|
||||||
version = "1.4.8";
|
version = "1.4.10";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.freetds.org/files/stable/${pname}-${version}.tar.bz2";
|
url = "https://www.freetds.org/files/stable/${pname}-${version}.tar.bz2";
|
||||||
hash = "sha256-KzXaLxxmxUrE9uQD2zpKuYOhLpi4a7xMgiZxaf+Tq2k=";
|
hash = "sha256-x+ryJr3LHNwbIhaWUyzNJfTk53VCZaKXd6NAAIS95pg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -7,13 +7,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "httplib";
|
pname = "httplib";
|
||||||
version = "0.14.2";
|
version = "0.14.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "yhirose";
|
owner = "yhirose";
|
||||||
repo = "cpp-httplib";
|
repo = "cpp-httplib";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-JfxeXHo34MKtAkMO3pNWiPorh3f8s4SVrdAaydVYdrY=";
|
hash = "sha256-53EBZTpz0INtjVSmjvg7XOQf0Bs2ADVe2//+nK6xRyE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
@ -1,62 +1,53 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchurl
|
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, cargo
|
, cargo
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, dtc
|
|
||||||
, glibc
|
, glibc
|
||||||
, openssl
|
, openssl
|
||||||
, libiconv
|
|
||||||
, libkrunfw
|
, libkrunfw
|
||||||
, rustc
|
, rustc
|
||||||
, Hypervisor
|
|
||||||
, sevVariant ? false
|
, sevVariant ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libkrun";
|
pname = "libkrun";
|
||||||
version = "1.5.1";
|
version = "1.7.2";
|
||||||
|
|
||||||
src = if stdenv.isLinux then fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "containers";
|
owner = "containers";
|
||||||
repo = pname;
|
repo = "libkrun";
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-N9AkG+zkjQHNaaCVrEpMfWUN9bQNHjMA2xi5NUulF5A=";
|
hash = "sha256-cP+Pxl/9QIsoGysXTBZJ86q57cIMA7TJenMWtcOI+Y4=";
|
||||||
} else fetchurl {
|
|
||||||
url = "https://github.com/containers/libkrun/releases/download/v${version}/v${version}-with_macos_prebuilts.tar.gz";
|
|
||||||
hash = "sha256-8hPbnZtDbiVdwBrtxt4nZ/QA2OFtui2VsQlaoOmWybo=";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||||
inherit src;
|
inherit pname version src;
|
||||||
hash = "sha256-nbtp7FP+ObVGfDOEzTt4Z7TZwcNlREczTKIAXGSflZU=";
|
hash = "sha256-qVyHC015QJEt6LZ8br3H0nucYKhYGBMtyB2IBaixTqk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
rustPlatform.cargoSetupHook
|
rustPlatform.cargoSetupHook
|
||||||
cargo
|
cargo
|
||||||
rustc
|
rustc
|
||||||
] ++ lib.optional sevVariant pkg-config;
|
] ++ lib.optionals sevVariant [
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
(libkrunfw.override { inherit sevVariant; })
|
(libkrunfw.override { inherit sevVariant; })
|
||||||
] ++ lib.optionals stdenv.isLinux [
|
|
||||||
glibc
|
glibc
|
||||||
glibc.static
|
glibc.static
|
||||||
] ++ lib.optionals stdenv.isDarwin [
|
] ++ lib.optionals sevVariant [
|
||||||
libiconv
|
openssl
|
||||||
Hypervisor
|
];
|
||||||
dtc
|
|
||||||
] ++ lib.optional sevVariant openssl;
|
|
||||||
|
|
||||||
makeFlags = [ "PREFIX=${placeholder "out"}" ]
|
makeFlags = [
|
||||||
++ lib.optional sevVariant "SEV=1";
|
"PREFIX=${placeholder "out"}"
|
||||||
|
] ++ lib.optionals sevVariant [
|
||||||
postFixup = lib.optionalString stdenv.isDarwin ''
|
"SEV=1"
|
||||||
install_name_tool -id $out/lib/libkrun.dylib $out/lib/libkrun.${version}.dylib
|
];
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A dynamic library providing Virtualization-based process isolation capabilities";
|
description = "A dynamic library providing Virtualization-based process isolation capabilities";
|
||||||
@ -64,6 +55,5 @@ stdenv.mkDerivation rec {
|
|||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ nickcao ];
|
maintainers = with maintainers; [ nickcao ];
|
||||||
platforms = libkrunfw.meta.platforms;
|
platforms = libkrunfw.meta.platforms;
|
||||||
sourceProvenance = with sourceTypes; lib.optionals stdenv.isDarwin [ binaryNativeCode ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -10,39 +10,44 @@
|
|||||||
, sevVariant ? false
|
, sevVariant ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert sevVariant -> stdenv.isx86_64;
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libkrunfw";
|
pname = "libkrunfw";
|
||||||
version = "3.11.0";
|
version = "4.0.0";
|
||||||
|
|
||||||
src = if stdenv.isLinux then fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "containers";
|
owner = "containers";
|
||||||
repo = pname;
|
repo = "libkrunfw";
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-p5z3Dc7o/Ja3K0VlOWIPc0qOIU5p+JSxWe7QiVQNkjs=";
|
hash = "sha256-9oVl4mlJE7QHeehG86pbh7KdShZNUGwlnO75k/F/PQ0=";
|
||||||
} else fetchurl {
|
|
||||||
url = "https://github.com/containers/libkrunfw/releases/download/v${version}/v${version}-with_macos_prebuilts.tar.gz";
|
|
||||||
hash = "sha256-XcdsK8L5NwMgelSMhE2YKYxaAin/3p/+GrljGGZpK5Y=";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
kernelSrc = fetchurl {
|
kernelSrc = fetchurl {
|
||||||
url = "https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.2.9.tar.xz";
|
url = "https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.4.7.tar.xz";
|
||||||
hash = "sha256-kDRJwWTAPw50KqzJIOGFY1heB6KMbLeeD9bDZpX9Q/U=";
|
hash = "sha256-3hQ8th3Kp1bAX1b/NRRDFtgQYVgZUYoz40dU8GTEp9g=";
|
||||||
};
|
};
|
||||||
|
|
||||||
preBuild = ''
|
postPatch = ''
|
||||||
substituteInPlace Makefile \
|
substituteInPlace Makefile \
|
||||||
--replace 'curl $(KERNEL_REMOTE) -o $(KERNEL_TARBALL)' 'ln -s $(kernelSrc) $(KERNEL_TARBALL)' \
|
--replace 'curl $(KERNEL_REMOTE) -o $(KERNEL_TARBALL)' 'ln -s $(kernelSrc) $(KERNEL_TARBALL)'
|
||||||
--replace 'gcc' '$(CC)'
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ flex bison bc python3 python3.pkgs.pyelftools ];
|
nativeBuildInputs = [
|
||||||
buildInputs = lib.optionals stdenv.isLinux [ elfutils ];
|
flex
|
||||||
|
bison
|
||||||
|
bc
|
||||||
|
python3
|
||||||
|
python3.pkgs.pyelftools
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
elfutils
|
||||||
|
];
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
"PREFIX=${placeholder "out"}"
|
"PREFIX=${placeholder "out"}"
|
||||||
"SONAME_Darwin=-Wl,-install_name,${placeholder "out"}/lib/libkrunfw.dylib"
|
] ++ lib.optionals sevVariant [
|
||||||
] ++ lib.optional sevVariant "SEV=1";
|
"SEV=1"
|
||||||
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
@ -51,7 +56,6 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = "https://github.com/containers/libkrunfw";
|
homepage = "https://github.com/containers/libkrunfw";
|
||||||
license = with licenses; [ lgpl2Only lgpl21Only ];
|
license = with licenses; [ lgpl2Only lgpl21Only ];
|
||||||
maintainers = with maintainers; [ nickcao ];
|
maintainers = with maintainers; [ nickcao ];
|
||||||
platforms = [ "x86_64-linux" "aarch64-darwin" ];
|
platforms = [ "x86_64-linux" ];
|
||||||
sourceProvenance = with sourceTypes; lib.optionals stdenv.isDarwin [ binaryNativeCode ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -62,6 +62,8 @@ stdenv.mkDerivation rec {
|
|||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
# use empty inc file instead of a from linux kernel generated one
|
# use empty inc file instead of a from linux kernel generated one
|
||||||
touch lib/lirc/input_map.inc
|
touch lib/lirc/input_map.inc
|
||||||
|
|
||||||
|
export PKGCONFIG="$PKG_CONFIG"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
@ -21,13 +21,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "opendht";
|
pname = "opendht";
|
||||||
version = "2.5.5";
|
version = "3.1.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "savoirfairelinux";
|
owner = "savoirfairelinux";
|
||||||
repo = "opendht";
|
repo = "opendht";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-OXLVuyPFlo7VD8f9wAN71p4PZpfM2ISq9UoUiAYEXUQ=";
|
hash = "sha256-KtsQ25uStmlf7RZLAcabhPMyGbxKxvpR6Vm632+EBvw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -37,6 +37,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
asio
|
asio
|
||||||
|
fmt
|
||||||
nettle
|
nettle
|
||||||
gnutls
|
gnutls
|
||||||
msgpack
|
msgpack
|
||||||
@ -47,7 +48,6 @@ stdenv.mkDerivation rec {
|
|||||||
restinio
|
restinio
|
||||||
http-parser
|
http-parser
|
||||||
openssl
|
openssl
|
||||||
fmt
|
|
||||||
] ++ lib.optionals stdenv.isDarwin [
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
Security
|
Security
|
||||||
];
|
];
|
||||||
|
@ -68,7 +68,7 @@
|
|||||||
, mysofaSupport ? true
|
, mysofaSupport ? true
|
||||||
, libmysofa
|
, libmysofa
|
||||||
, tinycompress
|
, tinycompress
|
||||||
, ffadoSupport ? stdenv.buildPlatform.canExecute stdenv.hostPlatform
|
, ffadoSupport ? x11Support && stdenv.buildPlatform.canExecute stdenv.hostPlatform
|
||||||
, ffado
|
, ffado
|
||||||
, libselinux
|
, libselinux
|
||||||
}:
|
}:
|
||||||
|
@ -18,13 +18,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "podofo";
|
pname = "podofo";
|
||||||
version = "0.10.2";
|
version = "0.10.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "podofo";
|
owner = "podofo";
|
||||||
repo = "podofo";
|
repo = "podofo";
|
||||||
rev = finalAttrs.version;
|
rev = finalAttrs.version;
|
||||||
hash = "sha256-BHTfidLn738f9kVIgzRTR4vY6fx5JPPtYNKvD7klyGw=";
|
hash = "sha256-B+YNTo2rZAL4PqDo+lFOQiWM9bl/TIn8xrJyefrIAYE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "dev" "lib" ];
|
outputs = [ "out" "dev" "lib" ];
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
# optional dependencies
|
# optional dependencies
|
||||||
, cups ? null, postgresql ? null
|
, cups ? null, postgresql ? null
|
||||||
, withGtk3 ? false, dconf, gtk3
|
, withGtk3 ? false, dconf, gtk3
|
||||||
, qttranslations ? null
|
, withQttranslation ? true, qttranslations ? null
|
||||||
|
|
||||||
# options
|
# options
|
||||||
, libGLSupported ? !stdenv.isDarwin
|
, libGLSupported ? !stdenv.isDarwin
|
||||||
@ -351,7 +351,8 @@ stdenv.mkDerivation (finalAttrs: ({
|
|||||||
] ++ lib.optionals (mysqlSupport) [
|
] ++ lib.optionals (mysqlSupport) [
|
||||||
"-L" "${libmysqlclient}/lib"
|
"-L" "${libmysqlclient}/lib"
|
||||||
"-I" "${libmysqlclient}/include"
|
"-I" "${libmysqlclient}/include"
|
||||||
] ++ lib.optional (qttranslations != null) [
|
] ++ lib.optional (withQttranslation && (qttranslations != null)) [
|
||||||
|
# depends on x11
|
||||||
"-translationdir" "${qttranslations}/translations"
|
"-translationdir" "${qttranslations}/translations"
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
@ -5,11 +5,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "blas";
|
pname = "blas";
|
||||||
version = "3.11.0";
|
version = "3.12.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.netlib.org/blas/${pname}-${version}.tgz";
|
url = "http://www.netlib.org/blas/${pname}-${version}.tgz";
|
||||||
sha256 = "sha256-LZ/e59NhlU/uUyEApQ5gKCbJzBFT+M0Fe6pl7VfpAoM=";
|
sha256 = "sha256-zMQbXQiOUNsAMDF66bDJrzdXEME5KsrR/iCWAtpaWq0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = { inherit blas64; };
|
passthru = { inherit blas64; };
|
||||||
|
@ -11,13 +11,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "zchunk";
|
pname = "zchunk";
|
||||||
version = "1.3.2";
|
version = "1.4.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "zchunk";
|
owner = "zchunk";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-wmbnkxJHFyqntULxzXF16lt+TfwywLdZamQXvcfSFVM=";
|
hash = "sha256-GiZM8Jh+v0US8xr90rySY0Ud3eAAl8UqLi162zDR3qw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -623,6 +623,30 @@ buildLuarocksPackage {
|
|||||||
};
|
};
|
||||||
}) {};
|
}) {};
|
||||||
|
|
||||||
|
image-nvim = callPackage(
|
||||||
|
{ buildLuarocksPackage, fetchurl, fetchzip, lua, luaOlder, magick }:
|
||||||
|
buildLuarocksPackage {
|
||||||
|
pname = "image.nvim";
|
||||||
|
version = "1.2.0-1";
|
||||||
|
knownRockspec = (fetchurl {
|
||||||
|
url = "mirror://luarocks/image.nvim-1.2.0-1.rockspec";
|
||||||
|
sha256 = "0732fk2p2v9f72689jms4pdjsx9m7vdi1ib65jfz7q4lv9pdx508";
|
||||||
|
}).outPath;
|
||||||
|
src = fetchzip {
|
||||||
|
url = "https://github.com/3rd/image.nvim/archive/v1.2.0.zip";
|
||||||
|
sha256 = "1v4db60yykjajabmf12zjcg47bb814scjrig0wvn4yc11isinymg";
|
||||||
|
};
|
||||||
|
|
||||||
|
disabled = (luaOlder "5.1");
|
||||||
|
propagatedBuildInputs = [ lua magick ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://github.com/3rd/image.nvim";
|
||||||
|
description = "🖼️ Bringing images to Neovim.";
|
||||||
|
license.fullName = "MIT";
|
||||||
|
};
|
||||||
|
}) {};
|
||||||
|
|
||||||
inspect = callPackage({ buildLuarocksPackage, fetchurl, lua, luaOlder }:
|
inspect = callPackage({ buildLuarocksPackage, fetchurl, lua, luaOlder }:
|
||||||
buildLuarocksPackage {
|
buildLuarocksPackage {
|
||||||
pname = "inspect";
|
pname = "inspect";
|
||||||
|
43
pkgs/development/ocaml-modules/poll/default.nix
Normal file
43
pkgs/development/ocaml-modules/poll/default.nix
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
{ buildDunePackage
|
||||||
|
, dune-configurator
|
||||||
|
, fetchurl
|
||||||
|
, kqueue
|
||||||
|
, lib
|
||||||
|
, ppx_expect
|
||||||
|
, ppx_optcomp
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildDunePackage rec {
|
||||||
|
pname = "poll";
|
||||||
|
version = "0.3.1";
|
||||||
|
|
||||||
|
minimalOCamlVersion = "4.13";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/anuragsoni/poll/releases/download/${version}/poll-${version}.tbz";
|
||||||
|
hash = "sha256-IX6SivK/IMQaGgMgWiIsNgUSMHP6z1E/TSB0miaQ8pw=";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
dune-configurator
|
||||||
|
ppx_optcomp
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
kqueue
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
ppx_expect
|
||||||
|
];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Portable OCaml interface to macOS/Linux/Windows native IO event notification mechanisms";
|
||||||
|
homepage = "https://github.com/anuragsoni/poll";
|
||||||
|
changelog = "https://github.com/anuragsoni/poll/blob/${version}/CHANGES.md";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
maintainers = with lib.maintainers; [ sixstring982 ];
|
||||||
|
};
|
||||||
|
}
|
@ -14,14 +14,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "irc";
|
pname = "irc";
|
||||||
version = "20.3.0";
|
version = "20.3.1";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-JFteqYqwAlZnYx53alXjGRfmDvcIxgEC8hmLyfURMjY=";
|
hash = "sha256-gGuDr4lNixIe0eFIZqkGQBKFiN5swElcTsssXsJyKAs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "jaraco-logging";
|
pname = "jaraco-logging";
|
||||||
version = "3.2.0";
|
version = "3.3.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
|||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
pname = "jaraco.logging";
|
pname = "jaraco.logging";
|
||||||
inherit version;
|
inherit version;
|
||||||
hash = "sha256-X8ssPxI1HU1QN1trYPOJnFg3sjLxotj/y6/17NK3M+c=";
|
hash = "sha256-9KfPusuGqDTCiGwBo7UrxM3icowdlxfEnU3OHWJI8Hs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
pythonNamespaces = [
|
pythonNamespaces = [
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -5,7 +5,7 @@ set -eu -o pipefail
|
|||||||
|
|
||||||
source_file=pkgs/development/python-modules/mypy-boto3/default.nix
|
source_file=pkgs/development/python-modules/mypy-boto3/default.nix
|
||||||
|
|
||||||
version="1.33.0"
|
version="1.34.0"
|
||||||
|
|
||||||
nix-update python311Packages.botocore-stubs --commit --build
|
nix-update python311Packages.botocore-stubs --commit --build
|
||||||
|
|
||||||
@ -142,7 +142,7 @@ packages=(
|
|||||||
mypy-boto3-frauddetector
|
mypy-boto3-frauddetector
|
||||||
mypy-boto3-fsx
|
mypy-boto3-fsx
|
||||||
mypy-boto3-gamelift
|
mypy-boto3-gamelift
|
||||||
mypy-boto3-gamesparks
|
# mypy-boto3-gamesparks
|
||||||
mypy-boto3-glacier
|
mypy-boto3-glacier
|
||||||
mypy-boto3-globalaccelerator
|
mypy-boto3-globalaccelerator
|
||||||
mypy-boto3-glue
|
mypy-boto3-glue
|
||||||
@ -212,7 +212,7 @@ packages=(
|
|||||||
mypy-boto3-lookoutvision
|
mypy-boto3-lookoutvision
|
||||||
mypy-boto3-m2
|
mypy-boto3-m2
|
||||||
mypy-boto3-machinelearning
|
mypy-boto3-machinelearning
|
||||||
mypy-boto3-macie
|
#mypy-boto3-macie
|
||||||
mypy-boto3-macie2
|
mypy-boto3-macie2
|
||||||
mypy-boto3-managedblockchain
|
mypy-boto3-managedblockchain
|
||||||
mypy-boto3-managedblockchain-query
|
mypy-boto3-managedblockchain-query
|
||||||
@ -376,9 +376,11 @@ for package in "${packages[@]}"; do
|
|||||||
awk -i inplace -v package="$package" -v new_version="$version" -v new_sha256="$sri_hash" '
|
awk -i inplace -v package="$package" -v new_version="$version" -v new_sha256="$sri_hash" '
|
||||||
$1 == package {
|
$1 == package {
|
||||||
$5 = "\"" new_version "\"";
|
$5 = "\"" new_version "\"";
|
||||||
$6 = "\"" new_sha256 "\"";
|
$6 = "\"" new_sha256 "\";";
|
||||||
}
|
}
|
||||||
{print}
|
{print}
|
||||||
' $source_file
|
' $source_file
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
|
nixpkgs-fmt $source_file
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "mysqlclient";
|
pname = "mysqlclient";
|
||||||
version = "2.2.0";
|
version = "2.2.1";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-BDaERfnEh9irt6h449I+kj5gcsBKbDIPng3IqC77oU4=";
|
hash = "sha256-LHrRW4cpOxL9RLR8RoeeyV7GR/RWfoZszXC4M3WE6bI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -8,14 +8,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pglast";
|
pname = "pglast";
|
||||||
version = "5.6";
|
version = "5.7";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-WHFc8rXzdcRrp1U6tAuepQYagFYo8+0WQr8783w/Ql8=";
|
hash = "sha256-5JYygEthxFvjjbKpzw2CJNAvtrnCqdnR0sbJHhNRYFw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyatv";
|
pname = "pyatv";
|
||||||
version = "0.14.4";
|
version = "0.14.5";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
@ -38,7 +38,7 @@ buildPythonPackage rec {
|
|||||||
owner = "postlund";
|
owner = "postlund";
|
||||||
repo = "pyatv";
|
repo = "pyatv";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-w3WOlZFfuCmekUsr8msi2LXTm6j8/Bk49L3MiYF7lOM=";
|
hash = "sha256-Uykj9MIUFcZyTWOBjUhL9+qItbnpwtuTd2Cx5jI7Wtw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyenphase";
|
pname = "pyenphase";
|
||||||
version = "1.15.1";
|
version = "1.15.2";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.11";
|
disabled = pythonOlder "3.11";
|
||||||
@ -27,7 +27,7 @@ buildPythonPackage rec {
|
|||||||
owner = "pyenphase";
|
owner = "pyenphase";
|
||||||
repo = "pyenphase";
|
repo = "pyenphase";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-XhcCNp7iA7wTd5ldoCO9QC7o3kmL3jIlumjg8Y5mkVQ=";
|
hash = "sha256-4vKfgpCo28btFCTbj7xge7bDImafbOWsabhdMJK5p3Q=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -7,14 +7,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-google-nest";
|
pname = "python-google-nest";
|
||||||
version = "5.2.0";
|
version = "5.2.1";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-k7cOOyUqgh7Y/MIBgBTVgCZexXLVkvAaHz6irXGLdgA=";
|
hash = "sha256-qL4Qk2NW41Sb9raF0vnEb04w3uyaWPauDnNY+DvnNgQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user