Merge master into staging-next
This commit is contained in:
commit
449a683b10
377 changed files with 2780 additions and 559 deletions
5
.github/CODEOWNERS
vendored
5
.github/CODEOWNERS
vendored
|
@ -196,6 +196,11 @@ pkgs/development/python-modules/buildcatrust/ @ajs124 @lukegb @mweinelt
|
|||
/nixos/tests/kea.nix @mweinelt
|
||||
/nixos/tests/knot.nix @mweinelt
|
||||
|
||||
# Web servers
|
||||
/doc/builders/packages/nginx.section.md @raitobezarius
|
||||
/pkgs/servers/http/nginx/ @raitobezarius
|
||||
/nixos/modules/services/web-servers/nginx/ @raitobezarius
|
||||
|
||||
# Dhall
|
||||
/pkgs/development/dhall-modules @Gabriella439 @Profpatsch @ehmry
|
||||
/pkgs/development/interpreters/dhall @Gabriella439 @Profpatsch @ehmry
|
||||
|
|
|
@ -657,6 +657,13 @@ in mkLicense lset) ({
|
|||
redistributable = true;
|
||||
};
|
||||
|
||||
hl3 = {
|
||||
fullName = "Hippocratic License v3.0";
|
||||
url = "https://firstdonoharm.dev/version/3/0/core.txt";
|
||||
free = false;
|
||||
redistributable = true;
|
||||
};
|
||||
|
||||
issl = {
|
||||
fullName = "Intel Simplified Software License";
|
||||
url = "https://software.intel.com/en-us/license/intel-simplified-software-license";
|
||||
|
|
|
@ -1756,6 +1756,12 @@
|
|||
fingerprint = "6FBC A462 4EAF C69C A7C4 98C1 F044 3098 48A0 7CAC";
|
||||
}];
|
||||
};
|
||||
babeuh = {
|
||||
name = "Raphael Le Goaller";
|
||||
email = "babeuh@rlglr.fr";
|
||||
github = "babeuh";
|
||||
githubId = 60193302;
|
||||
};
|
||||
bachp = {
|
||||
email = "pascal.bach@nextrem.ch";
|
||||
matrix = "@bachp:matrix.org";
|
||||
|
@ -5807,6 +5813,11 @@
|
|||
githubId = 17859309;
|
||||
name = "Fuzen";
|
||||
};
|
||||
fwc = {
|
||||
github = "fwc";
|
||||
githubId = 29337229;
|
||||
name = "mtths";
|
||||
};
|
||||
fxfactorial = {
|
||||
email = "edgar.factorial@gmail.com";
|
||||
github = "fxfactorial";
|
||||
|
@ -9077,6 +9088,12 @@
|
|||
githubId = 5759930;
|
||||
name = "Alexis Destrez";
|
||||
};
|
||||
krupkat = {
|
||||
github = "krupkat";
|
||||
githubId = 6817216;
|
||||
name = "Tomas Krupka";
|
||||
matrix = "@krupkat:matrix.org";
|
||||
};
|
||||
ktf = {
|
||||
email = "giulio.eulisse@cern.ch";
|
||||
github = "ktf";
|
||||
|
@ -10036,6 +10053,16 @@
|
|||
githubId = 93990818;
|
||||
name = "Madoura";
|
||||
};
|
||||
maeve = {
|
||||
email = "mrey@mailbox.org";
|
||||
matrix = "@maeve:catgirl.cloud";
|
||||
github = "m-rey";
|
||||
githubId = 42996147;
|
||||
name = "Mæve";
|
||||
keys = [{
|
||||
fingerprint = "96C9 D086 CC9D 7BD7 EF24 80E2 9168 796A 1CC3 AEA2";
|
||||
}];
|
||||
};
|
||||
mafo = {
|
||||
email = "Marc.Fontaine@gmx.de";
|
||||
github = "MarcFontaine";
|
||||
|
|
|
@ -821,9 +821,7 @@ with lib.maintainers; {
|
|||
};
|
||||
|
||||
sphinx = {
|
||||
members = [
|
||||
SuperSandro2000
|
||||
];
|
||||
members = [ ];
|
||||
scope = "Maintain Sphinx related packages.";
|
||||
shortName = "Sphinx";
|
||||
};
|
||||
|
|
|
@ -126,7 +126,7 @@ in
|
|||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running `nixos-help`).
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
|
|
|
@ -44,5 +44,5 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
meta.maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
meta.maintainers = with maintainers; [ ];
|
||||
}
|
||||
|
|
|
@ -32,6 +32,8 @@ in
|
|||
services.tarsnap = {
|
||||
enable = mkEnableOption (lib.mdDoc "periodic tarsnap backups");
|
||||
|
||||
package = mkPackageOption pkgs "tarsnap" { };
|
||||
|
||||
keyfile = mkOption {
|
||||
type = types.str;
|
||||
default = "/root/tarsnap.key";
|
||||
|
@ -307,7 +309,7 @@ in
|
|||
requires = [ "network-online.target" ];
|
||||
after = [ "network-online.target" ];
|
||||
|
||||
path = with pkgs; [ iputils tarsnap util-linux ];
|
||||
path = with pkgs; [ iputils gcfg.package util-linux ];
|
||||
|
||||
# In order for the persistent tarsnap timer to work reliably, we have to
|
||||
# make sure that the tarsnap server is reachable after systemd starts up
|
||||
|
@ -318,7 +320,7 @@ in
|
|||
'';
|
||||
|
||||
script = let
|
||||
tarsnap = ''tarsnap --configfile "/etc/tarsnap/${name}.conf"'';
|
||||
tarsnap = ''${lib.getExe gcfg.package} --configfile "/etc/tarsnap/${name}.conf"'';
|
||||
run = ''${tarsnap} -c -f "${name}-$(date +"%Y%m%d%H%M%S")" \
|
||||
${optionalString cfg.verbose "-v"} \
|
||||
${optionalString cfg.explicitSymlinks "-H"} \
|
||||
|
@ -355,10 +357,10 @@ in
|
|||
description = "Tarsnap restore '${name}'";
|
||||
requires = [ "network-online.target" ];
|
||||
|
||||
path = with pkgs; [ iputils tarsnap util-linux ];
|
||||
path = with pkgs; [ iputils gcfg.package util-linux ];
|
||||
|
||||
script = let
|
||||
tarsnap = ''tarsnap --configfile "/etc/tarsnap/${name}.conf"'';
|
||||
tarsnap = ''${lib.getExe gcfg.package} --configfile "/etc/tarsnap/${name}.conf"'';
|
||||
lastArchive = "$(${tarsnap} --list-archives | sort | tail -1)";
|
||||
run = ''${tarsnap} -x -f "${lastArchive}" ${optionalString cfg.verbose "-v"}'';
|
||||
cachedir = escapeShellArg cfg.cachedir;
|
||||
|
@ -402,6 +404,6 @@ in
|
|||
{ text = configFile name cfg;
|
||||
}) gcfg.archives;
|
||||
|
||||
environment.systemPackages = [ pkgs.tarsnap ];
|
||||
environment.systemPackages = [ gcfg.package ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -308,6 +308,8 @@ in
|
|||
pools.cloudlog = {
|
||||
inherit (cfg) user;
|
||||
group = config.services.nginx.group;
|
||||
# cloudlog is currently broken on php 8.2
|
||||
phpPackage = pkgs.php81;
|
||||
settings = {
|
||||
"listen.owner" = config.services.nginx.user;
|
||||
"listen.group" = config.services.nginx.group;
|
||||
|
|
|
@ -119,8 +119,8 @@ let
|
|||
"systemd-modules-load.service"
|
||||
"systemd-ask-password-console.service"
|
||||
];
|
||||
wantedBy = (getPoolMounts prefix pool) ++ [ "local-fs.target" ];
|
||||
before = (getPoolMounts prefix pool) ++ [ "local-fs.target" ];
|
||||
requiredBy = getPoolMounts prefix pool ++ [ "zfs-import.target" ];
|
||||
before = getPoolMounts prefix pool ++ [ "zfs-import.target" ];
|
||||
unitConfig = {
|
||||
DefaultDependencies = "no";
|
||||
};
|
||||
|
@ -628,6 +628,8 @@ in
|
|||
force = cfgZfs.forceImportRoot;
|
||||
prefix = "/sysroot";
|
||||
}) rootPools);
|
||||
targets.zfs-import.wantedBy = [ "zfs.target" ];
|
||||
targets.zfs.wantedBy = [ "initrd.target" ];
|
||||
extraBin = {
|
||||
# zpool and zfs are already in thanks to fsPackages
|
||||
awk = "${pkgs.gawk}/bin/awk";
|
||||
|
@ -739,15 +741,7 @@ in
|
|||
map createSyncService allPools ++
|
||||
map createZfsService [ "zfs-mount" "zfs-share" "zfs-zed" ]);
|
||||
|
||||
systemd.targets.zfs-import =
|
||||
let
|
||||
services = map (pool: "zfs-import-${pool}.service") dataPools;
|
||||
in
|
||||
{
|
||||
requires = services;
|
||||
after = services;
|
||||
wantedBy = [ "zfs.target" ];
|
||||
};
|
||||
systemd.targets.zfs-import.wantedBy = [ "zfs.target" ];
|
||||
|
||||
systemd.targets.zfs.wantedBy = [ "multi-user.target" ];
|
||||
})
|
||||
|
|
|
@ -4,6 +4,10 @@ in
|
|||
import ../make-test-python.nix ({ pkgs, ... }: {
|
||||
name = "nginx-proxyprotocol";
|
||||
|
||||
meta = {
|
||||
maintainers = with pkgs.lib.maintainers; [ raitobezarius ];
|
||||
};
|
||||
|
||||
nodes = {
|
||||
webserver = { pkgs, lib, ... }: {
|
||||
environment.systemPackages = [ pkgs.netcat ];
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "airwindows-lv2";
|
||||
version = "18.0";
|
||||
version = "20.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "hannesbraun";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-06mfTvt0BXHUGZG2rnEbuOPIP+jD76mQZTo+m4b4lo4=";
|
||||
sha256 = "sha256-uflvUmUzOtF3BwiLfnd+qhz+ZYyn8AKvODFs599phhU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkg-config ];
|
||||
|
|
|
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
|||
homepage = "https://github.com/jagrosh/MusicBot";
|
||||
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
inherit (jre_headless.meta) platforms;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
|||
description = "Ogg Opus tags editor";
|
||||
platforms = platforms.all;
|
||||
broken = stdenv.isDarwin;
|
||||
maintainers = with maintainers; [ kmein SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ kmein ];
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,8 +1,33 @@
|
|||
{ lib, stdenv, curl, jq, htmlq, xorg, alsa-lib, freetype, p7zip, autoPatchelfHook, writeShellScript, zlib, libjack2, makeWrapper }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, curl
|
||||
, jq
|
||||
, htmlq
|
||||
, xorg
|
||||
, alsa-lib
|
||||
, freetype
|
||||
, p7zip
|
||||
, autoPatchelfHook
|
||||
, writeShellScript
|
||||
, zlib
|
||||
, libjack2
|
||||
, makeWrapper
|
||||
, copyDesktopItems
|
||||
, makeDesktopItem
|
||||
, librsvg
|
||||
}:
|
||||
let
|
||||
versionForFile = v: builtins.replaceStrings ["."] [""] v;
|
||||
versionForFile = v: builtins.replaceStrings [ "." ] [ "" ] v;
|
||||
|
||||
mkPianoteq = { name, src, version, archdir ? if (stdenv.hostPlatform.system == "aarch64-linux") then "arm-64bit" else "x86-64bit", ... }:
|
||||
mkPianoteq =
|
||||
{ name
|
||||
, mainProgram
|
||||
, startupWMClass
|
||||
, src
|
||||
, version
|
||||
, archdir ? if (stdenv.hostPlatform.system == "aarch64-linux") then "arm-64bit" else "x86-64bit"
|
||||
, ...
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
inherit src version;
|
||||
|
||||
|
@ -14,18 +39,34 @@ let
|
|||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
copyDesktopItems
|
||||
makeWrapper
|
||||
librsvg
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
stdenv.cc.cc.lib
|
||||
xorg.libX11 # libX11.so.6
|
||||
xorg.libXext # libXext.so.6
|
||||
alsa-lib # libasound.so.2
|
||||
freetype # libfreetype.so.6
|
||||
xorg.libX11 # libX11.so.6
|
||||
xorg.libXext # libXext.so.6
|
||||
alsa-lib # libasound.so.2
|
||||
freetype # libfreetype.so.6
|
||||
];
|
||||
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
name = pname;
|
||||
exec = ''"${mainProgram}"'';
|
||||
desktopName = mainProgram;
|
||||
icon = "pianoteq";
|
||||
comment = meta.description;
|
||||
categories = [ "AudioVideo" "Audio" "Recorder" ];
|
||||
startupNotify = false;
|
||||
inherit startupWMClass;
|
||||
})
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/bin
|
||||
mv -t $out/bin Pianoteq*/${archdir}/*
|
||||
for f in $out/bin/Pianoteq*; do
|
||||
|
@ -41,18 +82,31 @@ let
|
|||
}
|
||||
fi
|
||||
done
|
||||
install -Dm644 ${./pianoteq.svg} $out/share/icons/hicolor/scalable/apps/pianoteq.svg
|
||||
for size in 16 22 32 48 64 128 256; do
|
||||
dir=$out/share/icons/hicolor/"$size"x"$size"/apps
|
||||
mkdir -p $dir
|
||||
rsvg-convert \
|
||||
--keep-aspect-ratio \
|
||||
--width $size \
|
||||
--height $size \
|
||||
--output $dir/pianoteq.png \
|
||||
${./pianoteq.svg}
|
||||
done
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.modartt.com/pianoteq";
|
||||
description = "Software synthesizer that features real-time MIDI-control of digital physically modeled pianos and related instruments";
|
||||
license = licenses.unfree;
|
||||
inherit mainProgram;
|
||||
platforms = [ "x86_64-linux" "aarch64-linux" ];
|
||||
maintainers = [ maintainers.mausch ];
|
||||
maintainers = with maintainers; [ mausch ners ];
|
||||
};
|
||||
};
|
||||
|
||||
fetchWithCurlScript = { name, sha256, script, impureEnvVars ? [] }:
|
||||
fetchWithCurlScript = { name, hash, script, impureEnvVars ? [ ] }:
|
||||
stdenv.mkDerivation {
|
||||
inherit name;
|
||||
builder = writeShellScript "builder.sh" ''
|
||||
|
@ -81,7 +135,7 @@ let
|
|||
'';
|
||||
nativeBuildInputs = [ curl ];
|
||||
outputHashAlgo = "sha256";
|
||||
outputHash = sha256;
|
||||
outputHash = hash;
|
||||
|
||||
impureEnvVars = lib.fetchers.proxyImpureEnvVars ++ impureEnvVars ++ [
|
||||
# This variable allows the user to pass additional options to curl
|
||||
|
@ -89,9 +143,9 @@ let
|
|||
];
|
||||
};
|
||||
|
||||
fetchPianoteqTrial = { name, sha256 }:
|
||||
fetchPianoteqTrial = { name, hash }:
|
||||
fetchWithCurlScript {
|
||||
inherit name sha256;
|
||||
inherit name hash;
|
||||
script = ''
|
||||
html=$(
|
||||
"''${curl[@]}" --silent --request GET \
|
||||
|
@ -122,9 +176,9 @@ let
|
|||
'';
|
||||
};
|
||||
|
||||
fetchPianoteqWithLogin = { name, sha256 }:
|
||||
fetchPianoteqWithLogin = { name, hash }:
|
||||
fetchWithCurlScript {
|
||||
inherit name sha256;
|
||||
inherit name hash;
|
||||
|
||||
impureEnvVars = [ "NIX_MODARTT_USERNAME" "NIX_MODARTT_PASSWORD" ];
|
||||
|
||||
|
@ -164,39 +218,58 @@ let
|
|||
'';
|
||||
};
|
||||
|
||||
in {
|
||||
in
|
||||
{
|
||||
# TODO currently can't install more than one because `lame` clashes
|
||||
stage-trial = mkPianoteq rec {
|
||||
name = "stage-trial";
|
||||
version = "8.0.8";
|
||||
mainProgram = "Pianoteq 8 STAGE";
|
||||
startupWMClass = "Pianoteq STAGE Trial";
|
||||
version = "8.1.1";
|
||||
src = fetchPianoteqTrial {
|
||||
name = "pianoteq_stage_linux_trial_v${versionForFile version}.7z";
|
||||
sha256 = "sha256-dp0bTzzh4aQ2KQ3z9zk+3meKQY4YRYQ86rccHd3+hAQ=";
|
||||
hash = "sha256-jMGv95WiD7UHAuSzKgauLhlsNvO/RWVrHd2Yf3kiUTo=";
|
||||
};
|
||||
};
|
||||
standard-trial = mkPianoteq rec {
|
||||
name = "standard-trial";
|
||||
version = "8.0.8";
|
||||
mainProgram = "Pianoteq 8";
|
||||
startupWMClass = "Pianoteq Trial";
|
||||
version = "8.1.1";
|
||||
src = fetchPianoteqTrial {
|
||||
name = "pianoteq_linux_trial_v${versionForFile version}.7z";
|
||||
sha256 = "sha256-LSrnrjkEhsX9TirUUFs9tNqH2A3cTt3I7YTfcTT6EP8=";
|
||||
hash = "sha256-pL4tJMV8OTVLT4fwABcImWO+iaVe9gCdDN3rbkL+noc=";
|
||||
};
|
||||
};
|
||||
stage-6 = mkPianoteq rec {
|
||||
name = "stage-6";
|
||||
mainProgram = "Pianoteq 6 STAGE";
|
||||
startupWMClass = "Pianoteq STAGE";
|
||||
version = "6.7.3";
|
||||
archdir = if (stdenv.hostPlatform.system == "aarch64-linux") then throw "Pianoteq stage-6 is not supported on aarch64-linux" else "amd64";
|
||||
src = fetchPianoteqWithLogin {
|
||||
name = "pianoteq_stage_linux_v${versionForFile version}.7z";
|
||||
sha256 = "0jy0hkdynhwv0zhrqkby0hdphgmcc09wxmy74rhg9afm1pzl91jy";
|
||||
hash = "0jy0hkdynhwv0zhrqkby0hdphgmcc09wxmy74rhg9afm1pzl91jy";
|
||||
};
|
||||
};
|
||||
stage-7 = mkPianoteq rec {
|
||||
name = "stage-7";
|
||||
mainProgram = "Pianoteq 7 STAGE";
|
||||
startupWMClass = "Pianoteq STAGE";
|
||||
version = "7.3.0";
|
||||
src = fetchPianoteqWithLogin {
|
||||
name = "pianoteq_stage_linux_v${versionForFile version}.7z";
|
||||
sha256 = "05w7sv9v38r6ljz9xai816w5z2qqwx88hcfjm241fvgbs54125hx";
|
||||
hash = "05w7sv9v38r6ljz9xai816w5z2qqwx88hcfjm241fvgbs54125hx";
|
||||
};
|
||||
};
|
||||
standard-8 = mkPianoteq rec {
|
||||
name = "standard-8";
|
||||
mainProgram = "Pianoteq 8";
|
||||
startupWMClass = "Pianoteq";
|
||||
version = "8.1.1";
|
||||
src = fetchPianoteqWithLogin {
|
||||
name = "pianoteq_linux_v${versionForFile version}.7z";
|
||||
hash = "sha256-vWvo+ctJ0yN6XeJZZVhA3Ul9eWJWAh7Qo54w0TpOiVw=";
|
||||
};
|
||||
};
|
||||
# TODO other paid binaries, I don't own that so I don't know their hash.
|
||||
|
|
116
pkgs/applications/audio/pianoteq/pianoteq.svg
Normal file
116
pkgs/applications/audio/pianoteq/pianoteq.svg
Normal file
|
@ -0,0 +1,116 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="1000"
|
||||
height="1000"
|
||||
viewBox="0 0 264.58333 264.58334"
|
||||
version="1.1"
|
||||
id="svg5"
|
||||
inkscape:version="1.1 (c4e8f9e, 2021-05-24)"
|
||||
sodipodi:docname="Pianoteq macOS app icon.svg"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<sodipodi:namedview
|
||||
id="namedview7"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:document-units="mm"
|
||||
showgrid="false"
|
||||
units="px"
|
||||
inkscape:snap-global="false"
|
||||
inkscape:zoom="0.55678311"
|
||||
inkscape:cx="387.04479"
|
||||
inkscape:cy="561.25984"
|
||||
inkscape:window-width="1960"
|
||||
inkscape:window-height="1125"
|
||||
inkscape:window-x="780"
|
||||
inkscape:window-y="181"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="layer1" />
|
||||
<defs
|
||||
id="defs2">
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient79">
|
||||
<stop
|
||||
style="stop-color:#1b579e;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop75" />
|
||||
<stop
|
||||
style="stop-color:#002146;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop77" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient79"
|
||||
id="linearGradient81"
|
||||
x1="-73.180801"
|
||||
y1="67.478401"
|
||||
x2="103.1184"
|
||||
y2="264.6864"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(117.76853,-32.76193)" />
|
||||
<filter
|
||||
style="color-interpolation-filters:sRGB;"
|
||||
inkscape:label="Drop Shadow"
|
||||
id="filter9691"
|
||||
x="-0.019462447"
|
||||
y="-0.019425019"
|
||||
width="1.0486367"
|
||||
height="1.0497548">
|
||||
<feFlood
|
||||
flood-opacity="0.27451"
|
||||
flood-color="rgb(0,0,0)"
|
||||
result="flood"
|
||||
id="feFlood9681" />
|
||||
<feComposite
|
||||
in="flood"
|
||||
in2="SourceGraphic"
|
||||
operator="in"
|
||||
result="composite1"
|
||||
id="feComposite9683" />
|
||||
<feGaussianBlur
|
||||
in="composite1"
|
||||
stdDeviation="2"
|
||||
result="blur"
|
||||
id="feGaussianBlur9685" />
|
||||
<feOffset
|
||||
dx="2.39521"
|
||||
dy="2.69461"
|
||||
result="offset"
|
||||
id="feOffset9687" />
|
||||
<feComposite
|
||||
in="SourceGraphic"
|
||||
in2="offset"
|
||||
operator="over"
|
||||
result="composite2"
|
||||
id="feComposite9689" />
|
||||
</filter>
|
||||
</defs>
|
||||
<g
|
||||
inkscape:label="Calque 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<rect
|
||||
style="fill:url(#linearGradient81);fill-opacity:1;stroke-width:0.264583;filter:url(#filter9691)"
|
||||
id="rect43"
|
||||
width="246.6288"
|
||||
height="247.104"
|
||||
x="8.9477348"
|
||||
y="8.5804749"
|
||||
ry="55.5984" />
|
||||
<path
|
||||
style="display:inline;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#f2f2f2;stroke-width:0.79375;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
d="m 57.571897,38.584169 -0.432206,49.706154 c -0.01643,2.541563 0.73098,6.308484 1.728908,8.644552 l 29.823694,70.020845 c 0.997959,2.33702 1.728905,6.103 1.728905,8.64457 v 42.7905 5.18674 h 13.399052 v -9.07678 -41.49384 c 0,-2.5425 -0.74515,-6.73408 -1.72891,-9.07677 L 73.132109,94.773742 c -0.983783,-2.342684 -1.702961,-6.534987 -1.728908,-9.07678 L 70.538748,38.584169 Z m 54.028433,0 v 49.706154 c -0.0122,2.541804 0.73091,6.307531 1.72892,8.644552 l 29.82369,70.020845 c 0.99555,2.33702 1.7289,6.10182 1.7289,8.64457 v 42.7905 5.18674 h 13.39904 v -9.07678 -41.49384 c 0,-2.54085 -0.74504,-6.73314 -1.7289,-9.07677 L 127.16051,94.773742 c -0.98371,-2.342684 -1.69823,-6.535929 -1.7289,-9.07678 l -0.4322,-47.112793 z m 51.43506,0 -0.4322,49.706154 c -0.0145,2.541804 0.73092,6.307531 1.72892,8.644552 l 29.8237,70.020845 c 0.99796,2.33702 1.72892,6.10182 1.72892,8.64457 v 42.7905 5.18674 h 13.39904 v -9.07678 -41.49384 c 0,-2.54085 -0.74734,-6.73314 -1.7289,-9.07677 L 178.5956,94.773742 c -0.98382,-2.342684 -1.70296,-6.535929 -1.72892,-9.07678 L 176.00224,38.584169 Z M 82.208865,78.349097 c -4.992071,0 -8.644549,4.079046 -8.644549,9.076769 0,4.999387 3.652478,9.076791 8.644549,9.076791 4.980272,0 9.07678,-4.077404 9.07678,-9.076791 0,-4.997723 -4.096508,-9.076769 -9.07678,-9.076769 z m 54.460655,0 c -4.98969,0 -9.07677,4.079287 -9.07677,9.076769 0,4.994908 4.08708,9.076791 9.07677,9.076791 4.98263,0 9.07678,-4.081883 9.07678,-9.076791 0,-4.997482 -4.09415,-9.076769 -9.07678,-9.076769 z m 51.00284,0 c -4.98971,0 -8.64455,4.079287 -8.64455,9.076769 0,4.994908 3.65484,9.076791 8.64455,9.076791 4.98498,0 9.07678,-4.081883 9.07678,-9.076791 0,-4.997482 -4.0918,-9.076769 -9.07678,-9.076769 z M 79.183276,164.79459 c -4.982626,0 -8.644557,4.0781 -8.644557,9.07679 0,4.99393 3.661931,9.07676 8.644557,9.07676 4.992059,0 9.07677,-4.08283 9.07677,-9.07676 0,-4.99869 -4.084711,-9.07679 -9.07677,-9.07679 z m 54.460654,0 c -4.97556,0 -9.07677,4.07622 -9.07677,9.07679 0,4.99748 4.10121,9.07676 9.07677,9.07676 4.99207,0 9.07678,-4.07928 9.07678,-9.07676 0,-5.00057 -4.08471,-9.07679 -9.07678,-9.07679 z m 51.00285,0 c -4.99208,0 -8.64456,4.07622 -8.64456,9.07679 0,4.99748 3.65248,9.07676 8.64456,9.07676 4.98734,0 9.07677,-4.07928 9.07677,-9.07676 0,-5.00057 -4.08943,-9.07679 -9.07677,-9.07679 z"
|
||||
id="path2997-3-6" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 5.5 KiB |
|
@ -9,17 +9,17 @@
|
|||
stdenv.mkDerivation {
|
||||
inherit pname;
|
||||
|
||||
version = "1.1.97.962.g24733a46";
|
||||
version = "1.2.15.828.g79f41970";
|
||||
|
||||
src = if stdenv.isAarch64 then (
|
||||
fetchurl {
|
||||
url = "https://web.archive.org/web/20221101120432/https://download.scdn.co/SpotifyARM64.dmg";
|
||||
sha256 = "sha256-8WDeVRgaZXuUa95PNa15Cuul95ynklBaZpuq+U1eGTU=";
|
||||
url = "https://web.archive.org/web/20230710021420/https://download.scdn.co/SpotifyARM64.dmg";
|
||||
sha256 = "sha256-1X0Mln47uYs5l1t+5BFBk5lLnXZgnSqZLX41yA91I0s=";
|
||||
})
|
||||
else (
|
||||
fetchurl {
|
||||
url = "https://web.archive.org/web/20221101120647/https://download.scdn.co/Spotify.dmg";
|
||||
sha256 = "sha256-uPpD8Hv70FlaSjtt9rq5ntI64agxG8+/LNEvRe4ocJ4=";
|
||||
url = "https://web.archive.org/web/20230710021726/https://download.scdn.co/Spotify.dmg";
|
||||
sha256 = "sha256-CmKZx8Ad0w6STBN0O4Sc4XqidOM6fCl74u2sI8w+Swk=";
|
||||
});
|
||||
|
||||
nativeBuildInputs = [ undmg ];
|
||||
|
|
|
@ -1895,7 +1895,7 @@ let
|
|||
downloadPage = "https://marketplace.visualstudio.com/items?itemName=jnoortheen.nix-ide";
|
||||
homepage = "https://github.com/jnoortheen/vscode-nix-ide";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.SuperSandro2000 ];
|
||||
maintainers = [ ];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -97,6 +97,6 @@ buildVscodeMarketplaceExtension {
|
|||
meta = {
|
||||
description = "Use any remote machine with a SSH server as your development environment.";
|
||||
license = lib.licenses.unfree;
|
||||
maintainers = [ lib.maintainers.SuperSandro2000 lib.maintainers.tbenst ];
|
||||
maintainers = [ lib.maintainers.tbenst ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -6,14 +6,14 @@
|
|||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "browsr";
|
||||
version = "1.12.0";
|
||||
version = "1.13.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "juftin";
|
||||
repo = "browsr";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-4i9jm4Rz2GepJHUvYXfjfNa/RxY2+16CmtLP70pb/DQ=";
|
||||
hash = "sha256-vYb4XWBdQ4HJzICXNiBXit4aVgjYA9SCX15MppVtTS8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
|
|
|
@ -47,13 +47,13 @@ in
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "imagemagick";
|
||||
version = "7.1.1-13";
|
||||
version = "7.1.1-14";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ImageMagick";
|
||||
repo = "ImageMagick";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-HrUka7VLF9YH23TxDQeQpulQf3ssSfYOhi29v2onvCE=";
|
||||
hash = "sha256-vZ3ILHIRxwB3ho7hlJpC7hlo7Nhb56SjZ/hgdoh1rwY=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" "doc" ]; # bin/ isn't really big
|
||||
|
|
|
@ -2,28 +2,30 @@
|
|||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, installShellFiles
|
||||
, pkg-config
|
||||
, openssl
|
||||
, stdenv
|
||||
, darwin
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "artem";
|
||||
version = "1.2.1";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "finefindus";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-T652cdKVZqoZ+EwXmTSs9x+ftjvWOELjy37trCP7V+0=";
|
||||
hash = "sha256-liYZloaXN9doNyPO76iCaiZO9ZkNGBm+BxxNX87ZqBM=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-2LXpvAbkpk2sJHZJvytwLYksZK4coVYyKvuNRiDK0Gg=";
|
||||
cargoHash = "sha256-fTAuh4jbfNpFaEu1X0LwVA30ghQ6mh5/Afap7gUjzMc=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles pkg-config ];
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
|
||||
OPENSSL_NO_VENDOR = 1;
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
];
|
||||
|
||||
checkFlags = [
|
||||
# require internet access
|
||||
|
|
|
@ -12,13 +12,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "vipsdisp";
|
||||
version = "2.4.1";
|
||||
version = "2.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jcupitt";
|
||||
repo = "vipsdisp";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-zftvjH5hyWBpjRe5uQBDAqbThQaQFHz0UhzM5q8hSk8=";
|
||||
hash = "sha256-zAvwT6tlL4+EYxJSjnb3Eud1MVbj7Yz4vJcrqM5jXDQ=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
|
66
pkgs/applications/graphics/xpano/default.nix
Normal file
66
pkgs/applications/graphics/xpano/default.nix
Normal file
|
@ -0,0 +1,66 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, pkg-config
|
||||
, ninja
|
||||
, opencv
|
||||
, SDL2
|
||||
, gtk3
|
||||
, catch2_3
|
||||
, spdlog
|
||||
, exiv2
|
||||
, wrapGAppsHook
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xpano";
|
||||
version = "0.16.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "krupkat";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1f95spf7bbbdvbr4gqfyrs161049jj1wnkvf5wgsd0ga3vb15mcj";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
patches = [
|
||||
# force install desktop + icon files
|
||||
./skip_prefix_check.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
||||
pkg-config
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
opencv
|
||||
SDL2
|
||||
gtk3
|
||||
spdlog
|
||||
# exiv2 # TODO: enable when 0.28.0 is available
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
catch2_3
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_TESTING=ON"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A panorama stitching tool";
|
||||
homepage = "https://krupkat.github.io/xpano/";
|
||||
changelog = "https://github.com/krupkat/xpano/releases/tag/v${version}";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ krupkat ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
18
pkgs/applications/graphics/xpano/skip_prefix_check.patch
Normal file
18
pkgs/applications/graphics/xpano/skip_prefix_check.patch
Normal file
|
@ -0,0 +1,18 @@
|
|||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -167,7 +167,6 @@ install(FILES
|
||||
TYPE BIN
|
||||
)
|
||||
|
||||
-if(CMAKE_INSTALL_PREFIX MATCHES "^/usr.*|^/app.*")
|
||||
install(FILES
|
||||
"misc/build/linux/xpano.desktop"
|
||||
DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications"
|
||||
@@ -184,7 +183,6 @@ if(CMAKE_INSTALL_PREFIX MATCHES "^/usr.*|^/app.*")
|
||||
"misc/build/linux/cz.krupkat.Xpano.metainfo.xml"
|
||||
DESTINATION "${CMAKE_INSTALL_PREFIX}/share/metainfo"
|
||||
)
|
||||
-endif()
|
||||
|
||||
install(DIRECTORY
|
||||
"${CMAKE_SOURCE_DIR}/misc/assets"
|
|
@ -43,6 +43,6 @@ buildPythonPackage rec {
|
|||
description = "Unified tool for collecting system logs and other debug information";
|
||||
homepage = "https://github.com/sosreport/sos";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -44,6 +44,6 @@ rustPlatform.buildRustPackage rec {
|
|||
description = "Graphical tool to visualize binary data";
|
||||
homepage = "https://github.com/sharkdp/binocle";
|
||||
license = with licenses; [ asl20 /* or */ mit ];
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -30,6 +30,6 @@ buildGoModule rec {
|
|||
description = "Remote utility tool that to copy, paste and open browsers over TCP";
|
||||
homepage = "https://github.com/lemonade-command/lemonade/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
40
pkgs/applications/misc/typioca/default.nix
Normal file
40
pkgs/applications/misc/typioca/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, testers
|
||||
, typioca
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "typioca";
|
||||
version = "2.4.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bloznelis";
|
||||
repo = "typioca";
|
||||
rev = version;
|
||||
hash = "sha256-gSHJkMyRgJ58kccQAh1bJNveirDaqGjlhrzgvEX5c8o=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-umtBvcfQoMQdWmQIAReeOkhRq+pelZzPvFsTq5ZwPXU=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X=github.com/bloznelis/typioca/cmd.Version=${version}"
|
||||
];
|
||||
|
||||
passthru.tests = {
|
||||
version = testers.testVersion {
|
||||
package = typioca;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Cozy typing speed tester in terminal";
|
||||
homepage = "https://github.com/bloznelis/typioca";
|
||||
changelog = "https://github.com/bloznelis/typioca/releases/tag/${src.rev}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
};
|
||||
}
|
|
@ -86,7 +86,7 @@ mkChromiumDerivation (base: rec {
|
|||
else "https://www.chromium.org/";
|
||||
maintainers = with lib.maintainers; if ungoogled
|
||||
then [ squalus primeos michaeladler networkexception ]
|
||||
else [ primeos thefloweringash ];
|
||||
else [ primeos thefloweringash networkexception ];
|
||||
license = if enableWideVine then lib.licenses.unfree else lib.licenses.bsd3;
|
||||
platforms = lib.platforms.linux;
|
||||
mainProgram = "chromium";
|
||||
|
|
|
@ -309,7 +309,6 @@ let
|
|||
# To fix the build as we don't provide libffi_pic.a
|
||||
# (ld.lld: error: unable to find library -l:libffi_pic.a):
|
||||
use_system_libffi = true;
|
||||
} // lib.optionalAttrs (chromiumVersionAtLeast "115") {
|
||||
# Use nixpkgs Rust compiler instead of the one shipped by Chromium.
|
||||
# We do intentionally not set rustc_version as nixpkgs will never do incremental
|
||||
# rebuilds, thus leaving this empty is fine.
|
||||
|
|
|
@ -1,27 +1,27 @@
|
|||
{
|
||||
"stable": {
|
||||
"version": "114.0.5735.198",
|
||||
"sha256": "1shxlkass3s744mwc571cyzlb9cc8lxvi5wp35mzaldbxq7l9wx9",
|
||||
"sha256bin64": "0367sks2z7xj130bszimznkjjimfdimknd7qzi68335y9qzl1y92",
|
||||
"version": "115.0.5790.98",
|
||||
"sha256": "1wbasmwdqkg5jcmzpidvzjsq2n2dr73bxz85pr8a5j4grw767gpz",
|
||||
"sha256bin64": "0pyy348dgz2i8a8gacakli1brf6h1qx3m885ai9blkx1w1czvrj2",
|
||||
"deps": {
|
||||
"gn": {
|
||||
"version": "2023-04-19",
|
||||
"version": "2023-05-19",
|
||||
"url": "https://gn.googlesource.com/gn",
|
||||
"rev": "5a004f9427a050c6c393c07ddb85cba8ff3849fa",
|
||||
"sha256": "01xrh9m9m6x8lz0vxwdw2mrhrvnw93zpg09hwdhqakj06agf4jjk"
|
||||
"rev": "e9e83d9095d3234adf68f3e2866f25daf766d5c7",
|
||||
"sha256": "0y07c18xskq4mclqiz3a63fz8jicz2kqridnvdhqdf75lhp61f8a"
|
||||
}
|
||||
},
|
||||
"chromedriver": {
|
||||
"version": "114.0.5735.90",
|
||||
"sha256_linux": "0i3g79c4vdi5mys295lpzmmh0pgxhh14mjmz9amhq5rrn7w7wy57",
|
||||
"sha256_darwin": "0l0nzx64vrr2wggwdyrcv0xbv79avr431cppprl4dg62b39wkgba",
|
||||
"sha256_darwin_aarch64": "0z549y1w855ljia5w8sf9w6398pnn89y28pg26ygqad888b3msql"
|
||||
"version": "115.0.5790.98",
|
||||
"sha256_linux": "1797qmb213anvp9lmrkj6wmfdwkdfswmshmk1816zankw5dl883j",
|
||||
"sha256_darwin": "1c41cb7zh13ny4xvpwy7703cnjrkmqxd3n8zpja7n6a38mi8mgsk",
|
||||
"sha256_darwin_aarch64": "1kliszw10jnnlhzi8jrdzjq0r7vfn6ksk1spsh2rfn2hmghccv2d"
|
||||
}
|
||||
},
|
||||
"beta": {
|
||||
"version": "115.0.5790.90",
|
||||
"sha256": "156k5cijkxj44r4cn14k7r2xa11xp0nwi7nsgxfmg3dfsay05s42",
|
||||
"sha256bin64": "1b573bd19ywwy0k8570501az1cw3xnp6iy53zk1a1gawsn8f4pv5",
|
||||
"version": "115.0.5790.98",
|
||||
"sha256": "1wbasmwdqkg5jcmzpidvzjsq2n2dr73bxz85pr8a5j4grw767gpz",
|
||||
"sha256bin64": "0xbizb3d539h1cw1kj9ahd8azmkcdfjdmqb5bpp8cr21bh2qbqp5",
|
||||
"deps": {
|
||||
"gn": {
|
||||
"version": "2023-05-19",
|
||||
|
@ -32,9 +32,9 @@
|
|||
}
|
||||
},
|
||||
"dev": {
|
||||
"version": "116.0.5845.32",
|
||||
"sha256": "0migfx1snbsa9a42cv37x6bkpa9j7y3n6h6hs0w79ss1hxmmj2mi",
|
||||
"sha256bin64": "1zdr2340lbkvwyw303954ba8cay44p9a5d6b9l693kcrgkf4z8bz",
|
||||
"version": "116.0.5845.42",
|
||||
"sha256": "1fvhh8fvm0rkb41mhsh4p3bahf4fk3gixan2x1bappm3hdcixffb",
|
||||
"sha256bin64": "1zq4vyvm0vij03rc0zwzknm17108ka8bl1lsayp1133y2fgbl9f8",
|
||||
"deps": {
|
||||
"gn": {
|
||||
"version": "2023-06-09",
|
||||
|
@ -45,19 +45,19 @@
|
|||
}
|
||||
},
|
||||
"ungoogled-chromium": {
|
||||
"version": "114.0.5735.198",
|
||||
"sha256": "1shxlkass3s744mwc571cyzlb9cc8lxvi5wp35mzaldbxq7l9wx9",
|
||||
"sha256bin64": "0367sks2z7xj130bszimznkjjimfdimknd7qzi68335y9qzl1y92",
|
||||
"version": "115.0.5790.98",
|
||||
"sha256": "1wbasmwdqkg5jcmzpidvzjsq2n2dr73bxz85pr8a5j4grw767gpz",
|
||||
"sha256bin64": "0pyy348dgz2i8a8gacakli1brf6h1qx3m885ai9blkx1w1czvrj2",
|
||||
"deps": {
|
||||
"gn": {
|
||||
"version": "2023-04-19",
|
||||
"version": "2023-05-19",
|
||||
"url": "https://gn.googlesource.com/gn",
|
||||
"rev": "5a004f9427a050c6c393c07ddb85cba8ff3849fa",
|
||||
"sha256": "01xrh9m9m6x8lz0vxwdw2mrhrvnw93zpg09hwdhqakj06agf4jjk"
|
||||
"rev": "e9e83d9095d3234adf68f3e2866f25daf766d5c7",
|
||||
"sha256": "0y07c18xskq4mclqiz3a63fz8jicz2kqridnvdhqdf75lhp61f8a"
|
||||
},
|
||||
"ungoogled-patches": {
|
||||
"rev": "114.0.5735.198-1",
|
||||
"sha256": "1zda5c7n43zviwj3n2r2zbhmylkrfy54hggq8cisbdrhhfn96vii"
|
||||
"rev": "115.0.5790.98-1",
|
||||
"sha256": "1n5djr4bkq5y4b8fp8g9bkwfjqmz2kqlpsscizxpm7n3p8c2m3yn"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -83,6 +83,6 @@ stdenv.mkDerivation rec {
|
|||
homepage = "https://ibboard.co.uk/cawbird/";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with lib.maintainers; [ jonafato schmittlauch SuperSandro2000 ];
|
||||
maintainers = with lib.maintainers; [ jonafato schmittlauch ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "kubeseal";
|
||||
version = "0.22.0";
|
||||
version = "0.23.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bitnami-labs";
|
||||
repo = "sealed-secrets";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-Tp43JDLzfOARF+1aEG5A5POdOe0rMcllWPuAdlT6tdI=";
|
||||
sha256 = "sha256-Xtyn08rlBo17ouxSLQcVT8mQQ6nuDKPjE4OHBdze8/Q=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-JXWWdr5xmgXKwHx9h9X6Y0IZ4pEkBQxJSCR3CTjgJ5I=";
|
||||
vendorHash = "sha256-MTueX4+cZIUdjE2BRLVGv7PJr3haV11woJmrkeKFpr0=";
|
||||
|
||||
subPackages = [ "cmd/kubeseal" ];
|
||||
|
||||
|
@ -20,6 +20,7 @@ buildGoModule rec {
|
|||
meta = with lib; {
|
||||
description = "A Kubernetes controller and tool for one-way encrypted Secrets";
|
||||
homepage = "https://github.com/bitnami-labs/sealed-secrets";
|
||||
changelog = "https://github.com/bitnami-labs/sealed-secrets/blob/v${version}/RELEASE-NOTES.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ groodt ];
|
||||
};
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
--- vendor/modernc.org/libc/honnef.co/go/netdb/netdb.go
|
||||
+++ vendor/modernc.org/libc/honnef.co/go/netdb/netdb.go
|
||||
@@ -696,7 +696,7 @@ func init() {
|
||||
// Load protocols
|
||||
data, err := ioutil.ReadFile("/etc/protocols")
|
||||
if err != nil {
|
||||
- if !os.IsNotExist(err) {
|
||||
+ if !os.IsNotExist(err) && !os.IsPermission(err) {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
@@ -732,7 +732,7 @@ func init() {
|
||||
// Load services
|
||||
data, err = ioutil.ReadFile("/etc/services")
|
||||
if err != nil {
|
||||
- if !os.IsNotExist(err) {
|
||||
+ if !os.IsNotExist(err) && !os.IsPermission(err) {
|
||||
panic(err)
|
||||
}
|
||||
|
|
@ -1,6 +1,13 @@
|
|||
{ lib, fetchFromGitHub, buildGoModule, installShellFiles, symlinkJoin }:
|
||||
|
||||
let
|
||||
overrideModAttrs = old: {
|
||||
# https://gitlab.com/cznic/libc/-/merge_requests/10
|
||||
postBuild = ''
|
||||
patch -p0 < ${./darwin-sandbox-fix.patch}
|
||||
'';
|
||||
};
|
||||
|
||||
tctl-next = buildGoModule rec {
|
||||
pname = "tctl-next";
|
||||
version = "0.9.0";
|
||||
|
@ -12,7 +19,9 @@ let
|
|||
hash = "sha256-zgi1wNx7fWf/iFGKaVffcXnC90vUz+mBT6HhCGdXMa0=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-muTNwK2Sb2+0df/6DtAzT14gwyuqa13jkG6eQaqhSKg=";
|
||||
vendorHash = "sha256-EX1T3AygarJn4Zae2I8CHQrZakmbNF1OwE4YZFF+nKc=";
|
||||
|
||||
inherit overrideModAttrs;
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
|
@ -33,6 +42,8 @@ let
|
|||
--bash <($out/bin/temporal completion bash) \
|
||||
--zsh <($out/bin/temporal completion zsh)
|
||||
'';
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
};
|
||||
|
||||
tctl = buildGoModule rec {
|
||||
|
@ -46,7 +57,9 @@ let
|
|||
hash = "sha256-LcBKkx3mcDOrGT6yJx98CSgxbwskqGPWqOzHWOu6cig=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-BUYEeC5zli++OxVFgECJGqJkbDwglLppSxgo+4AqOb0=";
|
||||
vendorHash = "sha256-5wCIY95mJ6+FCln4yBu+fM4ZcsxBGcXkCvxjGzt0+dM=";
|
||||
|
||||
inherit overrideModAttrs;
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
|
@ -63,6 +76,8 @@ let
|
|||
--bash <($out/bin/tctl completion bash) \
|
||||
--zsh <($out/bin/tctl completion zsh)
|
||||
'';
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
};
|
||||
in
|
||||
symlinkJoin rec {
|
||||
|
@ -75,6 +90,8 @@ symlinkJoin rec {
|
|||
tctl
|
||||
];
|
||||
|
||||
passthru = { inherit tctl tctl-next; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Temporal CLI";
|
||||
homepage = "https://temporal.io";
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "yor";
|
||||
version = "0.1.182";
|
||||
version = "0.1.183";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bridgecrewio";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-iTiRKqjynKsp/MF1/VuGWs/pibFAm6gLFrDqEoCrfR4=";
|
||||
hash = "sha256-OMwDqBZPzjeG47CKk/heRo0JxyN7E7qh/dnV8cAzUfo=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-ZeTjGmlu8LndD2DKNncPzlpECdvkOjfwaVvV6S3sL9E=";
|
||||
|
|
|
@ -99,6 +99,6 @@ stdenv.mkDerivation rec {
|
|||
description = "Firewall daemon with D-Bus interface";
|
||||
homepage = "https://github.com/firewalld/firewalld";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||
click
|
||||
flask
|
||||
flask-babel
|
||||
jaraco_functools
|
||||
jaraco-functools
|
||||
jinja2
|
||||
markdown2
|
||||
ply
|
||||
|
|
|
@ -27,11 +27,11 @@ let
|
|||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "PortfolioPerformance";
|
||||
version = "0.64.4";
|
||||
version = "0.64.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/buchen/portfolio/releases/download/${version}/PortfolioPerformance-${version}-linux.gtk.x86_64.tar.gz";
|
||||
hash = "sha256-RjwZVJxPVbSlC0huGsreMdKDFV97bshoGA302u4N0Vk=";
|
||||
hash = "sha256-dF8w5JyUNypLyPqFC6dWLArPjykvy9BPZnHYs6lyYQM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -19,13 +19,13 @@ in
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "dssp";
|
||||
version = "4.3.1";
|
||||
version = "4.4.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "PDB-REDO";
|
||||
repo = "dssp";
|
||||
rev = "refs/tags/v${finalAttrs.version}";
|
||||
hash = "sha256-TE2fus3KaGd9jo7cOWmJSooHjxTbcxEldR1Mui2SGP0=";
|
||||
hash = "sha256-Gic/rE/G24P5g4Uhf2lcvVa6i/4KGQzCpK4KlpjXcS0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -63,7 +63,7 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
downloadPage = "https://github.com/AGWA/git-crypt/releases";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ dochang SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ dochang ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ rustPlatform.buildRustPackage rec {
|
|||
postPatch = ''
|
||||
# unknown lint: `ffi_unwind_calls`
|
||||
# note: the `ffi_unwind_calls` lint is unstable
|
||||
substituteInPlace src/main.rs src/{config,core,display,input,git,runtime,todo_file,view}/src/lib.rs \
|
||||
substituteInPlace src/main.rs src/{config,core,display,input,git,runtime,todo_file,testutils,view}/src/lib.rs \
|
||||
--replace "ffi_unwind_calls," ""
|
||||
'';
|
||||
|
||||
|
@ -27,14 +27,16 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
|
||||
|
||||
checkFlags = [
|
||||
"--skip=external_editor::tests::edit_success"
|
||||
"--skip=external_editor::tests::editor_non_zero_exit"
|
||||
"--skip=external_editor::tests::empty_edit_abort_rebase"
|
||||
"--skip=external_editor::tests::empty_edit_error"
|
||||
"--skip=external_editor::tests::empty_edit_noop"
|
||||
"--skip=external_editor::tests::empty_edit_re_edit_rebase_file"
|
||||
"--skip=external_editor::tests::empty_edit_undo_and_edit"
|
||||
# Compilation during tests fails if this env var is not set.
|
||||
preCheck = "export GIRT_BUILD_GIT_HASH=${version}";
|
||||
postCheck = "unset GIRT_BUILD_GIT_HASH";
|
||||
cargoTestFlags = [
|
||||
"--workspace"
|
||||
# build everything except for doctests which are currently broken because
|
||||
# `config::lib` expects the sourcetree to be a git repo.
|
||||
"--tests"
|
||||
"--lib"
|
||||
"--bins"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -42,7 +44,7 @@ rustPlatform.buildRustPackage rec {
|
|||
description = "Native cross platform full feature terminal based sequence editor for git interactive rebase";
|
||||
changelog = "https://github.com/MitMaro/git-interactive-rebase-tool/releases/tag/${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 zowoq ];
|
||||
maintainers = with maintainers; [ SuperSandro2000 zowoq ma27 ];
|
||||
mainProgram = "interactive-rebase-tool";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -11,6 +11,6 @@ bundlerApp {
|
|||
description = "GitLab's issues and merge requests triage, automated!";
|
||||
homepage = "https://gitlab.com/gitlab-org/gitlab-triage";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -36,6 +36,6 @@ buildGoModule rec {
|
|||
description = "Lab wraps Git or Hub, making it simple to clone, fork, and interact with repositories on GitLab";
|
||||
homepage = "https://zaquestion.github.io/lab";
|
||||
license = licenses.cc0;
|
||||
maintainers = with maintainers; [ marsam dtzWill SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ marsam dtzWill ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -28,6 +28,6 @@ rustPlatform.buildRustPackage rec {
|
|||
description = "A fast git core.fsmonitor hook written in Rust";
|
||||
homepage = "https://github.com/jgavris/rs-git-fsmonitor";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.SuperSandro2000 ];
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
|
|
103
pkgs/applications/video/multiviewer-for-f1/default.nix
Normal file
103
pkgs/applications/video/multiviewer-for-f1/default.nix
Normal file
|
@ -0,0 +1,103 @@
|
|||
{ stdenvNoCC
|
||||
, fetchurl
|
||||
, lib
|
||||
, makeWrapper
|
||||
, autoPatchelfHook
|
||||
, dpkg
|
||||
, alsa-lib
|
||||
, at-spi2-atk
|
||||
, cairo
|
||||
, cups
|
||||
, dbus
|
||||
, expat
|
||||
, ffmpeg
|
||||
, glib
|
||||
, gtk3
|
||||
, libdrm
|
||||
, libudev0-shim
|
||||
, libxkbcommon
|
||||
, mesa
|
||||
, nspr
|
||||
, nss
|
||||
, pango
|
||||
, xorg
|
||||
}:
|
||||
|
||||
let
|
||||
id = "117980724";
|
||||
in
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "multiviewer-for-f1";
|
||||
version = "1.24.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://releases.multiviewer.dev/download/${id}/multiviewer-for-f1_${version}_amd64.deb";
|
||||
sha256 = "sha256-uEcxDIWolouIUJ8Xuva3rtW51gfCddAwTGqOBnucmmY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
dpkg
|
||||
makeWrapper
|
||||
autoPatchelfHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
alsa-lib
|
||||
at-spi2-atk
|
||||
cairo
|
||||
cups
|
||||
dbus
|
||||
expat
|
||||
ffmpeg
|
||||
glib
|
||||
gtk3
|
||||
libdrm
|
||||
libxkbcommon
|
||||
mesa
|
||||
nspr
|
||||
nss
|
||||
pango
|
||||
xorg.libX11
|
||||
xorg.libXcomposite
|
||||
xorg.libxcb
|
||||
xorg.libXdamage
|
||||
xorg.libXext
|
||||
xorg.libXfixes
|
||||
xorg.libXrandr
|
||||
];
|
||||
|
||||
dontBuild = true;
|
||||
dontConfigure = true;
|
||||
|
||||
unpackPhase = ''
|
||||
runHook preUnpack
|
||||
|
||||
# The deb file contains a setuid binary, so 'dpkg -x' doesn't work here
|
||||
dpkg --fsys-tarfile $src | tar --extract
|
||||
|
||||
runHook postUnpack
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin $out/share
|
||||
mv -t $out/share usr/share/* usr/lib/multiviewer-for-f1
|
||||
|
||||
makeWrapper "$out/share/multiviewer-for-f1/MultiViewer for F1" $out/bin/multiviewer-for-f1 \
|
||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland --enable-features=WaylandWindowDecorations}}" \
|
||||
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libudev0-shim ]}:\"$out/share/Multiviewer for F1\""
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Unofficial desktop client for F1 TV®";
|
||||
homepage = "https://multiviewer.app";
|
||||
downloadPage = "https://multiviewer.app/download";
|
||||
license = licenses.unfree;
|
||||
maintainers = with maintainers; [ babeuh ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
||||
|
|
@ -6,12 +6,12 @@
|
|||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "streamlink";
|
||||
version = "5.5.1";
|
||||
version = "6.0.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-srT+jWQ22+e87HjeLUu3gBVjiFYUNbYaGWMVbp/F+9A=";
|
||||
hash = "sha256-BeP+YOBtTz1D//LDBMha+07yVXdgBHfM4v4aVNHzwAw=";
|
||||
};
|
||||
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
|
@ -20,6 +20,7 @@ python3Packages.buildPythonApplication rec {
|
|||
requests-mock
|
||||
freezegun
|
||||
pytest-asyncio
|
||||
pytest-trio
|
||||
];
|
||||
|
||||
nativeBuildInputs = with python3Packages; [
|
||||
|
@ -27,15 +28,18 @@ python3Packages.buildPythonApplication rec {
|
|||
];
|
||||
|
||||
propagatedBuildInputs = (with python3Packages; [
|
||||
certifi
|
||||
isodate
|
||||
lxml
|
||||
pycountry
|
||||
pycryptodome
|
||||
pysocks
|
||||
requests
|
||||
websocket-client
|
||||
trio
|
||||
trio-websocket
|
||||
typing-extensions
|
||||
urllib3
|
||||
certifi
|
||||
websocket-client
|
||||
]) ++ [
|
||||
ffmpeg
|
||||
];
|
||||
|
|
|
@ -34,6 +34,6 @@ buildGoModule rec {
|
|||
description = "Docker CLI plugin to define and run multi-container applications with Docker";
|
||||
homepage = "https://github.com/docker/compose";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ babariviere SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ babariviere ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -48,6 +48,6 @@ stdenv.mkDerivation rec {
|
|||
description = "Audio decoding, resampling and mixing library for SDL";
|
||||
homepage = "https://github.com/realnc/SDL_audiolib";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -25,6 +25,6 @@ stdenv.mkDerivation rec {
|
|||
description = "A simple header-only C++ argument parser library";
|
||||
homepage = "https://github.com/Taywee/args";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -41,6 +41,6 @@ stdenv.mkDerivation rec {
|
|||
description = "This is an implementation of double-array structure for representing trie";
|
||||
license = licenses.lgpl21Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -35,6 +35,6 @@ stdenv.mkDerivation rec {
|
|||
description = "Library to easily check a domain against the Chromium HSTS Preload list";
|
||||
homepage = "https://gitlab.com/rockdaboot/libhsts";
|
||||
license = with licenses; [ mit bsd3 ];
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -26,6 +26,6 @@ stdenv.mkDerivation rec {
|
|||
description = "Set of Thai language support routines";
|
||||
license = licenses.lgpl21Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -6,13 +6,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nghttp3";
|
||||
version = "0.12.0";
|
||||
version = "0.13.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ngtcp2";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-jbD//8BNqzX2T2F0JH+Vsoi/D+8HZIPXGnHoj3hzqPk=";
|
||||
hash = "sha256-ypoq+wXBaA5p5ZjRC8SNn9jHcMHHLJZLDLNOFMoua0g=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" "doc" ];
|
||||
|
|
|
@ -100,7 +100,7 @@ let
|
|||
description = "A clang wrapper library with an OpenCL-oriented API and the ability to compile OpenCL C kernels to SPIR-V modules";
|
||||
license = licenses.ncsa;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
};
|
||||
in
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
"@antora/cli" = "antora";
|
||||
"@astrojs/language-server" = "astro-ls";
|
||||
"@babel/cli" = "babel";
|
||||
"@bitwarden/cli" = "bw";
|
||||
"@commitlint/cli" = "commitlint";
|
||||
"@forge/cli" = "forge";
|
||||
"@gitbeaker/cli" = "gitbeaker";
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
, "@antfu/ni"
|
||||
, "@astrojs/language-server"
|
||||
, "@babel/cli"
|
||||
, "@bitwarden/cli"
|
||||
, "@commitlint/cli"
|
||||
, "@commitlint/config-conventional"
|
||||
, "@emacs-eask/cli"
|
||||
|
|
|
@ -93,21 +93,6 @@ final: prev: {
|
|||
'';
|
||||
};
|
||||
|
||||
bitwarden-cli = prev."@bitwarden/cli".override {
|
||||
name = "bitwarden-cli";
|
||||
nativeBuildInputs = with pkgs; [
|
||||
pkg-config
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.CoreText
|
||||
];
|
||||
buildInputs = with pkgs; [
|
||||
pixman
|
||||
cairo
|
||||
pango
|
||||
giflib
|
||||
];
|
||||
};
|
||||
|
||||
bower2nix = prev.bower2nix.override {
|
||||
nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
|
||||
postInstall = ''
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
buildDunePackage rec {
|
||||
pname = "ogg";
|
||||
version = "0.7.3";
|
||||
version = "0.7.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "savonet";
|
||||
repo = "ocaml-ogg";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-D6tLKBSGfWBoMfQrWmamd8jo2AOphJV9xeSm+l06L5c=";
|
||||
sha256 = "sha256-S6rJw90c//a9d63weCLuOBoQwNqbpTb+lRytvHUOZuc=";
|
||||
};
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ buildPecl, lib, fetchFromGitHub }:
|
||||
|
||||
let
|
||||
version = "3.2.1";
|
||||
version = "3.2.2";
|
||||
in buildPecl {
|
||||
inherit version;
|
||||
|
||||
|
@ -11,7 +11,7 @@ in buildPecl {
|
|||
owner = "xdebug";
|
||||
repo = "xdebug";
|
||||
rev = version;
|
||||
sha256 = "sha256-WKvMnn8yp6JBFu7xzPOt6sdg5JE8SRniLZbSBvi3ecQ=";
|
||||
hash = "sha256-zbgJw2oPzyUTK0UwLAqpShBi+toVsEQcjoG4tIBder0=";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
|
@ -19,11 +19,11 @@ in buildPecl {
|
|||
|
||||
zendExtension = true;
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
changelog = "https://github.com/xdebug/xdebug/releases/tag/${version}";
|
||||
description = "Provides functions for function traces and profiling";
|
||||
license = licenses.php301;
|
||||
homepage = "https://xdebug.org/";
|
||||
maintainers = teams.php.members;
|
||||
license = lib.licenses.php301;
|
||||
maintainers = lib.teams.php.members;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -45,6 +45,6 @@ buildPythonPackage rec {
|
|||
homepage = "http://blockdiag.com/";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ bjornfor SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ bjornfor ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -7,14 +7,14 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "aliyun-python-sdk-iot";
|
||||
version = "8.54.0";
|
||||
version = "8.55.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-hNEtZQOfhnGNeXkR44fgDKrP+Nut0rqcLlnrDdcuOM4=";
|
||||
hash = "sha256-cLiOdXZpjZUVJ0O0rykM6GQH0pXaiMQp1zH6kuDLqOY=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
|
@ -27,11 +27,11 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "ansible-core";
|
||||
version = "2.15.1";
|
||||
version = "2.15.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-7SjrSUPkgABO3Juh6b7peaBlDLL5Nyzkor1XKDjGDSs=";
|
||||
hash = "sha256-hCUbAB8vnAkUvu3/zxlSnnRaExCBWdH+J96eOmpjrFo=";
|
||||
};
|
||||
|
||||
# ansible_connection is already wrapped, so don't pass it through
|
||||
|
|
|
@ -27,6 +27,6 @@ buildPythonPackage rec {
|
|||
description = "Recursive descent parser with memoization based on PEG grammars (aka Packrat parser)";
|
||||
homepage = "https://github.com/textX/Arpeggio";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -44,6 +44,6 @@ buildPythonPackage rec {
|
|||
description = "Reference ASGI adapters and channel layers";
|
||||
homepage = "https://github.com/django/asgiref";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -42,6 +42,6 @@ buildPythonPackage rec {
|
|||
description = "ASN.1 parsing, encoding and decoding";
|
||||
homepage = "https://github.com/eerimoq/asn1tools";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -54,6 +54,6 @@ buildPythonPackage rec {
|
|||
description = "Python wrapper for aspell (C extension and Python version)";
|
||||
homepage = "https://github.com/WojciechMula/aspell-python";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -58,6 +58,6 @@ buildPythonPackage rec {
|
|||
description = "An abstract syntax tree for Python with inference support";
|
||||
homepage = "https://github.com/PyCQA/astroid";
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -108,6 +108,6 @@ buildPythonPackage rec {
|
|||
description = "WebSocket and WAMP in Python for Twisted and asyncio";
|
||||
homepage = "https://crossbar.io/autobahn";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -26,6 +26,6 @@ buildPythonPackage rec {
|
|||
description = " Autocommand turns a python function into a CLI program ";
|
||||
homepage = "https://github.com/Lucretiel/autocommand";
|
||||
license = licenses.lgpl3;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -43,6 +43,6 @@ let automat = buildPythonPackage rec {
|
|||
homepage = "https://github.com/glyph/Automat";
|
||||
description = "Self-service finite-state machines for the programmer on the go";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}; in automat
|
||||
|
|
|
@ -52,6 +52,6 @@ buildPythonPackage rec {
|
|||
changelog = "https://github.com/python-babel/babel/releases/tag/v${version}";
|
||||
description = "Collection of internationalizing tools";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -31,6 +31,6 @@ buildPythonPackage rec {
|
|||
description = "Backport of Python 3.11's datetime.fromisoformat";
|
||||
homepage = "https://github.com/movermeyer/backports.datetime_fromisoformat";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -39,6 +39,6 @@ buildPythonPackage rec {
|
|||
description = "Compatibility shim providing selectable entry points for older implementations";
|
||||
homepage = "https://github.com/jaraco/backports.entry_points_selectable";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -21,6 +21,6 @@ buildPythonPackage rec {
|
|||
description = "Provides a function install() which makes the mock module";
|
||||
homepage = "https://github.com/jaraco/backports.unittest_mock";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -45,6 +45,6 @@ buildPythonPackage rec {
|
|||
homepage = "https://github.com/digitalbitbox/bitbox02-firmware/";
|
||||
changelog = "https://github.com/digitalbitbox/bitbox02-firmware/blob/py-bitbox02-${version}/CHANGELOG.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -21,6 +21,6 @@ buildPythonPackage rec {
|
|||
homepage = "https://pythonhosted.org/blinker/";
|
||||
description = "Fast, simple object-to-object and broadcast signaling";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -61,6 +61,6 @@ buildPythonPackage rec {
|
|||
homepage = "http://blockdiag.com/";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ bjornfor SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ bjornfor ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -29,6 +29,6 @@ buildPythonPackage rec {
|
|||
description = "Bash style brace expansion for Python";
|
||||
homepage = "https://github.com/facelessuser/bracex";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -32,6 +32,6 @@ buildPythonPackage rec {
|
|||
homepage = "https://github.com/google/brotli";
|
||||
description = "Generic-purpose lossless compression algorithm";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -75,7 +75,7 @@ buildPythonPackage rec {
|
|||
meta = with lib; {
|
||||
homepage = "https://github.com/SimonSapin/cairocffi";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
description = "cffi-based cairo bindings for Python";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -46,6 +46,6 @@ buildPythonPackage rec {
|
|||
homepage = "https://cairosvg.org";
|
||||
license = licenses.lgpl3Plus;
|
||||
description = "SVG converter based on Cairo";
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -47,6 +47,6 @@ buildPythonPackage rec {
|
|||
homepage = "https://github.com/certifi/python-certifi";
|
||||
description = "Python package for providing Mozilla's CA Bundle";
|
||||
license = licenses.isc;
|
||||
maintainers = with maintainers; [ koral SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ koral ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, jaraco_functools
|
||||
, jaraco_text
|
||||
, jaraco-functools
|
||||
, jaraco-text
|
||||
, more-itertools
|
||||
, portend
|
||||
, pypytools
|
||||
|
@ -35,13 +35,13 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
jaraco_functools
|
||||
jaraco-functools
|
||||
more-itertools
|
||||
six
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
jaraco_text
|
||||
jaraco-text
|
||||
portend
|
||||
pypytools
|
||||
pytest-mock
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
, buildPythonPackage
|
||||
, cheroot
|
||||
, fetchPypi
|
||||
, jaraco_collections
|
||||
, jaraco-collections
|
||||
, more-itertools
|
||||
, objgraph
|
||||
, path
|
||||
|
@ -53,7 +53,7 @@ buildPythonPackage rec {
|
|||
portend
|
||||
more-itertools
|
||||
zc_lockfile
|
||||
jaraco_collections
|
||||
jaraco-collections
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
|
|
@ -32,6 +32,6 @@ buildPythonPackage {
|
|||
description = "Build a simple command-line interface from your functions :computer:";
|
||||
homepage = "https://github.com/kootenpv/cliche";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -43,6 +43,6 @@ buildPythonPackage rec {
|
|||
composable way, with as little code as necessary.
|
||||
'';
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -35,6 +35,6 @@ buildPythonPackage rec {
|
|||
homepage = "https://github.com/sebageek/clintermission";
|
||||
changelog = "https://github.com/sebageek/clintermission/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -67,6 +67,6 @@ buildPythonPackage rec {
|
|||
description = "Cross-platform bindings for libsecp256k1";
|
||||
homepage = "https://github.com/ofek/coincurve";
|
||||
license = with licenses; [ asl20 mit ];
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -29,6 +29,6 @@ buildPythonPackage rec {
|
|||
description = "Add JavaScript or Python style comments in JSON";
|
||||
homepage = "https://github.com/vaidik/commentjson/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -20,6 +20,6 @@ buildPythonPackage rec {
|
|||
description = "Utilities for working with datetime objects.";
|
||||
homepage = "https://github.com/jmcantrell/python-dateutils";
|
||||
license = licenses.bsd0;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -43,6 +43,6 @@ buildPythonPackage rec {
|
|||
homepage = "https://github.com/googleapis/python-db-dtypes-pandas";
|
||||
changelog = "https://github.com/googleapis/python-db-dtypes-pandas/blob/v${version}/CHANGELOG.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
60
pkgs/development/python-modules/dbt-bigquery/default.nix
Normal file
60
pkgs/development/python-modules/dbt-bigquery/default.nix
Normal file
|
@ -0,0 +1,60 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, agate
|
||||
, dbt-core
|
||||
, google-cloud-bigquery
|
||||
, google-cloud-storage
|
||||
, google-cloud-dataproc
|
||||
, pytestCheckHook
|
||||
, pythonRelaxDepsHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dbt-bigquery";
|
||||
version = "1.5.3";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dbt-labs";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-mzqUdT+dI7U0tHHcr0joIB1UCfKXrDdqhtVFShjIKus=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"agate"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
agate
|
||||
dbt-core
|
||||
google-cloud-bigquery
|
||||
google-cloud-storage
|
||||
google-cloud-dataproc
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"tests/unit"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"dbt.adapters.bigquery"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Plugin enabling dbt to operate on a BigQuery database";
|
||||
homepage = "https://github.com/dbt-labs/dbt-bigquery";
|
||||
changelog = "https://github.com/dbt-labs/dbt-bigquery/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ tjni ];
|
||||
};
|
||||
}
|
113
pkgs/development/python-modules/dbt-core/default.nix
Normal file
113
pkgs/development/python-modules/dbt-core/default.nix
Normal file
|
@ -0,0 +1,113 @@
|
|||
{ lib
|
||||
, python3
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, agate
|
||||
, cffi
|
||||
, click
|
||||
, colorama
|
||||
, dbt-extractor
|
||||
, hologram
|
||||
, idna
|
||||
, isodate
|
||||
, jinja2
|
||||
, logbook
|
||||
, mashumaro
|
||||
, minimal-snowplow-tracker
|
||||
, networkx
|
||||
, packaging
|
||||
, pathspec
|
||||
, protobuf
|
||||
, pythonRelaxDepsHook
|
||||
, pytz
|
||||
, pyyaml
|
||||
, requests
|
||||
, sqlparse
|
||||
, typing-extensions
|
||||
, urllib3
|
||||
, werkzeug
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dbt-core";
|
||||
version = "1.5.3";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dbt-labs";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-ZgP11fVMtXpzo9QaTkejvKl0LzCAkIyGBMcOquBirxQ=";
|
||||
};
|
||||
|
||||
sourceRoot = "source/core";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"agate"
|
||||
"click"
|
||||
"mashumaro"
|
||||
"networkx"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
agate
|
||||
cffi
|
||||
click
|
||||
colorama
|
||||
dbt-extractor
|
||||
hologram
|
||||
idna
|
||||
isodate
|
||||
jinja2
|
||||
logbook
|
||||
mashumaro
|
||||
minimal-snowplow-tracker
|
||||
networkx
|
||||
packaging
|
||||
pathspec
|
||||
protobuf
|
||||
pytz
|
||||
pyyaml
|
||||
requests
|
||||
sqlparse
|
||||
typing-extensions
|
||||
urllib3
|
||||
werkzeug
|
||||
] ++ mashumaro.optional-dependencies.msgpack;
|
||||
|
||||
# tests exist for the dbt tool but not for this package specifically
|
||||
doCheck = false;
|
||||
|
||||
passthru = {
|
||||
withAdapters = python3.pkgs.callPackage ./with-adapters.nix { };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications";
|
||||
longDescription = ''
|
||||
The dbt tool needs adapters to data sources in order to work. The available
|
||||
adapters are:
|
||||
|
||||
dbt-bigquery
|
||||
dbt-postgres
|
||||
dbt-redshift
|
||||
dbt-snowflake
|
||||
|
||||
An example of building this package with a few adapters:
|
||||
|
||||
dbt.withAdapters (adapters: [
|
||||
adapters.dbt-bigquery
|
||||
adapters.dbt-postgres
|
||||
])
|
||||
'';
|
||||
homepage = "https://github.com/dbt-labs/dbt-core";
|
||||
changelog = "https://github.com/dbt-labs/dbt-core/blob/v${version}/CHANGELOG.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ mausch tjni ];
|
||||
mainProgram = "dbt";
|
||||
};
|
||||
}
|
18
pkgs/development/python-modules/dbt-core/with-adapters.nix
Normal file
18
pkgs/development/python-modules/dbt-core/with-adapters.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ python3
|
||||
, dbt-bigquery
|
||||
, dbt-core
|
||||
, dbt-postgres
|
||||
, dbt-redshift
|
||||
, dbt-snowflake
|
||||
}:
|
||||
let
|
||||
adapters = {
|
||||
inherit dbt-bigquery dbt-postgres dbt-redshift dbt-snowflake;
|
||||
};
|
||||
in
|
||||
adapterFun: (python3.buildEnv.override {
|
||||
extraLibs = [ dbt-core ] ++ (adapterFun adapters);
|
||||
ignoreCollisions = true;
|
||||
}).overrideAttrs {
|
||||
meta.mainProgram = dbt-core.meta.mainProgram;
|
||||
}
|
531
pkgs/development/python-modules/dbt-extractor/Cargo.lock
generated
Normal file
531
pkgs/development/python-modules/dbt-extractor/Cargo.lock
generated
Normal file
|
@ -0,0 +1,531 @@
|
|||
# This file is automatically @generated by Cargo.
|
||||
# It is not intended for manual editing.
|
||||
version = 3
|
||||
|
||||
[[package]]
|
||||
name = "aho-corasick"
|
||||
version = "0.7.18"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f"
|
||||
dependencies = [
|
||||
"memchr",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "autocfg"
|
||||
version = "1.0.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"
|
||||
|
||||
[[package]]
|
||||
name = "bitflags"
|
||||
version = "1.3.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
|
||||
|
||||
[[package]]
|
||||
name = "cc"
|
||||
version = "1.0.69"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e70cc2f62c6ce1868963827bd677764c62d07c3d9a3e1fb1177ee1a9ab199eb2"
|
||||
|
||||
[[package]]
|
||||
name = "cfg-if"
|
||||
version = "1.0.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
||||
|
||||
[[package]]
|
||||
name = "crossbeam-channel"
|
||||
version = "0.5.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "06ed27e177f16d65f0f0c22a213e17c696ace5dd64b14258b52f9417ccb52db4"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"crossbeam-utils",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "crossbeam-deque"
|
||||
version = "0.8.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"crossbeam-epoch",
|
||||
"crossbeam-utils",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "crossbeam-epoch"
|
||||
version = "0.9.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "4ec02e091aa634e2c3ada4a392989e7c3116673ef0ac5b72232439094d73b7fd"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"crossbeam-utils",
|
||||
"lazy_static",
|
||||
"memoffset",
|
||||
"scopeguard",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "crossbeam-utils"
|
||||
version = "0.8.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"lazy_static",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "dbt-extractor"
|
||||
version = "0.4.1"
|
||||
dependencies = [
|
||||
"pyo3",
|
||||
"quickcheck",
|
||||
"quickcheck_macros",
|
||||
"rayon",
|
||||
"thiserror",
|
||||
"tree-sitter",
|
||||
"tree-sitter-jinja2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "either"
|
||||
version = "1.6.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457"
|
||||
|
||||
[[package]]
|
||||
name = "env_logger"
|
||||
version = "0.8.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3"
|
||||
dependencies = [
|
||||
"log",
|
||||
"regex",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "getrandom"
|
||||
version = "0.2.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"libc",
|
||||
"wasi",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "hermit-abi"
|
||||
version = "0.1.19"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
|
||||
dependencies = [
|
||||
"libc",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "indoc"
|
||||
version = "0.3.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "47741a8bc60fb26eb8d6e0238bbb26d8575ff623fdc97b1a2c00c050b9684ed8"
|
||||
dependencies = [
|
||||
"indoc-impl",
|
||||
"proc-macro-hack",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "indoc-impl"
|
||||
version = "0.3.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ce046d161f000fffde5f432a0d034d0341dc152643b2598ed5bfce44c4f3a8f0"
|
||||
dependencies = [
|
||||
"proc-macro-hack",
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn",
|
||||
"unindent",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "instant"
|
||||
version = "0.1.10"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "bee0328b1209d157ef001c94dd85b4f8f64139adb0eac2659f4b08382b2f474d"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "lazy_static"
|
||||
version = "1.4.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
|
||||
|
||||
[[package]]
|
||||
name = "libc"
|
||||
version = "0.2.101"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "3cb00336871be5ed2c8ed44b60ae9959dc5b9f08539422ed43f09e34ecaeba21"
|
||||
|
||||
[[package]]
|
||||
name = "lock_api"
|
||||
version = "0.4.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0382880606dff6d15c9476c416d18690b72742aa7b605bb6dd6ec9030fbf07eb"
|
||||
dependencies = [
|
||||
"scopeguard",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "log"
|
||||
version = "0.4.14"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "memchr"
|
||||
version = "2.4.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a"
|
||||
|
||||
[[package]]
|
||||
name = "memoffset"
|
||||
version = "0.6.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "59accc507f1338036a0477ef61afdae33cde60840f4dfe481319ce3ad116ddf9"
|
||||
dependencies = [
|
||||
"autocfg",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "num_cpus"
|
||||
version = "1.13.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3"
|
||||
dependencies = [
|
||||
"hermit-abi",
|
||||
"libc",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "once_cell"
|
||||
version = "1.9.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "da32515d9f6e6e489d7bc9d84c71b060db7247dc035bbe44eac88cf87486d8d5"
|
||||
|
||||
[[package]]
|
||||
name = "parking_lot"
|
||||
version = "0.11.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "6d7744ac029df22dca6284efe4e898991d28e3085c706c972bcd7da4a27a15eb"
|
||||
dependencies = [
|
||||
"instant",
|
||||
"lock_api",
|
||||
"parking_lot_core",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "parking_lot_core"
|
||||
version = "0.8.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "fa7a782938e745763fe6907fc6ba86946d72f49fe7e21de074e08128a99fb018"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"instant",
|
||||
"libc",
|
||||
"redox_syscall",
|
||||
"smallvec",
|
||||
"winapi",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "paste"
|
||||
version = "0.1.18"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "45ca20c77d80be666aef2b45486da86238fabe33e38306bd3118fe4af33fa880"
|
||||
dependencies = [
|
||||
"paste-impl",
|
||||
"proc-macro-hack",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "paste-impl"
|
||||
version = "0.1.18"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d95a7db200b97ef370c8e6de0088252f7e0dfff7d047a28528e47456c0fc98b6"
|
||||
dependencies = [
|
||||
"proc-macro-hack",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "proc-macro-hack"
|
||||
version = "0.5.19"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5"
|
||||
|
||||
[[package]]
|
||||
name = "proc-macro2"
|
||||
version = "1.0.28"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5c7ed8b8c7b886ea3ed7dde405212185f423ab44682667c8c6dd14aa1d9f6612"
|
||||
dependencies = [
|
||||
"unicode-xid",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "pyo3"
|
||||
version = "0.15.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7cf01dbf1c05af0a14c7779ed6f3aa9deac9c3419606ac9de537a2d649005720"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"indoc",
|
||||
"libc",
|
||||
"parking_lot",
|
||||
"paste",
|
||||
"pyo3-build-config",
|
||||
"pyo3-macros",
|
||||
"unindent",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "pyo3-build-config"
|
||||
version = "0.15.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "dbf9e4d128bfbddc898ad3409900080d8d5095c379632fbbfbb9c8cfb1fb852b"
|
||||
dependencies = [
|
||||
"once_cell",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "pyo3-macros"
|
||||
version = "0.15.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "67701eb32b1f9a9722b4bc54b548ff9d7ebfded011c12daece7b9063be1fd755"
|
||||
dependencies = [
|
||||
"pyo3-macros-backend",
|
||||
"quote",
|
||||
"syn",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "pyo3-macros-backend"
|
||||
version = "0.15.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f44f09e825ee49a105f2c7b23ebee50886a9aee0746f4dd5a704138a64b0218a"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"pyo3-build-config",
|
||||
"quote",
|
||||
"syn",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "quickcheck"
|
||||
version = "1.0.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "588f6378e4dd99458b60ec275b4477add41ce4fa9f64dcba6f15adccb19b50d6"
|
||||
dependencies = [
|
||||
"env_logger",
|
||||
"log",
|
||||
"rand",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "quickcheck_macros"
|
||||
version = "1.0.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b22a693222d716a9587786f37ac3f6b4faedb5b80c23914e7303ff5a1d8016e9"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "quote"
|
||||
version = "1.0.9"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "rand"
|
||||
version = "0.8.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8"
|
||||
dependencies = [
|
||||
"rand_core",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "rand_core"
|
||||
version = "0.6.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7"
|
||||
dependencies = [
|
||||
"getrandom",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "rayon"
|
||||
version = "1.5.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c06aca804d41dbc8ba42dfd964f0d01334eceb64314b9ecf7c5fad5188a06d90"
|
||||
dependencies = [
|
||||
"autocfg",
|
||||
"crossbeam-deque",
|
||||
"either",
|
||||
"rayon-core",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "rayon-core"
|
||||
version = "1.9.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d78120e2c850279833f1dd3582f730c4ab53ed95aeaaaa862a2a5c71b1656d8e"
|
||||
dependencies = [
|
||||
"crossbeam-channel",
|
||||
"crossbeam-deque",
|
||||
"crossbeam-utils",
|
||||
"lazy_static",
|
||||
"num_cpus",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "redox_syscall"
|
||||
version = "0.2.10"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8383f39639269cde97d255a32bdb68c047337295414940c68bdd30c2e13203ff"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "regex"
|
||||
version = "1.5.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461"
|
||||
dependencies = [
|
||||
"aho-corasick",
|
||||
"memchr",
|
||||
"regex-syntax",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "regex-syntax"
|
||||
version = "0.6.25"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b"
|
||||
|
||||
[[package]]
|
||||
name = "scopeguard"
|
||||
version = "1.1.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
|
||||
|
||||
[[package]]
|
||||
name = "smallvec"
|
||||
version = "1.6.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e"
|
||||
|
||||
[[package]]
|
||||
name = "syn"
|
||||
version = "1.0.75"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b7f58f7e8eaa0009c5fec437aabf511bd9933e4b2d7407bd05273c01a8906ea7"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"unicode-xid",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "thiserror"
|
||||
version = "1.0.26"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "93119e4feac1cbe6c798c34d3a53ea0026b0b1de6a120deef895137c0529bfe2"
|
||||
dependencies = [
|
||||
"thiserror-impl",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "thiserror-impl"
|
||||
version = "1.0.26"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "060d69a0afe7796bf42e9e2ff91f5ee691fb15c53d38b4b62a9a53eb23164745"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "tree-sitter"
|
||||
version = "0.19.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ad726ec26496bf4c083fff0f43d4eb3a2ad1bba305323af5ff91383c0b6ecac0"
|
||||
dependencies = [
|
||||
"cc",
|
||||
"regex",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "tree-sitter-jinja2"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/dbt-labs/tree-sitter-jinja2?tag=v0.1.0#52da7b0b1480b23381ea84cf5ea3bf058dd6d8c4"
|
||||
dependencies = [
|
||||
"cc",
|
||||
"tree-sitter",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "unicode-xid"
|
||||
version = "0.2.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3"
|
||||
|
||||
[[package]]
|
||||
name = "unindent"
|
||||
version = "0.1.7"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f14ee04d9415b52b3aeab06258a3f07093182b88ba0f9b8d203f211a7a7d41c7"
|
||||
|
||||
[[package]]
|
||||
name = "wasi"
|
||||
version = "0.10.2+wasi-snapshot-preview1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6"
|
||||
|
||||
[[package]]
|
||||
name = "winapi"
|
||||
version = "0.3.9"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
|
||||
dependencies = [
|
||||
"winapi-i686-pc-windows-gnu",
|
||||
"winapi-x86_64-pc-windows-gnu",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "winapi-i686-pc-windows-gnu"
|
||||
version = "0.4.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
|
||||
|
||||
[[package]]
|
||||
name = "winapi-x86_64-pc-windows-gnu"
|
||||
version = "0.4.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
49
pkgs/development/python-modules/dbt-extractor/default.nix
Normal file
49
pkgs/development/python-modules/dbt-extractor/default.nix
Normal file
|
@ -0,0 +1,49 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, rustPlatform
|
||||
, libiconv
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dbt-extractor";
|
||||
version = "0.4.1";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "dbt_extractor";
|
||||
inherit version;
|
||||
hash = "sha256-dbHGZWmewPH/zhuj13b3386AIVbyLnCnucjwtNfoD0I=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.importCargoLock {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"tree-sitter-jinja2-0.1.0" = "sha256-lzA2iq4AK0iNwkLvbIt7Jm5WGFbMPFDi6i4AFDm0FOU=";
|
||||
};
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
rustPlatform.cargoSetupHook
|
||||
rustPlatform.maturinBuildHook
|
||||
];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
libiconv
|
||||
];
|
||||
|
||||
# no python tests exist
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"dbt_extractor"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tool that processes the most common jinja value templates in dbt model files";
|
||||
homepage = "https://github.com/dbt-labs/dbt-extractor";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ mausch tjni ];
|
||||
};
|
||||
}
|
37
pkgs/development/python-modules/dbt-postgres/default.nix
Normal file
37
pkgs/development/python-modules/dbt-postgres/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, agate
|
||||
, dbt-core
|
||||
, psycopg2
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "dbt-postgres";
|
||||
format = "setuptools";
|
||||
|
||||
inherit (dbt-core) version src;
|
||||
|
||||
sourceRoot = "source/plugins/postgres";
|
||||
|
||||
env.DBT_PSYCOPG2_NAME = "psycopg2";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
agate
|
||||
dbt-core
|
||||
psycopg2
|
||||
];
|
||||
|
||||
# tests exist for the dbt tool but not for this package specifically
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"dbt.adapters.postgres"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Plugin enabling dbt to work with a Postgres database";
|
||||
homepage = "https://github.com/dbt-labs/dbt-core";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ tjni ];
|
||||
};
|
||||
}
|
61
pkgs/development/python-modules/dbt-redshift/default.nix
Normal file
61
pkgs/development/python-modules/dbt-redshift/default.nix
Normal file
|
@ -0,0 +1,61 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, agate
|
||||
, boto3
|
||||
, dbt-core
|
||||
, dbt-postgres
|
||||
, pytestCheckHook
|
||||
, pythonRelaxDepsHook
|
||||
, redshift-connector
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dbt-redshift";
|
||||
version = "1.5.8";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dbt-labs";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-T7cNszIroOT8TNfOzZpdJDR1+5ybhkXvyvvM5zokVgo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"boto3"
|
||||
"redshift-connector"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
agate
|
||||
boto3
|
||||
dbt-core
|
||||
dbt-postgres
|
||||
redshift-connector
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"tests/unit"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"dbt.adapters.redshift"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Plugin enabling dbt to work with Amazon Redshift";
|
||||
homepage = "https://github.com/dbt-labs/dbt-redshift";
|
||||
changelog = "https://github.com/dbt-labs/dbt-redshift/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ tjni ];
|
||||
};
|
||||
}
|
45
pkgs/development/python-modules/dbt-snowflake/default.nix
Normal file
45
pkgs/development/python-modules/dbt-snowflake/default.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, dbt-core
|
||||
, pytestCheckHook
|
||||
, snowflake-connector-python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dbt-snowflake";
|
||||
version = "1.5.2";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dbt-labs";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Oz9BDvxSG4kOteuwKiPccxlsmQtOEwDLVyirDSWy1kY=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dbt-core
|
||||
snowflake-connector-python
|
||||
] ++ snowflake-connector-python.optional-dependencies.secure-local-storage;
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"tests/unit"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"dbt.adapters.snowflake"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Plugin enabling dbt to work with Snowflake";
|
||||
homepage = "https://github.com/dbt-labs/dbt-snowflake";
|
||||
changelog = "https://github.com/dbt-labs/dbt-snowflake/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ tjni ];
|
||||
};
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue