mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-05 20:19:16 +03:00
Merge branch 'staging-next' into staging
This commit is contained in:
commit
1275c3f884
@ -4,7 +4,7 @@ This hook helps with installing manpages and shell completion files. It exposes
|
||||
|
||||
The `installManPage` function takes one or more paths to manpages to install. The manpages must have a section suffix, and may optionally be compressed (with `.gz` suffix). This function will place them into the correct `share/man/man<section>/` directory, in [`outputMan`](#outputman).
|
||||
|
||||
The `installShellCompletion` function takes one or more paths to shell completion files. By default it will autodetect the shell type from the completion file extension, but you may also specify it by passing one of `--bash`, `--fish`, or `--zsh`. These flags apply to all paths listed after them (up until another shell flag is given). Each path may also have a custom installation name provided by providing a flag `--name NAME` before the path. If this flag is not provided, zsh completions will be renamed automatically such that `foobar.zsh` becomes `_foobar`. A root name may be provided for all paths using the flag `--cmd NAME`; this synthesizes the appropriate name depending on the shell (e.g. `--cmd foo` will synthesize the name `foo.bash` for bash and `_foo` for zsh). The path may also be a fifo or named fd (such as produced by `<(cmd)`), in which case the shell and name must be provided.
|
||||
The `installShellCompletion` function takes one or more paths to shell completion files. By default it will autodetect the shell type from the completion file extension, but you may also specify it by passing one of `--bash`, `--fish`, or `--zsh`. These flags apply to all paths listed after them (up until another shell flag is given). Each path may also have a custom installation name provided by providing a flag `--name NAME` before the path. If this flag is not provided, zsh completions will be renamed automatically such that `foobar.zsh` becomes `_foobar`. A root name may be provided for all paths using the flag `--cmd NAME`; this synthesizes the appropriate name depending on the shell (e.g. `--cmd foo` will synthesize the name `foo.bash` for bash and `_foo` for zsh).
|
||||
|
||||
```nix
|
||||
{
|
||||
@ -17,6 +17,18 @@ The `installShellCompletion` function takes one or more paths to shell completio
|
||||
installShellCompletion --zsh --name _foobar share/completions.zsh
|
||||
# implicit behavior
|
||||
installShellCompletion share/completions/foobar.{bash,fish,zsh}
|
||||
'';
|
||||
}
|
||||
```
|
||||
|
||||
The path may also be a fifo or named fd (such as produced by `<(cmd)`), in which case the shell and name must be provided (see below).
|
||||
|
||||
If the destination shell completion file is not actually present or consists of zero bytes after calling `installShellCompletion` this is treated as a build failure. In particular, if completion files are not vendored but are generated by running an executable, this is likely to fail in cross compilation scenarios. The result will be a zero byte completion file and hence a build failure. To prevent this, guard the completion commands against this, e.g.
|
||||
|
||||
```nix
|
||||
{
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||
# using named fd
|
||||
installShellCompletion --cmd foobar \
|
||||
--bash <($out/bin/foobar --bash-completion) \
|
||||
|
@ -15519,6 +15519,11 @@
|
||||
githubId = 943430;
|
||||
name = "David Hagege";
|
||||
};
|
||||
pedohorse = {
|
||||
github = "pedohorse";
|
||||
githubId = 13556996;
|
||||
name = "pedohorse";
|
||||
};
|
||||
pedrohlc = {
|
||||
email = "root@pedrohlc.com";
|
||||
github = "PedroHLC";
|
||||
|
@ -13,6 +13,7 @@
|
||||
, include-overlays ? false
|
||||
, keep-going ? null
|
||||
, commit ? null
|
||||
, skip-prompt ? null
|
||||
}:
|
||||
|
||||
let
|
||||
@ -184,6 +185,10 @@ let
|
||||
that support it by adding
|
||||
|
||||
--argstr commit true
|
||||
|
||||
to skip prompt:
|
||||
|
||||
--argstr skip-prompt true
|
||||
'';
|
||||
|
||||
/* Transform a matched package into an object for update.py.
|
||||
@ -204,7 +209,8 @@ let
|
||||
optionalArgs =
|
||||
lib.optional (max-workers != null) "--max-workers=${max-workers}"
|
||||
++ lib.optional (keep-going == "true") "--keep-going"
|
||||
++ lib.optional (commit == "true") "--commit";
|
||||
++ lib.optional (commit == "true") "--commit"
|
||||
++ lib.optional (skip-prompt == "true") "--skip-prompt";
|
||||
|
||||
args = [ packagesJson ] ++ optionalArgs;
|
||||
|
||||
|
@ -207,7 +207,7 @@ async def start_updates(max_workers: int, keep_going: bool, commit: bool, packag
|
||||
eprint(e)
|
||||
sys.exit(1)
|
||||
|
||||
def main(max_workers: int, keep_going: bool, commit: bool, packages_path: str) -> None:
|
||||
def main(max_workers: int, keep_going: bool, commit: bool, packages_path: str, skip_prompt: bool) -> None:
|
||||
with open(packages_path) as f:
|
||||
packages = json.load(f)
|
||||
|
||||
@ -217,7 +217,8 @@ def main(max_workers: int, keep_going: bool, commit: bool, packages_path: str) -
|
||||
eprint(f" - {package['name']}")
|
||||
eprint()
|
||||
|
||||
confirm = input('Press Enter key to continue...')
|
||||
confirm = '' if skip_prompt else input('Press Enter key to continue...')
|
||||
|
||||
if confirm == '':
|
||||
eprint()
|
||||
eprint('Running update for:')
|
||||
@ -236,12 +237,13 @@ parser.add_argument('--max-workers', '-j', dest='max_workers', type=int, help='N
|
||||
parser.add_argument('--keep-going', '-k', dest='keep_going', action='store_true', help='Do not stop after first failure')
|
||||
parser.add_argument('--commit', '-c', dest='commit', action='store_true', help='Commit the changes')
|
||||
parser.add_argument('packages', help='JSON file containing the list of package names and their update scripts')
|
||||
parser.add_argument('--skip-prompt', '-s', dest='skip_prompt', action='store_true', help='Do not stop for prompts')
|
||||
|
||||
if __name__ == '__main__':
|
||||
args = parser.parse_args()
|
||||
|
||||
try:
|
||||
main(args.max_workers, args.keep_going, args.commit, args.packages)
|
||||
main(args.max_workers, args.keep_going, args.commit, args.packages, args.skip_prompt)
|
||||
except KeyboardInterrupt as e:
|
||||
# Let’s cancel outside of the main loop too.
|
||||
sys.exit(130)
|
||||
|
@ -496,6 +496,20 @@ with lib.maintainers;
|
||||
shortName = "Jupyter";
|
||||
};
|
||||
|
||||
k3s = {
|
||||
githubTeams = [ "k3s" ];
|
||||
members = [
|
||||
euank
|
||||
marcusramberg
|
||||
mic92
|
||||
superherointj
|
||||
wrmilling
|
||||
yajo
|
||||
];
|
||||
scope = "Maintain K3s package, NixOS module, NixOS tests, update script";
|
||||
shortName = "K3s";
|
||||
};
|
||||
|
||||
kubernetes = {
|
||||
members = [
|
||||
johanot
|
||||
|
@ -5,8 +5,9 @@ with lib;
|
||||
let
|
||||
cfg = config.i18n.inputMethod.ibus;
|
||||
ibusPackage = pkgs.ibus-with-plugins.override { plugins = cfg.engines; };
|
||||
ibusEngine = types.package // {
|
||||
ibusEngine = lib.types.mkOptionType {
|
||||
name = "ibus-engine";
|
||||
inherit (lib.types.package) descriptionClass merge;
|
||||
check = x: (lib.types.package.check x) && (attrByPath ["meta" "isIbusEngine"] false x);
|
||||
};
|
||||
|
||||
|
@ -20,7 +20,7 @@ in
|
||||
# TODO: convert it into assert after 24.11 release
|
||||
config = lib.mkIf (cfg.enable || cfg.defaultEditor) {
|
||||
warnings = lib.mkIf (cfg.defaultEditor && !cfg.enable) [
|
||||
"programs.vim.defaultEditor will only work if programs.vim.enable is enabled, will be encfored after the 24.11 release"
|
||||
"programs.vim.defaultEditor will only work if programs.vim.enable is enabled, which will be enforced after the 24.11 release"
|
||||
];
|
||||
environment = {
|
||||
systemPackages = [ cfg.package ];
|
||||
|
@ -432,4 +432,6 @@ in
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
meta.maintainers = lib.teams.k3s.members;
|
||||
}
|
||||
|
@ -127,6 +127,9 @@ in {
|
||||
})
|
||||
{
|
||||
systemd.targets.multi-user.wants = [ "machines.target" ];
|
||||
systemd.services."systemd-nspawn@".environment = {
|
||||
SYSTEMD_NSPAWN_UNIFIED_HIERARCHY = mkDefault "1";
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
|
@ -770,6 +770,7 @@ in {
|
||||
postgresql = handleTest ./postgresql.nix {};
|
||||
postgresql-jit = handleTest ./postgresql-jit.nix {};
|
||||
postgresql-wal-receiver = handleTest ./postgresql-wal-receiver.nix {};
|
||||
postgresql-tls-client-cert = handleTest ./postgresql-tls-client-cert.nix {};
|
||||
powerdns = handleTest ./powerdns.nix {};
|
||||
powerdns-admin = handleTest ./powerdns-admin.nix {};
|
||||
power-profiles-daemon = handleTest ./power-profiles-daemon.nix {};
|
||||
|
@ -118,5 +118,7 @@ import ../make-test-python.nix (
|
||||
|
||||
machine.shutdown()
|
||||
'';
|
||||
|
||||
meta.maintainers = lib.teams.k3s.members;
|
||||
}
|
||||
)
|
||||
|
@ -7,6 +7,8 @@ let
|
||||
allK3s = lib.filterAttrs (n: _: lib.strings.hasPrefix "k3s_" n) pkgs;
|
||||
in
|
||||
{
|
||||
# Test whether container images are imported and auto deploying manifests work
|
||||
auto-deploy = lib.mapAttrs (_: k3s: import ./auto-deploy.nix { inherit system pkgs k3s; }) allK3s;
|
||||
# Testing K3s with Etcd backend
|
||||
etcd = lib.mapAttrs (
|
||||
_: k3s:
|
||||
@ -19,6 +21,4 @@ in
|
||||
single-node = lib.mapAttrs (_: k3s: import ./single-node.nix { inherit system pkgs k3s; }) allK3s;
|
||||
# Run a multi-node k3s cluster and verify pod networking works across nodes
|
||||
multi-node = lib.mapAttrs (_: k3s: import ./multi-node.nix { inherit system pkgs k3s; }) allK3s;
|
||||
# Test wether container images are imported and auto deploying manifests work
|
||||
auto-deploy = lib.mapAttrs (_: k3s: import ./auto-deploy.nix { inherit system pkgs k3s; }) allK3s;
|
||||
}
|
||||
|
@ -125,6 +125,6 @@ import ../make-test-python.nix (
|
||||
etcd.shutdown()
|
||||
'';
|
||||
|
||||
meta.maintainers = etcd.meta.maintainers ++ k3s.meta.maintainers;
|
||||
meta.maintainers = etcd.meta.maintainers ++ lib.teams.k3s.members;
|
||||
}
|
||||
)
|
||||
|
@ -189,8 +189,6 @@ import ../make-test-python.nix (
|
||||
};
|
||||
};
|
||||
|
||||
meta.maintainers = k3s.meta.maintainers;
|
||||
|
||||
testScript = ''
|
||||
machines = [server, server2, agent]
|
||||
for m in machines:
|
||||
@ -239,5 +237,7 @@ import ../make-test-python.nix (
|
||||
for m in machines:
|
||||
m.shutdown()
|
||||
'';
|
||||
|
||||
meta.maintainers = lib.teams.k3s.members;
|
||||
}
|
||||
)
|
||||
|
@ -40,7 +40,6 @@ import ../make-test-python.nix (
|
||||
in
|
||||
{
|
||||
name = "${k3s.name}-single-node";
|
||||
meta.maintainers = k3s.meta.maintainers;
|
||||
|
||||
nodes.machine =
|
||||
{ pkgs, ... }:
|
||||
@ -120,5 +119,7 @@ import ../make-test-python.nix (
|
||||
|
||||
machine.shutdown()
|
||||
'';
|
||||
|
||||
meta.maintainers = lib.teams.k3s.members;
|
||||
}
|
||||
)
|
||||
|
141
nixos/tests/postgresql-tls-client-cert.nix
Normal file
141
nixos/tests/postgresql-tls-client-cert.nix
Normal file
@ -0,0 +1,141 @@
|
||||
{ system ? builtins.currentSystem
|
||||
, config ? { }
|
||||
, pkgs ? import ../.. { inherit system config; }
|
||||
, package ? null
|
||||
}:
|
||||
|
||||
with import ../lib/testing-python.nix { inherit system pkgs; };
|
||||
|
||||
let
|
||||
lib = pkgs.lib;
|
||||
|
||||
# Makes a test for a PostgreSQL package, given by name and looked up from `pkgs`.
|
||||
makeTestAttribute = name:
|
||||
{
|
||||
inherit name;
|
||||
value = makePostgresqlTlsClientCertTest pkgs."${name}";
|
||||
};
|
||||
|
||||
makePostgresqlTlsClientCertTest = pkg:
|
||||
let
|
||||
runWithOpenSSL = file: cmd: pkgs.runCommand file
|
||||
{
|
||||
buildInputs = [ pkgs.openssl ];
|
||||
}
|
||||
cmd;
|
||||
caKey = runWithOpenSSL "ca.key" "openssl ecparam -name prime256v1 -genkey -noout -out $out";
|
||||
caCert = runWithOpenSSL
|
||||
"ca.crt"
|
||||
''
|
||||
openssl req -new -x509 -sha256 -key ${caKey} -out $out -subj "/CN=test.example" -days 36500
|
||||
'';
|
||||
serverKey =
|
||||
runWithOpenSSL "server.key" "openssl ecparam -name prime256v1 -genkey -noout -out $out";
|
||||
serverKeyPath = "/var/lib/postgresql";
|
||||
serverCert =
|
||||
runWithOpenSSL "server.crt" ''
|
||||
openssl req -new -sha256 -key ${serverKey} -out server.csr -subj "/CN=db.test.example"
|
||||
openssl x509 -req -in server.csr -CA ${caCert} -CAkey ${caKey} \
|
||||
-CAcreateserial -out $out -days 36500 -sha256
|
||||
'';
|
||||
clientKey =
|
||||
runWithOpenSSL "client.key" "openssl ecparam -name prime256v1 -genkey -noout -out $out";
|
||||
clientCert =
|
||||
runWithOpenSSL "client.crt" ''
|
||||
openssl req -new -sha256 -key ${clientKey} -out client.csr -subj "/CN=test"
|
||||
openssl x509 -req -in client.csr -CA ${caCert} -CAkey ${caKey} \
|
||||
-CAcreateserial -out $out -days 36500 -sha256
|
||||
'';
|
||||
clientKeyPath = "/root";
|
||||
|
||||
in
|
||||
makeTest {
|
||||
name = "postgresql-tls-client-cert-${pkg.name}";
|
||||
meta.maintainers = with lib.maintainers; [ erictapen ];
|
||||
|
||||
nodes.server = { ... }: {
|
||||
system.activationScripts = {
|
||||
keyPlacement.text = ''
|
||||
mkdir -p '${serverKeyPath}'
|
||||
cp '${serverKey}' '${serverKeyPath}/server.key'
|
||||
chown postgres:postgres '${serverKeyPath}/server.key'
|
||||
chmod 600 '${serverKeyPath}/server.key'
|
||||
'';
|
||||
};
|
||||
services.postgresql = {
|
||||
package = pkg;
|
||||
enable = true;
|
||||
enableTCPIP = true;
|
||||
ensureUsers = [
|
||||
{
|
||||
name = "test";
|
||||
ensureDBOwnership = true;
|
||||
}
|
||||
];
|
||||
ensureDatabases = [ "test" ];
|
||||
settings = {
|
||||
ssl = "on";
|
||||
ssl_ca_file = toString caCert;
|
||||
ssl_cert_file = toString serverCert;
|
||||
ssl_key_file = "${serverKeyPath}/server.key";
|
||||
};
|
||||
authentication = ''
|
||||
hostssl test test ::/0 cert clientcert=verify-full
|
||||
'';
|
||||
};
|
||||
networking = {
|
||||
interfaces.eth1 = {
|
||||
ipv6.addresses = [
|
||||
{ address = "fc00::1"; prefixLength = 120; }
|
||||
];
|
||||
};
|
||||
firewall.allowedTCPPorts = [ 5432 ];
|
||||
};
|
||||
};
|
||||
|
||||
nodes.client = { ... }: {
|
||||
system.activationScripts = {
|
||||
keyPlacement.text = ''
|
||||
mkdir -p '${clientKeyPath}'
|
||||
cp '${clientKey}' '${clientKeyPath}/client.key'
|
||||
chown root:root '${clientKeyPath}/client.key'
|
||||
chmod 600 '${clientKeyPath}/client.key'
|
||||
'';
|
||||
};
|
||||
environment = {
|
||||
variables = {
|
||||
PGHOST = "db.test.example";
|
||||
PGPORT = "5432";
|
||||
PGDATABASE = "test";
|
||||
PGUSER = "test";
|
||||
PGSSLMODE = "verify-full";
|
||||
PGSSLCERT = clientCert;
|
||||
PGSSLKEY = "${clientKeyPath}/client.key";
|
||||
PGSSLROOTCERT = caCert;
|
||||
};
|
||||
systemPackages = [ pkg ];
|
||||
};
|
||||
networking = {
|
||||
interfaces.eth1 = {
|
||||
ipv6.addresses = [
|
||||
{ address = "fc00::2"; prefixLength = 120; }
|
||||
];
|
||||
};
|
||||
hosts = { "fc00::1" = [ "db.test.example" ]; };
|
||||
};
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
server.wait_for_unit("multi-user.target")
|
||||
client.wait_for_unit("multi-user.target")
|
||||
client.succeed("psql -c \"SELECT 1;\"")
|
||||
'';
|
||||
};
|
||||
|
||||
in
|
||||
if package == null then
|
||||
# all-tests.nix: Maps the generic function over all attributes of PostgreSQL packages
|
||||
builtins.listToAttrs (map makeTestAttribute (builtins.attrNames (import ../../pkgs/servers/sql/postgresql pkgs)))
|
||||
else
|
||||
# Called directly from <package>.tests
|
||||
makePostgresqlTlsClientCertTest package
|
@ -47,7 +47,7 @@ stdenv.mkDerivation {
|
||||
description = "Relaxing mix of Vi and ACME";
|
||||
homepage = "https://c9x.me/edit";
|
||||
license = lib.licenses.publicDomain;
|
||||
maintainers = with lib.maintainers; [ AndersonTorres vrthra ];
|
||||
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||
platforms = lib.platforms.unix;
|
||||
mainProgram = "edit";
|
||||
};
|
||||
|
@ -36,7 +36,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
description = "Vim inspired text editor";
|
||||
license = licenses.publicDomain;
|
||||
mainProgram = "kak";
|
||||
maintainers = with maintainers; [ vrthra ];
|
||||
maintainers = with maintainers; [ ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
})
|
||||
|
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||
description = "Emulation of ACME";
|
||||
homepage = "http://wily.sourceforge.net";
|
||||
license = licenses.artistic1;
|
||||
maintainers = [ maintainers.vrthra ];
|
||||
maintainers = [ ];
|
||||
platforms = platforms.unix;
|
||||
mainProgram = "wily";
|
||||
};
|
||||
|
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
|
||||
homepage = "http://www.svgalib.org/rus/zgv/";
|
||||
description = "Picture viewer with a thumbnail-based selector";
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.vrthra ];
|
||||
maintainers = [ ];
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "zgv";
|
||||
};
|
||||
|
@ -33,7 +33,7 @@ stdenv.mkDerivation {
|
||||
|
||||
platforms = platforms.unix;
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.vrthra ];
|
||||
maintainers = [ ];
|
||||
mainProgram = "green";
|
||||
};
|
||||
}
|
||||
|
@ -100,4 +100,14 @@ buildFHSEnv rec {
|
||||
export LD_LIBRARY_PATH=${lib.makeLibraryPath [ncurses5]}:$LD_LIBRARY_PATH
|
||||
exec "$@"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "3D animation application software";
|
||||
homepage = "https://www.sidefx.com";
|
||||
license = lib.licenses.unfree;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
mainProgram = "houdini";
|
||||
hydraPlatforms = [ ]; # requireFile src's should be excluded
|
||||
maintainers = with lib.maintainers; [ canndrew kwohlfahrt pedohorse ];
|
||||
};
|
||||
}
|
||||
|
@ -23,13 +23,4 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
dontFixup = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "3D animation application software";
|
||||
homepage = "https://www.sidefx.com";
|
||||
license = licenses.unfree;
|
||||
platforms = platforms.linux;
|
||||
hydraPlatforms = [ ]; # requireFile src's should be excluded
|
||||
maintainers = with maintainers; [ canndrew kwohlfahrt ];
|
||||
};
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/visit1985/mdp";
|
||||
description = "Command-line based markdown presentation tool";
|
||||
maintainers = with maintainers; [ matthiasbeyer vrthra ];
|
||||
maintainers = with maintainers; [ matthiasbeyer ];
|
||||
license = licenses.gpl3;
|
||||
platforms = with platforms; unix;
|
||||
mainProgram = "mdp";
|
||||
|
@ -33,7 +33,7 @@ stdenv.mkDerivation {
|
||||
homepage = "https://github.com/yuejia/Milu";
|
||||
license = lib.licenses.bsd2;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.vrthra ];
|
||||
maintainers = [ ];
|
||||
mainProgram = "milu";
|
||||
};
|
||||
}
|
||||
|
@ -84,7 +84,7 @@ in stdenv.mkDerivation rec {
|
||||
homepage = "https://mupdf.com";
|
||||
description = "Lightweight PDF, XPS, and E-book viewer and toolkit written in portable C";
|
||||
license = licenses.agpl3Plus;
|
||||
maintainers = with maintainers; [ vrthra fpletz ];
|
||||
maintainers = with maintainers; [ fpletz ];
|
||||
platforms = platforms.unix;
|
||||
knownVulnerabilities = [
|
||||
"CVE-2020-26519: denial of service when parsing JBIG2"
|
||||
|
@ -208,7 +208,7 @@ stdenv.mkDerivation rec {
|
||||
description = "Lightweight PDF, XPS, and E-book viewer and toolkit written in portable C";
|
||||
changelog = "https://git.ghostscript.com/?p=mupdf.git;a=blob_plain;f=CHANGES;hb=${version}";
|
||||
license = licenses.agpl3Plus;
|
||||
maintainers = with maintainers; [ vrthra fpletz ];
|
||||
maintainers = with maintainers; [ fpletz ];
|
||||
platforms = platforms.unix;
|
||||
mainProgram = "mupdf";
|
||||
};
|
||||
|
@ -30,7 +30,7 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
platforms = platforms.unix;
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.vrthra ];
|
||||
maintainers = [ ];
|
||||
mainProgram = "xsw";
|
||||
};
|
||||
}
|
||||
|
@ -20,7 +20,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
homepage = "https://www.netsurf-browser.org/";
|
||||
description = "NetSurf browser shared build system";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ vrthra AndersonTorres ];
|
||||
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
|
@ -92,14 +92,7 @@ let
|
||||
description = "Lightweight Kubernetes distribution";
|
||||
license = licenses.asl20;
|
||||
homepage = "https://k3s.io";
|
||||
maintainers = with maintainers; [
|
||||
euank
|
||||
mic92
|
||||
marcusramberg
|
||||
superherointj
|
||||
wrmilling
|
||||
yajo
|
||||
];
|
||||
maintainers = lib.teams.k3s.members;
|
||||
platforms = platforms.linux;
|
||||
|
||||
# resolves collisions with other installations of kubectl, crictl, ctr
|
||||
@ -426,6 +419,7 @@ buildGoModule rec {
|
||||
k3s_version = "k3s_" + lib.replaceStrings [ "." ] [ "_" ] (lib.versions.majorMinor version);
|
||||
in
|
||||
{
|
||||
auto-deploy = nixosTests.k3s.auto-deploy.${k3s_version};
|
||||
etcd = nixosTests.k3s.etcd.${k3s_version};
|
||||
single-node = nixosTests.k3s.single-node.${k3s_version};
|
||||
multi-node = nixosTests.k3s.multi-node.${k3s_version};
|
||||
|
@ -113,7 +113,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
mainProgram = "neomutt";
|
||||
homepage = "https://www.neomutt.org";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ erikryb vrthra raitobezarius ];
|
||||
maintainers = with lib.maintainers; [ erikryb raitobezarius ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
|
@ -64,7 +64,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
homepage = "https://gnunet.org/";
|
||||
license = licenses.agpl3Plus;
|
||||
maintainers = with maintainers; [ pstn vrthra ];
|
||||
maintainers = with maintainers; [ pstn ];
|
||||
platforms = platforms.unix;
|
||||
changelog = "https://git.gnunet.org/gnunet.git/tree/ChangeLog?h=v${version}";
|
||||
};
|
||||
|
@ -16,7 +16,7 @@ python3Packages.buildPythonApplication rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ qt5.wrapQtAppsHook ];
|
||||
buildInputs = [ hackrf rtl-sdr airspy limesuite libiio libbladeRF ]
|
||||
buildInputs = [ hackrf rtl-sdr airspy limesuite libiio libbladeRF qt5.qtwayland ]
|
||||
++ lib.optional USRPSupport uhd;
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
|
@ -92,7 +92,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "https://invisible-island.net/xterm";
|
||||
license = with lib.licenses; [ mit ];
|
||||
maintainers = with lib.maintainers; [ nequissimus vrthra ];
|
||||
maintainers = with lib.maintainers; [ nequissimus ];
|
||||
platforms = with lib.platforms; linux ++ darwin;
|
||||
changelog = "https://invisible-island.net/xterm/xterm.log.html";
|
||||
};
|
||||
|
@ -5,12 +5,12 @@
|
||||
}: stdenv.mkDerivation rec {
|
||||
|
||||
pname = "vdr";
|
||||
version = "2.6.7";
|
||||
version = "2.6.8";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://git.tvdr.de/vdr.git";
|
||||
rev = version;
|
||||
hash = "sha256-6i3EQgARwMLNejgB0NevmLmd9OrNBvjqW+qLrAdqUxE=";
|
||||
hash = "sha256-Q6m/0Px4wLkd1GOKLFFRBVywYoIBh6W1BHh3pbtmgfU=";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
@ -26,7 +26,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
homepage = "https://tools.suckless.org/tabbed";
|
||||
description = "Simple generic tabbed fronted to xembed aware applications";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ vrthra ];
|
||||
maintainers = with maintainers; [ ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
})
|
||||
|
@ -10,13 +10,13 @@
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "cpuinfo";
|
||||
version = "0-unstable-2024-06-02";
|
||||
version = "0-unstable-2024-07-10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pytorch";
|
||||
repo = "cpuinfo";
|
||||
rev = "05332fd802d9109a2a151ec32154b107c1e5caf9";
|
||||
hash = "sha256-VhTRHpT+4g97m+amOZ52lJWavHsN5QVnjnEn6wJzE3A=";
|
||||
rev = "ca678952a9a8eaa6de112d154e8e104b22f9ab3f";
|
||||
hash = "sha256-UKy9TIiO/UJ5w+qLRlMd085CX2qtdVH2W3rtxB5r6MY=";
|
||||
};
|
||||
|
||||
passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
|
||||
|
@ -1,4 +1,5 @@
|
||||
{ lib
|
||||
, blueprint-compiler
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
@ -13,46 +14,37 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "goldwarden";
|
||||
version = "0.2.13-unstable-2024-03-14";
|
||||
version = "0.3.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "quexten";
|
||||
repo = "goldwarden";
|
||||
rev = "d6e1cd263365611e520a2ef6c7847c9da19362f1";
|
||||
hash = "sha256-IItKOmE0xHKO2u5jp7R20/T2eSvQ3QCxlzp6R4oiqf8=";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-s00ZgRmp+0UTp4gpoQgZZqSJMRGsGuUxoX2DEryG+XM=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/quexten/goldwarden/pull/140/commits/c134a0e61d51079c44865f68ab65cfb3aea6f8f2.patch";
|
||||
hash = "sha256-nClC/FYq3muXMeYXln+VVGUhanqElEgJRosWeSTNlmM=";
|
||||
})
|
||||
(fetchpatch {
|
||||
url = "https://github.com/quexten/goldwarden/pull/140/commits/86d4f907fba241fd66d0fb3c109c0281a9766bb4.patch";
|
||||
hash = "sha256-A8PBzfyd2blFIjCeO4xOVJMQjnEPwtK4wTcRcfsjyDk=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace browserbiometrics/chrome-com.8bit.bitwarden.json browserbiometrics/mozilla-com.8bit.bitwarden.json \
|
||||
--replace-fail "@PATH@" "$out/bin/goldwarden"
|
||||
substituteInPlace gui/src/{linux/main.py,linux/monitors/dbus_monitor.py,gui/settings.py} \
|
||||
--replace-fail "python3" "${(python3.buildEnv.override { extraLibs = pythonPath; }).interpreter}"
|
||||
|
||||
substituteInPlace gui/com.quexten.Goldwarden.desktop \
|
||||
--replace-fail "Exec=goldwarden_ui_main.py" "Exec=$out/bin/goldwarden-gui"
|
||||
substituteInPlace gui/src/gui/browserbiometrics.py \
|
||||
--replace-fail "flatpak run --filesystem=home --command=goldwarden com.quexten.Goldwarden" "goldwarden"
|
||||
substituteInPlace gui/src/gui/ssh.py \
|
||||
|
||||
substituteInPlace gui/src/gui/resources/commands.json \
|
||||
--replace-fail "flatpak run --filesystem=home --command=goldwarden com.quexten.Goldwarden" "goldwarden" \
|
||||
--replace-fail "flatpak run --command=goldwarden com.quexten.Goldwarden" "goldwarden" \
|
||||
--replace-fail 'SSH_AUTH_SOCK=/home/$USER/.var/app/com.quexten.Goldwarden/data/ssh-auth-sock' 'SSH_AUTH_SOCK=/home/$USER/.goldwarden-ssh-agent.sock'
|
||||
substituteInPlace gui/src/{linux/main.py,linux/monitors/dbus_monitor.py,gui/settings.py} \
|
||||
--replace-fail "python3" "${(python3.buildEnv.override { extraLibs = pythonPath; }).interpreter}"
|
||||
|
||||
substituteInPlace cli/browserbiometrics/chrome-com.8bit.bitwarden.json cli/browserbiometrics/mozilla-com.8bit.bitwarden.json \
|
||||
--replace-fail "@PATH@" "$out/bin/goldwarden"
|
||||
'';
|
||||
|
||||
vendorHash = "sha256-IH0p7t1qInA9rNYv6ekxDN/BT5Kguhh4cZfmL+iqwVU=";
|
||||
vendorHash = "sha256-TSmYqLMeS/G1rYNxVfh3uIK9bQJhsd7mos50yIXQoT4=";
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
blueprint-compiler
|
||||
gobject-introspection
|
||||
python3.pkgs.wrapPython
|
||||
wrapGAppsHook4
|
||||
@ -72,21 +64,23 @@ buildGoModule rec {
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
blueprint-compiler batch-compile gui/src/gui/.templates/ gui/src/gui/ gui/src/gui/*.blp
|
||||
chmod +x gui/goldwarden_ui_main.py
|
||||
ln -s $out/share/goldwarden/goldwarden_ui_main.py $out/bin/goldwarden-gui
|
||||
|
||||
mkdir -p $out/share/goldwarden
|
||||
cp -r gui/* $out/share/goldwarden/
|
||||
ln -s $out/share/goldwarden/goldwarden_ui_main.py $out/bin/goldwarden-gui
|
||||
rm $out/share/goldwarden/{com.quexten.Goldwarden.desktop,com.quexten.Goldwarden.metainfo.xml,goldwarden.svg,python3-requirements.json,requirements.txt}
|
||||
|
||||
install -D gui/com.quexten.Goldwarden.desktop -t $out/share/applications
|
||||
install -D gui/goldwarden.svg -t $out/share/icons/hicolor/scalable/apps
|
||||
install -Dm644 gui/com.quexten.Goldwarden.metainfo.xml -t $out/share/metainfo
|
||||
install -Dm644 resources/com.quexten.goldwarden.policy -t $out/share/polkit-1/actions
|
||||
install -Dm644 cli/resources/com.quexten.goldwarden.policy -t $out/share/polkit-1/actions
|
||||
|
||||
install -D browserbiometrics/chrome-com.8bit.bitwarden.json $out/etc/chrome/native-messaging-hosts/com.8bit.bitwarden.json
|
||||
install -D browserbiometrics/chrome-com.8bit.bitwarden.json $out/etc/chromium/native-messaging-hosts/com.8bit.bitwarden.json
|
||||
install -D browserbiometrics/chrome-com.8bit.bitwarden.json $out/etc/edge/native-messaging-hosts/com.8bit.bitwarden.json
|
||||
install -D browserbiometrics/mozilla-com.8bit.bitwarden.json $out/lib/mozilla/native-messaging-hosts/com.8bit.bitwarden.json
|
||||
install -D cli/browserbiometrics/chrome-com.8bit.bitwarden.json $out/etc/chrome/native-messaging-hosts/com.8bit.bitwarden.json
|
||||
install -D cli/browserbiometrics/chrome-com.8bit.bitwarden.json $out/etc/chromium/native-messaging-hosts/com.8bit.bitwarden.json
|
||||
install -D cli/browserbiometrics/chrome-com.8bit.bitwarden.json $out/etc/edge/native-messaging-hosts/com.8bit.bitwarden.json
|
||||
install -D cli/browserbiometrics/mozilla-com.8bit.bitwarden.json $out/lib/mozilla/native-messaging-hosts/com.8bit.bitwarden.json
|
||||
'';
|
||||
|
||||
dontWrapGApps = true;
|
||||
|
@ -1,10 +1,14 @@
|
||||
{ callPackage
|
||||
, lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, libiconv
|
||||
, Security
|
||||
{
|
||||
callPackage,
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
darwin,
|
||||
libiconv,
|
||||
testers,
|
||||
nix-update-script,
|
||||
maturin,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -20,16 +24,25 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoHash = "sha256-EuMPcJAGz564cC9UWrlihBxRUJCtqw4jvP/SQgx2L/0=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ Security libiconv ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
libiconv
|
||||
];
|
||||
|
||||
# Requires network access, fails in sandbox.
|
||||
doCheck = false;
|
||||
|
||||
passthru.tests.pyo3 = callPackage ./pyo3-test {};
|
||||
passthru = {
|
||||
tests = {
|
||||
version = testers.testVersion { package = maturin; };
|
||||
pyo3 = callPackage ./pyo3-test { };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Build and publish Rust crates Python packages";
|
||||
mainProgram = "maturin";
|
||||
longDescription = ''
|
||||
Build and publish Rust crates with PyO3, rust-cpython, and
|
||||
cffi bindings as well as Rust binaries as Python packages.
|
||||
@ -40,7 +53,11 @@ rustPlatform.buildRustPackage rec {
|
||||
'';
|
||||
homepage = "https://github.com/PyO3/maturin";
|
||||
changelog = "https://github.com/PyO3/maturin/blob/v${version}/Changelog.md";
|
||||
license = with licenses; [ asl20 /* or */ mit ];
|
||||
maintainers = [ ];
|
||||
license = with lib.licenses; [
|
||||
asl20 # or
|
||||
mit
|
||||
];
|
||||
maintainers = with lib.maintainers; [ getchoo ];
|
||||
mainProgram = "maturin";
|
||||
};
|
||||
}
|
@ -1,6 +1,4 @@
|
||||
{ python3
|
||||
, rustPlatform
|
||||
}:
|
||||
{ python3, rustPlatform }:
|
||||
|
||||
python3.pkgs.callPackage ./generic.nix {
|
||||
buildAndTestSubdir = "examples/word-count";
|
@ -1,16 +1,17 @@
|
||||
# Derivation prototype, used by maturin and setuptools-rust
|
||||
# passthrough tests.
|
||||
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, python
|
||||
, rustPlatform
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
python,
|
||||
rustPlatform,
|
||||
|
||||
, nativeBuildInputs
|
||||
nativeBuildInputs,
|
||||
|
||||
, buildAndTestSubdir ? null
|
||||
, format ? "pyproject"
|
||||
, preConfigure ? ""
|
||||
buildAndTestSubdir ? null,
|
||||
format ? "pyproject",
|
||||
preConfigure ? "",
|
||||
}:
|
||||
|
||||
python.pkgs.buildPythonPackage rec {
|
||||
@ -24,22 +25,25 @@ python.pkgs.buildPythonPackage rec {
|
||||
hash = "sha256-NOMrrfo8WjlPhtGxWUOPJS/UDDdbLQRCXR++Zd6JmIA=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.importCargoLock {
|
||||
lockFile = ./Cargo.lock;
|
||||
};
|
||||
cargoDeps = rustPlatform.importCargoLock { lockFile = ./Cargo.lock; };
|
||||
|
||||
postPatch = ''
|
||||
ln -s ${./Cargo.lock} Cargo.lock
|
||||
'';
|
||||
|
||||
inherit buildAndTestSubdir format nativeBuildInputs preConfigure;
|
||||
inherit
|
||||
buildAndTestSubdir
|
||||
format
|
||||
nativeBuildInputs
|
||||
preConfigure
|
||||
;
|
||||
|
||||
pythonImportsCheck = [ "word_count" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "PyO3 word count example";
|
||||
homepage = "https://github.com/PyO3/pyo3";
|
||||
license = licenses.asl20;
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
@ -19,7 +19,7 @@ stdenv.mkDerivation {
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs build.sh
|
||||
patchShebangs build.sh odinfmt.sh
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ makeBinaryWrapper ];
|
||||
@ -29,7 +29,7 @@ stdenv.mkDerivation {
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
./build.sh
|
||||
./build.sh && ./odinfmt.sh
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
@ -37,7 +37,7 @@ stdenv.mkDerivation {
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm755 ols -t $out/bin/
|
||||
install -Dm755 ols odinfmt -t $out/bin/
|
||||
wrapProgram $out/bin/ols --set-default ODIN_ROOT ${odin}/share
|
||||
|
||||
runHook postInstall
|
||||
|
@ -7,19 +7,19 @@
|
||||
}:
|
||||
let
|
||||
pname = "open-webui";
|
||||
version = "0.3.7";
|
||||
version = "0.3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-webui";
|
||||
repo = "open-webui";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-tsJILQ+CuVy8LYSixYNJAwSIZtRegrXXvGzvyf7Knd0=";
|
||||
hash = "sha256-kUdy8zSt8RvGlMKa0gxp0tnZbo7/igDeFV2zsel5LXA=";
|
||||
};
|
||||
|
||||
frontend = buildNpmPackage {
|
||||
inherit pname version src;
|
||||
|
||||
npmDepsHash = "sha256-fB5gvC2sLfH2dJJi+CYyF7PRg+GhZDavhKgeRStaR7I=";
|
||||
npmDepsHash = "sha256-sjQJn94GmSdOY1B2bmFTsxjLrc7LSBgDpWNrXIHunsg=";
|
||||
|
||||
# Disabling `pyodide:fetch` as it downloads packages during `buildPhase`
|
||||
# Until this is solved, running python packages from the browser will not work.
|
||||
@ -63,6 +63,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
|
||||
dependencies = with python3.pkgs; [
|
||||
aiohttp
|
||||
alembic
|
||||
anthropic
|
||||
apscheduler
|
||||
argon2-cffi
|
||||
|
@ -1,7 +1,4 @@
|
||||
{ lib, stdenv, buildGoModule, fetchFromGitHub, nixosTests
|
||||
# darwin
|
||||
, CoreFoundation, IOKit
|
||||
}:
|
||||
{ lib, stdenv, buildGoModule, fetchFromGitHub, nixosTests, darwin }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "node_exporter";
|
||||
@ -20,7 +17,7 @@ buildGoModule rec {
|
||||
# FIXME: tests fail due to read-only nix store
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ CoreFoundation IOKit ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ CoreFoundation IOKit ]);
|
||||
|
||||
excludedPackages = [ "docs/node-mixin" ];
|
||||
|
@ -33,7 +33,7 @@ stdenv.mkDerivation {
|
||||
license = lib.licenses.lgpl21;
|
||||
mainProgram = "sdl-config";
|
||||
maintainers = lib.teams.sdl.members
|
||||
++ (with lib.maintainers; [ vrthra ]);
|
||||
++ (with lib.maintainers; [ ]);
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
41
pkgs/by-name/st/sturmflut/package.nix
Normal file
41
pkgs/by-name/st/sturmflut/package.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
pkg-config,
|
||||
imagemagick,
|
||||
fetchFromGitHub,
|
||||
unstableGitUpdater,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "sturmflut";
|
||||
version = "0-unstable-2023-04-25";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "TobleMiner";
|
||||
repo = "sturmflut";
|
||||
rev = "0e3092ab6db23d2529b8ddc95e5d5e2c3ae8fc9d";
|
||||
hash = "sha256-amNkCDdfG1AqfQ5RCT4941uOtjQRSFt/opzE8yIaftc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ imagemagick ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -m755 -D sturmflut $out/bin/sturmflut
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.updateScript = unstableGitUpdater { };
|
||||
|
||||
meta = {
|
||||
description = "Fast (80+ Gbit/s) pixelflut client with full IPv6 and animation support";
|
||||
homepage = "https://github.com/TobleMiner/sturmflut";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ zebreus ];
|
||||
platforms = lib.platforms.linux;
|
||||
mainProgram = "sturmflut";
|
||||
};
|
||||
}
|
@ -2,18 +2,18 @@
|
||||
, cairo, gdk-pixbuf, glib, libinput, libxml2, pango, udev
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "tiny-dfr";
|
||||
version = "0.3.0";
|
||||
version = "0.3.0-unstable-2024-07-10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "WhatAmISupposedToPutHere";
|
||||
repo = "tiny-dfr";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-LH6r0HeUJ69Q98WlWjsl5ASHjcxGfD9bYjSy6fw/UJM=";
|
||||
rev = "a066ded870d8184db81f16b4b55d0954b2ab4c88";
|
||||
hash = "sha256-++TezIILx5FXJzIxVfxwNTjZiGGjcZyih2KBKwD6/tU=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-3bFtfDSm27gDAmIkvxYyJoPtcuKYkPH3vK9V5rJ4O0c=";
|
||||
cargoHash = "sha256-q0yx4QT6L1G+5PvstXjA4aa0kZPhQTpM8h69dd/1Mcw=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ cairo gdk-pixbuf glib libinput libxml2 pango udev ];
|
||||
|
@ -57,7 +57,7 @@ stdenv.mkDerivation rec {
|
||||
description = "A vim like editor";
|
||||
homepage = "https://github.com/martanne/vis";
|
||||
license = licenses.isc;
|
||||
maintainers = with maintainers; [ vrthra ramkromberg ];
|
||||
maintainers = with maintainers; [ ramkromberg ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# Basically GPL2+ with font exception.
|
||||
license = "https://unifoundry.com/LICENSE.txt";
|
||||
maintainers = [ maintainers.rycee maintainers.vrthra ];
|
||||
maintainers = [ maintainers.rycee ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
@ -25,7 +25,7 @@ stdenvNoCC.mkDerivation rec {
|
||||
|
||||
# Basically GPL2+ with font exception.
|
||||
license = "https://unifoundry.com/LICENSE.txt";
|
||||
maintainers = [ maintainers.mathnerd314 maintainers.vrthra ];
|
||||
maintainers = [ maintainers.mathnerd314 ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
@ -217,7 +217,7 @@ stdenv.mkDerivation {
|
||||
under a BSD license.
|
||||
'';
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ vrthra spacefrogg ];
|
||||
maintainers = with maintainers; [ spacefrogg ];
|
||||
platforms = lib.intersectLists platforms.x86_64 platforms.linux;
|
||||
mainProgram = "factor";
|
||||
};
|
||||
|
@ -98,7 +98,7 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://mono-project.com/";
|
||||
description = "Cross platform, open source .NET development framework";
|
||||
platforms = with platforms; darwin ++ linux;
|
||||
maintainers = with maintainers; [ thoughtpolice obadz vrthra ];
|
||||
maintainers = with maintainers; [ thoughtpolice obadz ];
|
||||
license = with licenses; [
|
||||
/* runtime, compilers, tools and most class libraries licensed */ mit
|
||||
/* runtime includes some code licensed */ bsd3
|
||||
|
@ -76,12 +76,12 @@ in {
|
||||
|
||||
nim-unwrapped-2 = stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "nim-unwrapped";
|
||||
version = "2.0.4";
|
||||
version = "2.0.8";
|
||||
strictDeps = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://nim-lang.org/download/nim-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-cVJr0HQ53I43j6Gm60B+2hKY8fPU30R23KDjyjy+Pwk=";
|
||||
hash = "sha256-VwLahEcA0xKdtzFwtcYGrb37h+grgWwNkRB+ogpl3xY=";
|
||||
};
|
||||
|
||||
buildInputs = [ boehmgc openssl pcre readline sqlite ]
|
||||
|
@ -215,6 +215,10 @@ let
|
||||
maintainers = with maintainers; [ edwtjo ];
|
||||
platforms = [ "i686-linux" "x86_64-linux" "aarch64-linux" ];
|
||||
mainProgram = "java";
|
||||
# Broken for musl at 2024-01-17. Tracking issue:
|
||||
# https://github.com/NixOS/nixpkgs/issues/281618
|
||||
# error: ‘isnanf’ was not declared in this scope
|
||||
broken = stdenv.hostPlatform.isMusl;
|
||||
};
|
||||
|
||||
passthru = {
|
||||
|
@ -34,7 +34,8 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "9.1.21";
|
||||
# minorVersion is even for stable, odd for unstable
|
||||
version = "9.2.5";
|
||||
packInstall = swiplPath: pack:
|
||||
''${swiplPath}/bin/swipl -g "pack_install(${pack}, [package_directory(\"${swiplPath}/lib/swipl/pack\"), silent(true), interactive(false)])." -t "halt."
|
||||
'';
|
||||
@ -43,11 +44,14 @@ stdenv.mkDerivation {
|
||||
pname = "swi-prolog";
|
||||
inherit version;
|
||||
|
||||
# SWI-Prolog has two repositories: swipl and swipl-devel.
|
||||
# - `swipl`, which tracks stable releases and backports
|
||||
# - `swipl-devel` which tracks continuous development
|
||||
src = fetchFromGitHub {
|
||||
owner = "SWI-Prolog";
|
||||
repo = "swipl-devel";
|
||||
repo = "swipl";
|
||||
rev = "V${version}";
|
||||
hash = "sha256-c4OSntnwIzo6lGhpyNVtNM4el5FGrn8kcz8WkDRfQhU=";
|
||||
hash = "sha256-WbpYu6b0WPfKoAOkBZduWK20vwOYuDUDpJuj19qzPtw=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
@ -152,7 +152,7 @@ builder rec {
|
||||
processing.
|
||||
'';
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ ludo lovek323 vrthra ];
|
||||
maintainers = with maintainers; [ ludo ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
@ -142,7 +142,7 @@ builder rec {
|
||||
foreign function call interface, and powerful string processing.
|
||||
'';
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ ludo lovek323 vrthra ];
|
||||
maintainers = with maintainers; [ ludo ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Very high level general-purpose programming language";
|
||||
maintainers = with maintainers; [ vrthra yurrriq ];
|
||||
maintainers = with maintainers; [ yurrriq ];
|
||||
platforms = with platforms; linux ++ darwin ++ freebsd ++ netbsd ++ openbsd ++ cygwin ++ illumos;
|
||||
license = licenses.publicDomain;
|
||||
homepage = "https://www.cs.arizona.edu/icon/";
|
||||
|
@ -66,7 +66,6 @@ stdenv.mkDerivation {
|
||||
maintainers = with maintainers; [
|
||||
raskin
|
||||
maggesi
|
||||
vrthra
|
||||
];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
|
@ -75,6 +75,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
homepage = "http://jim.tcl.tk/";
|
||||
license = lib.licenses.bsd2;
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = with lib.maintainers; [ dbohdan fgaz vrthra ];
|
||||
maintainers = with lib.maintainers; [ dbohdan fgaz ];
|
||||
};
|
||||
})
|
||||
|
@ -34,7 +34,7 @@ stdenv.mkDerivation {
|
||||
mainProgram = "nial";
|
||||
homepage = "https://github.com/vrthra/qnial";
|
||||
license = lib.licenses.artistic1;
|
||||
maintainers = [ lib.maintainers.vrthra ];
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -198,7 +198,7 @@ stdenv.mkDerivation rec {
|
||||
asl20 # or
|
||||
mit
|
||||
];
|
||||
maintainers = with maintainers; [ vrthra ];
|
||||
maintainers = with maintainers; [ ];
|
||||
platforms = [
|
||||
"x86_64-darwin"
|
||||
"x86_64-linux"
|
||||
|
@ -139,7 +139,7 @@ stdenv.mkDerivation rec {
|
||||
asl20 # or
|
||||
mit
|
||||
];
|
||||
maintainers = with maintainers; [ vrthra ];
|
||||
maintainers = with maintainers; [ ];
|
||||
platforms = [
|
||||
"x86_64-darwin"
|
||||
"x86_64-linux"
|
||||
|
@ -31,6 +31,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://rakudo.org";
|
||||
license = licenses.artistic2;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ thoughtpolice vrthra sgo ];
|
||||
maintainers = with maintainers; [ thoughtpolice sgo ];
|
||||
};
|
||||
}
|
||||
|
@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
|
||||
description = "VM with adaptive optimization and JIT compilation, built for Rakudo";
|
||||
homepage = "https://moarvm.org";
|
||||
license = licenses.artistic2;
|
||||
maintainers = with maintainers; [ thoughtpolice vrthra sgo ];
|
||||
maintainers = with maintainers; [ thoughtpolice sgo ];
|
||||
mainProgram = "moar";
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
|
@ -37,6 +37,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://github.com/Raku/nqp";
|
||||
license = licenses.artistic2;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ thoughtpolice vrthra sgo ];
|
||||
maintainers = with maintainers; [ thoughtpolice sgo ];
|
||||
};
|
||||
}
|
||||
|
@ -267,7 +267,7 @@ let
|
||||
description = "Object-oriented language for quick and easy programming";
|
||||
homepage = "https://www.ruby-lang.org/";
|
||||
license = licenses.ruby;
|
||||
maintainers = with maintainers; [ vrthra manveru ];
|
||||
maintainers = with maintainers; [ manveru ];
|
||||
platforms = platforms.all;
|
||||
knownVulnerabilities = op (lib.versionOlder ver.majMin "3.0") "This Ruby release has reached its end of life. See https://www.ruby-lang.org/en/downloads/branches/.";
|
||||
};
|
||||
|
@ -44,7 +44,7 @@ stdenv.mkDerivation {
|
||||
meta = with lib; {
|
||||
broken = (stdenv.isLinux && stdenv.isAarch64);
|
||||
description = "Very high level, goal-directed, object-oriented, general purpose applications language";
|
||||
maintainers = with maintainers; [ vrthra ];
|
||||
maintainers = with maintainers; [ ];
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl2;
|
||||
homepage = "http://unicon.org";
|
||||
|
@ -96,7 +96,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
homepage = "https://www.gnu.org/software/gettext/";
|
||||
|
||||
maintainers = with maintainers; [ zimbatm vrthra ];
|
||||
maintainers = with maintainers; [ zimbatm ];
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
|
@ -87,7 +87,7 @@ let self = stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.vrthra ];
|
||||
maintainers = [ ];
|
||||
};
|
||||
};
|
||||
in self
|
||||
|
@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/open-source-parsers/jsoncpp";
|
||||
description = "C++ library for interacting with JSON";
|
||||
maintainers = with maintainers; [ ttuegel cpages ];
|
||||
maintainers = with maintainers; [ ttuegel ];
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
|
@ -82,6 +82,6 @@ stdenv.mkDerivation rec {
|
||||
description = "General-purpose cryptographic library";
|
||||
license = licenses.lgpl2Plus;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ vrthra ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
|
||||
meta = with lib; {
|
||||
description = "Fork of libcurl used by GNUnet";
|
||||
homepage = "https://gnunet.org/en/gnurl.html";
|
||||
maintainers = with maintainers; [ vrthra ];
|
||||
maintainers = with maintainers; [ ];
|
||||
platforms = platforms.unix;
|
||||
license = licenses.curl;
|
||||
};
|
||||
|
@ -83,6 +83,6 @@ in stdenv.mkDerivation (rec {
|
||||
|
||||
license = licenses.lgpl2Plus;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.vrthra ];
|
||||
maintainers = [ ];
|
||||
};
|
||||
} // genPosixLockObjOnlyAttrs)
|
||||
|
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
homepage = "https://www.gnu.org/software/libmicrohttpd/";
|
||||
|
||||
maintainers = with maintainers; [ eelco vrthra fpletz ];
|
||||
maintainers = with maintainers; [ eelco fpletz ];
|
||||
platforms = platforms.unix;
|
||||
} // meta_;
|
||||
}
|
||||
|
@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
|
||||
meta = with lib; {
|
||||
description = "SIXEL library for console graphics, and converter programs";
|
||||
homepage = "https://github.com/libsixel/libsixel";
|
||||
maintainers = with maintainers; [ vrthra ];
|
||||
maintainers = with maintainers; [ ];
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
|
@ -21,6 +21,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://rapidxml.sourceforge.net/";
|
||||
license = licenses.boost;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ cpages ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
@ -69,6 +69,6 @@ tcl.mkTclDerivation {
|
||||
homepage = "https://www.tcl.tk/";
|
||||
license = licenses.tcltk;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ lovek323 vrthra ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://utelle.github.io/wxsqlite3/";
|
||||
description = "C++ wrapper around the public domain SQLite 3.x for wxWidgets";
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ vrthra ];
|
||||
maintainers = with maintainers; [ ];
|
||||
license = with licenses; [ lgpl3Plus gpl3Plus ];
|
||||
};
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
|
||||
mainProgram = "wxsqliteplus";
|
||||
homepage = "https://github.com/guanlisheng/wxsqliteplus";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = [ maintainers.vrthra ];
|
||||
maintainers = [ ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
@ -1,20 +1,24 @@
|
||||
{ lib, stdenv, fetchFromGitHub
|
||||
, ocaml, findlib, pkg-config
|
||||
, gmp
|
||||
, version ? if lib.versionAtLeast ocaml.version "4.08" then "1.14" else "1.13"
|
||||
}:
|
||||
|
||||
if lib.versionOlder ocaml.version "4.04"
|
||||
then throw "zarith is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "ocaml${ocaml.version}-zarith";
|
||||
version = "1.13";
|
||||
inherit version;
|
||||
src = fetchFromGitHub {
|
||||
owner = "ocaml";
|
||||
repo = "Zarith";
|
||||
rev = "release-${version}";
|
||||
sha256 = "sha256-CNVKoJeO3fsmWaV/dwnUA8lgI4ZlxR/LKCXpCXUrpSg=";
|
||||
hash = {
|
||||
"1.13" = "sha256-CNVKoJeO3fsmWaV/dwnUA8lgI4ZlxR/LKCXpCXUrpSg=";
|
||||
"1.14" = "sha256-xUrBDr+M8uW2KOy7DZieO/vDgsSOnyBnpOzQDlXJ0oE=";
|
||||
}."${finalAttrs.version}";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ocaml findlib ];
|
||||
@ -31,9 +35,9 @@ stdenv.mkDerivation rec {
|
||||
meta = with lib; {
|
||||
description = "Fast, arbitrary precision OCaml integers";
|
||||
homepage = "https://github.com/ocaml/Zarith";
|
||||
changelog = "https://github.com/ocaml/Zarith/raw/${src.rev}/Changes";
|
||||
changelog = "https://github.com/ocaml/Zarith/raw/${finalAttrs.src.rev}/Changes";
|
||||
license = licenses.lgpl2;
|
||||
inherit (ocaml.meta) platforms;
|
||||
maintainers = with maintainers; [ thoughtpolice vbgl ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
@ -50,6 +50,6 @@ buildPythonPackage rec {
|
||||
description = "Advanced Enumerations (compatible with Python's stdlib Enum), NamedTuples, and NamedConstants";
|
||||
homepage = "https://github.com/ethanfurman/aenum";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ vrthra ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
@ -27,6 +27,6 @@ buildPythonPackage rec {
|
||||
description = "Adds read support for dbf files to agate";
|
||||
homepage = "https://github.com/wireservice/agate-dbf";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ vrthra ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
@ -38,6 +38,6 @@ buildPythonPackage rec {
|
||||
homepage = "https://github.com/wireservice/agate-excel";
|
||||
changelog = "https://github.com/wireservice/agate-excel/blob/${version}/CHANGELOG.rst";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ vrthra ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
@ -39,6 +39,6 @@ buildPythonPackage rec {
|
||||
description = "Adds SQL read/write support to agate";
|
||||
homepage = "https://github.com/wireservice/agate-sql";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ vrthra ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
@ -59,6 +59,6 @@ buildPythonPackage rec {
|
||||
homepage = "https://github.com/wireservice/agate";
|
||||
changelog = "https://github.com/wireservice/agate/blob/${version}/CHANGELOG.rst";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ vrthra ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
@ -13,7 +13,6 @@
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
tensorflow-bin,
|
||||
torch,
|
||||
transformers,
|
||||
wurlitzer,
|
||||
@ -48,7 +47,6 @@ buildPythonPackage rec {
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
tensorflow-bin
|
||||
torch
|
||||
transformers
|
||||
wurlitzer
|
||||
@ -64,6 +62,16 @@ buildPythonPackage rec {
|
||||
disabledTests = [
|
||||
# AssertionError: assert 'int8' in {'float32'}
|
||||
"test_get_supported_compute_types"
|
||||
# Tensorflow (tf) not available in Python 3.12 yet
|
||||
# To remove when https://github.com/NixOS/nixpkgs/pull/325224 is fixed
|
||||
"test_opennmt_tf_model_conversion"
|
||||
"test_opennmt_tf_model_quantization"
|
||||
"test_opennmt_tf_model_conversion_invalid_vocab"
|
||||
"test_opennmt_tf_model_conversion_invalid_dir"
|
||||
"test_opennmt_tf_shared_embeddings_conversion"
|
||||
"test_opennmt_tf_postnorm_transformer_conversion"
|
||||
"test_opennmt_tf_gpt_conversion"
|
||||
"test_opennmt_tf_multi_features"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
|
@ -31,6 +31,6 @@ buildPythonPackage rec {
|
||||
description = "Module for reading/writing dBase, FoxPro, and Visual FoxPro .dbf files";
|
||||
homepage = "https://github.com/ethanfurman/dbf";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ vrthra ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
@ -18,6 +18,6 @@ buildPythonPackage rec {
|
||||
description = "Read DBF Files with Python";
|
||||
homepage = "https://dbfread.readthedocs.org/";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ vrthra ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
@ -14,14 +14,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dbt-adapters";
|
||||
version = "1.3.2";
|
||||
version = "1.3.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dbt-labs";
|
||||
repo = "dbt-adapters";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Erx/j1x+I4ypPqBFzJRZk3ILr3ZG97Hvk4vXe2p6cDc=";
|
||||
hash = "sha256-M7n+WcHGBMNZ5k9GZRR05g8KzPDWjmB83iZSD16G774=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "devito";
|
||||
version = "4.8.9";
|
||||
version = "4.8.10";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -34,7 +34,7 @@ buildPythonPackage rec {
|
||||
owner = "devitocodes";
|
||||
repo = "devito";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-uCZBCq1Lzc2IwjvqAY+wZzyEOeYraegt0242aI5CPUI=";
|
||||
hash = "sha256-r3HsVZo+2WnjxIToGTOR/xp1l4G2a3+sHslBA8iEdSo=";
|
||||
};
|
||||
|
||||
pythonRemoveDeps = [
|
||||
@ -46,7 +46,6 @@ buildPythonPackage rec {
|
||||
|
||||
pythonRelaxDeps = true;
|
||||
|
||||
|
||||
dependencies = [
|
||||
anytree
|
||||
cached-property
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "geoalchemy2";
|
||||
version = "0.15.1";
|
||||
version = "0.15.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
owner = "geoalchemy";
|
||||
repo = "geoalchemy2";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-EMsaB6VDDDvXg9LKa9ms0+AfzX1rG+yeR898EK59DDs=";
|
||||
hash = "sha256-c5PvkQdfKajQha2nAtqYq7aHCgP/n41ekE04Rl2Pnr0=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
@ -6,27 +6,25 @@
|
||||
requests-oauthlib,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
six,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "homeconnect";
|
||||
version = "0.7.4";
|
||||
format = "pyproject";
|
||||
version = "0.8.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-lkal6Dy4cRRZ893I3/jyQ3+sDZMrHN0UMGff0ab4pvk=";
|
||||
hash = "sha256-W475a+TlGiKRR1EDYiFVmApmQfmft85iBQLRnbEmcuA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
requests
|
||||
requests-oauthlib
|
||||
six
|
||||
];
|
||||
|
||||
# Project has no tests
|
||||
@ -38,7 +36,7 @@ buildPythonPackage rec {
|
||||
description = "Python client for the BSH Home Connect REST API";
|
||||
homepage = "https://github.com/DavidMStraub/homeconnect";
|
||||
changelog = "https://github.com/DavidMStraub/homeconnect/releases/tag/v${version}";
|
||||
license = with licenses; [ mit ];
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
@ -6,7 +6,6 @@
|
||||
pythonOlder,
|
||||
aiohttp,
|
||||
dataclasses-json,
|
||||
duckdb-engine,
|
||||
langchain,
|
||||
langchain-core,
|
||||
langsmith,
|
||||
@ -65,7 +64,6 @@ buildPythonPackage rec {
|
||||
pythonImportsCheck = [ "langchain_community" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
duckdb-engine
|
||||
lark
|
||||
pandas
|
||||
pytest-asyncio
|
||||
@ -88,6 +86,10 @@ buildPythonPackage rec {
|
||||
disabledTests = [
|
||||
# Test require network access
|
||||
"test_ovhcloud_embed_documents"
|
||||
# duckdb-engine needs python-wasmer which is not yet available in Python 3.12
|
||||
# See https://github.com/NixOS/nixpkgs/pull/326337 and https://github.com/wasmerio/wasmer-python/issues/778
|
||||
"test_table_info"
|
||||
"test_sql_database_run"
|
||||
];
|
||||
|
||||
meta = {
|
||||
|
@ -31,6 +31,6 @@ buildPythonPackage rec {
|
||||
description = "Python charting library";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ vrthra ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "netutils";
|
||||
version = "1.8.1";
|
||||
version = "1.9.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
owner = "networktocode";
|
||||
repo = "netutils";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-09SRSzA1RiBhJjq+dlln23myWvXFhr8krsPz7N80JKw=";
|
||||
hash = "sha256-JPGdxkrbDGdehBviXl851J5da10auu8TDQDBnQzK2uk=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
@ -17,14 +17,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "numpyro";
|
||||
version = "0.15.0";
|
||||
version = "0.15.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version pname;
|
||||
hash = "sha256-4WyfR8wx4qollYSgtslEMSCB0zypJAYCJjKtWEsOYA0=";
|
||||
hash = "sha256-HnX6sYRdEpbCMDXHsk1l/h60630ZwmED3SUioLA3wrU=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@ -69,11 +69,11 @@ buildPythonPackage rec {
|
||||
# TODO: remove when tensorflow-probability gets fixed.
|
||||
disabledTestPaths = [ "test/test_distributions.py" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Library for probabilistic programming with NumPy";
|
||||
homepage = "https://num.pyro.ai/";
|
||||
changelog = "https://github.com/pyro-ppl/numpyro/releases/tag/${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "opower";
|
||||
version = "0.5.0";
|
||||
version = "0.5.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
owner = "tronikos";
|
||||
repo = "opower";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Rv5ttUUlBqa4yFEV5WWrZ+fhL/mrvjoYFsMN6xnFUhQ=";
|
||||
hash = "sha256-aK/zpeSe9GBONDbFqLF6ZGkBkhp2/GzH5gg3hfJcl/U=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
@ -13,14 +13,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "osc";
|
||||
version = "1.8.0";
|
||||
version = "1.8.3";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "openSUSE";
|
||||
repo = "osc";
|
||||
rev = version;
|
||||
hash = "sha256-YYcTZ4TB/wDl+T3yF5n2Wp0r4v8eWCTO2fjv/ygicmM=";
|
||||
hash = "sha256-SREq0rZuCiILBG4RdvtxkTOGKJuYBS3GypLZnSdBvVI=";
|
||||
};
|
||||
|
||||
buildInputs = [ bashInteractive ]; # needed for bash-completion helper
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user