mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
Merge remote-tracking branch 'origin/master' into staging-next
This commit is contained in:
commit
0c45a8b5c4
@ -200,3 +200,6 @@ ce21e97a1f20dee15da85c084f9d1148d84f853b
|
||||
4cec81a9959ce612b653860dcca53101a36f328a
|
||||
# Final commit that does the formatting
|
||||
88b285c01d84de82c0b2b052fd28eaf6709c2d26
|
||||
|
||||
# sqlc: format with nixfmt
|
||||
2bdec131b2bb2c8563f4556d741d34ccb77409e2
|
||||
|
2
.github/workflows/backport.yml
vendored
2
.github/workflows/backport.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
||||
if: github.repository_owner == 'NixOS' && github.event.pull_request.merged == true && (github.event_name != 'labeled' || startsWith('backport', github.event.label.name))
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
- name: Create backport PRs
|
||||
|
2
.github/workflows/basic-eval.yml
vendored
2
.github/workflows/basic-eval.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
# we don't limit this action to only NixOS repo since the checks are cheap and useful developer feedback
|
||||
steps:
|
||||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
- uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30
|
||||
- uses: cachix/cachix-action@ad2ddac53f961de1989924296a1f236fcfbaa4fc # v15
|
||||
with:
|
||||
|
2
.github/workflows/check-cherry-picks.yml
vendored
2
.github/workflows/check-cherry-picks.yml
vendored
@ -14,7 +14,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository_owner == 'NixOS'
|
||||
steps:
|
||||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
filter: blob:none
|
||||
|
@ -13,7 +13,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository_owner == 'NixOS'
|
||||
steps:
|
||||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
with:
|
||||
# pull_request_target checks out the base branch by default
|
||||
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
||||
|
2
.github/workflows/check-nix-format.yml
vendored
2
.github/workflows/check-nix-format.yml
vendored
@ -18,7 +18,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
if: "!contains(github.event.pull_request.title, '[skip treewide]')"
|
||||
steps:
|
||||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
with:
|
||||
# pull_request_target checks out the base branch by default
|
||||
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
||||
|
2
.github/workflows/check-nixf-tidy.yml
vendored
2
.github/workflows/check-nixf-tidy.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
if: "!contains(github.event.pull_request.title, '[skip treewide]')"
|
||||
steps:
|
||||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
with:
|
||||
# pull_request_target checks out the base branch by default
|
||||
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
||||
|
4
.github/workflows/check-shell.yml
vendored
4
.github/workflows/check-shell.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
||||
name: shell-check-x86_64-linux
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
with:
|
||||
# pull_request_target checks out the base branch by default
|
||||
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
||||
@ -22,7 +22,7 @@ jobs:
|
||||
name: shell-check-aarch64-darwin
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
with:
|
||||
# pull_request_target checks out the base branch by default
|
||||
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
||||
|
6
.github/workflows/codeowners-v2.yml
vendored
6
.github/workflows/codeowners-v2.yml
vendored
@ -50,7 +50,7 @@ jobs:
|
||||
# Important: Because we use pull_request_target, this checks out the base branch of the PR, not the PR itself.
|
||||
# We later build and run code from the base branch with access to secrets,
|
||||
# so it's important this is not the PRs code.
|
||||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
with:
|
||||
path: base
|
||||
|
||||
@ -63,7 +63,7 @@ jobs:
|
||||
app-id: ${{ vars.OWNER_RO_APP_ID }}
|
||||
private-key: ${{ secrets.OWNER_RO_APP_PRIVATE_KEY }}
|
||||
|
||||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
with:
|
||||
ref: refs/pull/${{ github.event.number }}/merge
|
||||
path: pr
|
||||
@ -87,7 +87,7 @@ jobs:
|
||||
|
||||
# Important: Because we use pull_request_target, this checks out the base branch of the PR, not the PR head.
|
||||
# This is intentional, because we need to request the review of owners as declared in the base branch.
|
||||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
||||
- uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
|
||||
id: app-token
|
||||
|
2
.github/workflows/editorconfig-v2.yml
vendored
2
.github/workflows/editorconfig-v2.yml
vendored
@ -27,7 +27,7 @@ jobs:
|
||||
- name: print list of changed files
|
||||
run: |
|
||||
cat "$HOME/changed_files"
|
||||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
with:
|
||||
# pull_request_target checks out the base branch by default
|
||||
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
||||
|
2
.github/workflows/manual-nixos-v2.yml
vendored
2
.github/workflows/manual-nixos-v2.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository_owner == 'NixOS'
|
||||
steps:
|
||||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
with:
|
||||
# pull_request_target checks out the base branch by default
|
||||
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
||||
|
2
.github/workflows/manual-nixpkgs-v2.yml
vendored
2
.github/workflows/manual-nixpkgs-v2.yml
vendored
@ -18,7 +18,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository_owner == 'NixOS'
|
||||
steps:
|
||||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
with:
|
||||
# pull_request_target checks out the base branch by default
|
||||
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
||||
|
2
.github/workflows/nix-parse-v2.yml
vendored
2
.github/workflows/nix-parse-v2.yml
vendored
@ -27,7 +27,7 @@ jobs:
|
||||
if [[ -s "$HOME/changed_files" ]]; then
|
||||
echo "CHANGED_FILES=$HOME/changed_files" > "$GITHUB_ENV"
|
||||
fi
|
||||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
with:
|
||||
# pull_request_target checks out the base branch by default
|
||||
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
||||
|
4
.github/workflows/nixpkgs-vet.yml
vendored
4
.github/workflows/nixpkgs-vet.yml
vendored
@ -27,7 +27,7 @@ jobs:
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
# This checks out the base branch because of pull_request_target
|
||||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
with:
|
||||
path: base
|
||||
sparse-checkout: ci
|
||||
@ -42,7 +42,7 @@ jobs:
|
||||
echo "Skipping the rest..."
|
||||
fi
|
||||
rm -rf base
|
||||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
if: env.mergedSha
|
||||
with:
|
||||
# pull_request_target checks out the base branch by default
|
||||
|
2
.github/workflows/periodic-merge-24h.yml
vendored
2
.github/workflows/periodic-merge-24h.yml
vendored
@ -41,7 +41,7 @@ jobs:
|
||||
into: staging-24.05
|
||||
name: ${{ matrix.pairs.from }} → ${{ matrix.pairs.into }}
|
||||
steps:
|
||||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
||||
- name: ${{ matrix.pairs.from }} → ${{ matrix.pairs.into }}
|
||||
uses: devmasx/merge-branch@854d3ac71ed1e9deb668e0074781b81fdd6e771f # 1.4.0
|
||||
|
2
.github/workflows/periodic-merge-6h.yml
vendored
2
.github/workflows/periodic-merge-6h.yml
vendored
@ -39,7 +39,7 @@ jobs:
|
||||
into: staging
|
||||
name: ${{ matrix.pairs.from }} → ${{ matrix.pairs.into }}
|
||||
steps:
|
||||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
||||
- name: ${{ matrix.pairs.from }} → ${{ matrix.pairs.into }}
|
||||
uses: devmasx/merge-branch@854d3ac71ed1e9deb668e0074781b81fdd6e771f # 1.4.0
|
||||
|
@ -74,7 +74,7 @@
|
||||
}
|
||||
{
|
||||
name = "customisation";
|
||||
description = "Functions to customise (derivation-related) functions, derivatons, or attribute sets";
|
||||
description = "Functions to customise (derivation-related) functions, derivations, or attribute sets";
|
||||
}
|
||||
{
|
||||
name = "meta";
|
||||
|
@ -1884,6 +1884,12 @@
|
||||
githubId = 10285250;
|
||||
name = "Artur E. Ruuge";
|
||||
};
|
||||
arunoruto = {
|
||||
email = "mirza.arnaut45@gmail.com";
|
||||
github = "arunoruto";
|
||||
githubId = 21687187;
|
||||
name = "Mirza Arnaut";
|
||||
};
|
||||
asbachb = {
|
||||
email = "asbachb-nixpkgs-5c2a@impl.it";
|
||||
matrix = "@asbachb:matrix.org";
|
||||
@ -2539,6 +2545,12 @@
|
||||
githubId = 34620799;
|
||||
name = "Jacob Bachmann";
|
||||
};
|
||||
bcyran = {
|
||||
email = "bazyli@cyran.dev";
|
||||
github = "bcyran";
|
||||
githubId = 8322846;
|
||||
name = "Bazyli Cyran";
|
||||
};
|
||||
bdd = {
|
||||
email = "bdd@mindcast.org";
|
||||
github = "bdd";
|
||||
@ -20104,6 +20116,12 @@
|
||||
githubId = 49844593;
|
||||
name = "skovati";
|
||||
};
|
||||
skyesoss = {
|
||||
name = "Skye Soss";
|
||||
matrix = "@skyesoss:matrix.org";
|
||||
github = "Skyb0rg007";
|
||||
githubId = 30806179;
|
||||
};
|
||||
skykanin = {
|
||||
github = "skykanin";
|
||||
githubId = 3789764;
|
||||
@ -20511,6 +20529,12 @@
|
||||
github = "srounce";
|
||||
githubId = 60792;
|
||||
};
|
||||
Srylax = {
|
||||
name = "Srylax";
|
||||
email = "srylax+nixpkgs@srylax.dev";
|
||||
github = "Srylax";
|
||||
githubId = 71783705;
|
||||
};
|
||||
sshine = {
|
||||
email = "simon@simonshine.dk";
|
||||
github = "sshine";
|
||||
|
@ -1550,6 +1550,7 @@
|
||||
./services/web-servers/phpfpm/default.nix
|
||||
./services/web-servers/pomerium.nix
|
||||
./services/web-servers/rustus.nix
|
||||
./services/web-servers/send.nix
|
||||
./services/web-servers/stargazer.nix
|
||||
./services/web-servers/static-web-server.nix
|
||||
./services/web-servers/tomcat.nix
|
||||
|
@ -113,6 +113,7 @@ in
|
||||
'';
|
||||
serial = lib.mkOption {
|
||||
type = lib.types.nullOr path;
|
||||
default = null;
|
||||
description = "Path to serial port this printer is connected to. Leave `null` to derive it from `service.klipper.settings`.";
|
||||
};
|
||||
configFile = lib.mkOption {
|
||||
|
@ -62,7 +62,7 @@ let
|
||||
} // lib.optionalAttrs (cfg.passBasicAuth) {
|
||||
basic-auth-password = cfg.basicAuthPassword;
|
||||
} // lib.optionalAttrs (cfg.htpasswd.file != null) {
|
||||
display-htpasswd-file = cfg.htpasswd.displayForm;
|
||||
display-htpasswd-form = cfg.htpasswd.displayForm;
|
||||
} // lib.optionalAttrs tls.enable {
|
||||
tls-cert-file = tls.certificate;
|
||||
tls-key-file = tls.key;
|
||||
|
228
nixos/modules/services/web-servers/send.nix
Normal file
228
nixos/modules/services/web-servers/send.nix
Normal file
@ -0,0 +1,228 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib) mkOption types;
|
||||
cfg = config.services.send;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
services.send = {
|
||||
enable = lib.mkEnableOption "Send, a file sharing web sevice for ffsend.";
|
||||
|
||||
package = lib.mkPackageOption pkgs "send" { };
|
||||
|
||||
environment = mkOption {
|
||||
type =
|
||||
with types;
|
||||
attrsOf (
|
||||
nullOr (oneOf [
|
||||
bool
|
||||
int
|
||||
str
|
||||
(listOf int)
|
||||
])
|
||||
);
|
||||
description = ''
|
||||
All the available config options and their defaults can be found here: https://github.com/timvisee/send/blob/master/server/config.js,
|
||||
some descriptions can found here: https://github.com/timvisee/send/blob/master/docs/docker.md#environment-variables
|
||||
|
||||
Values under {option}`services.send.environment` will override the predefined values in the Send service.
|
||||
- Time/duration should be in seconds
|
||||
- Filesize values should be in bytes
|
||||
'';
|
||||
example = {
|
||||
DEFAULT_DOWNLOADS = 1;
|
||||
DETECT_BASE_URL = true;
|
||||
EXPIRE_TIMES_SECONDS = [
|
||||
300
|
||||
3600
|
||||
86400
|
||||
604800
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
dataDir = lib.mkOption {
|
||||
type = types.path;
|
||||
readOnly = true;
|
||||
default = "/var/lib/send";
|
||||
description = ''
|
||||
Directory for uploaded files.
|
||||
Due to limitations in {option}`systemd.services.send.serviceConfig.DynamicUser`, this item is read only.
|
||||
'';
|
||||
};
|
||||
|
||||
baseUrl = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
description = ''
|
||||
Base URL for the Send service.
|
||||
Leave it blank to automatically detect the base url.
|
||||
'';
|
||||
};
|
||||
|
||||
host = lib.mkOption {
|
||||
type = types.str;
|
||||
default = "127.0.0.1";
|
||||
description = "The hostname or IP address for Send to bind to.";
|
||||
};
|
||||
|
||||
port = lib.mkOption {
|
||||
type = types.port;
|
||||
default = 1443;
|
||||
description = "Port the Send service listens on.";
|
||||
};
|
||||
|
||||
openFirewall = lib.mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "Whether to open firewall ports for send";
|
||||
};
|
||||
|
||||
redis = {
|
||||
createLocally = lib.mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
description = "Whether to create a local redis automatically.";
|
||||
};
|
||||
|
||||
name = lib.mkOption {
|
||||
type = types.str;
|
||||
default = "send";
|
||||
description = ''
|
||||
Name of the redis server.
|
||||
Only used if {option}`services.send.redis.createLocally` is set to true.
|
||||
'';
|
||||
};
|
||||
|
||||
host = lib.mkOption {
|
||||
type = types.str;
|
||||
default = "localhost";
|
||||
description = "Redis server address.";
|
||||
};
|
||||
|
||||
port = lib.mkOption {
|
||||
type = types.port;
|
||||
default = 6379;
|
||||
description = "Port of the redis server.";
|
||||
};
|
||||
|
||||
passwordFile = mkOption {
|
||||
type = types.nullOr types.path;
|
||||
default = null;
|
||||
example = "/run/agenix/send-redis-password";
|
||||
description = ''
|
||||
The path to the file containing the Redis password.
|
||||
|
||||
If {option}`services.send.redis.createLocally` is set to true,
|
||||
the content of this file will be used as the password for the locally created Redis instance.
|
||||
|
||||
Leave it blank if no password is required.
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
||||
services.send.environment.DETECT_BASE_URL = cfg.baseUrl == null;
|
||||
|
||||
assertions = [
|
||||
{
|
||||
assertion = cfg.redis.createLocally -> cfg.redis.host == "localhost";
|
||||
message = "the redis host must be localhost if services.send.redis.createLocally is set to true";
|
||||
}
|
||||
];
|
||||
|
||||
networking.firewall.allowedTCPPorts = lib.optional cfg.openFirewall cfg.port;
|
||||
|
||||
services.redis = lib.optionalAttrs cfg.redis.createLocally {
|
||||
servers."${cfg.redis.name}" = {
|
||||
enable = true;
|
||||
bind = "localhost";
|
||||
port = cfg.redis.port;
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services.send = {
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
Restart = "always";
|
||||
StateDirectory = "send";
|
||||
WorkingDirectory = cfg.dataDir;
|
||||
ReadWritePaths = cfg.dataDir;
|
||||
LoadCredential = lib.optionalString (
|
||||
cfg.redis.passwordFile != null
|
||||
) "redis-password:${cfg.redis.passwordFile}";
|
||||
|
||||
# Hardening
|
||||
RestrictAddressFamilies = [
|
||||
"AF_UNIX"
|
||||
"AF_INET"
|
||||
"AF_INET6"
|
||||
];
|
||||
AmbientCapabilities = lib.optionalString (cfg.port < 1024) "cap_net_bind_service";
|
||||
DynamicUser = true;
|
||||
CapabilityBoundingSet = "";
|
||||
NoNewPrivileges = true;
|
||||
RemoveIPC = true;
|
||||
PrivateTmp = true;
|
||||
ProcSubset = "pid";
|
||||
ProtectClock = true;
|
||||
ProtectControlGroups = true;
|
||||
ProtectHome = true;
|
||||
ProtectHostname = true;
|
||||
ProtectKernelLogs = true;
|
||||
ProtectKernelModules = true;
|
||||
ProtectKernelTunables = true;
|
||||
ProtectProc = "invisible";
|
||||
ProtectSystem = "full";
|
||||
RestrictNamespaces = true;
|
||||
RestrictRealtime = true;
|
||||
RestrictSUIDSGID = true;
|
||||
SystemCallArchitectures = "native";
|
||||
UMask = "0077";
|
||||
};
|
||||
environment =
|
||||
{
|
||||
IP_ADDRESS = cfg.host;
|
||||
PORT = toString cfg.port;
|
||||
BASE_URL = if (cfg.baseUrl == null) then "http://${cfg.host}:${toString cfg.port}" else cfg.baseUrl;
|
||||
FILE_DIR = cfg.dataDir + "/uploads";
|
||||
REDIS_HOST = cfg.redis.host;
|
||||
REDIS_PORT = toString cfg.redis.port;
|
||||
}
|
||||
// (lib.mapAttrs (
|
||||
name: value:
|
||||
if lib.isList value then
|
||||
"[" + lib.concatStringsSep ", " (map (x: toString x) value) + "]"
|
||||
else if lib.isBool value then
|
||||
lib.boolToString value
|
||||
else
|
||||
toString value
|
||||
) cfg.environment);
|
||||
after =
|
||||
[
|
||||
"network.target"
|
||||
]
|
||||
++ lib.optionals cfg.redis.createLocally [
|
||||
"redis-${cfg.redis.name}.service"
|
||||
];
|
||||
description = "Send web service";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
script = ''
|
||||
${lib.optionalString (cfg.redis.passwordFile != null) ''
|
||||
export REDIS_PASSWORD="$(cat $CREDENTIALS_DIRECTORY/redis-password)"
|
||||
''}
|
||||
${lib.getExe cfg.package}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
meta.maintainers = with lib.maintainers; [ moraxyc ];
|
||||
}
|
@ -904,6 +904,7 @@ in {
|
||||
seafile = handleTest ./seafile.nix {};
|
||||
searx = runTest ./searx.nix;
|
||||
seatd = handleTest ./seatd.nix {};
|
||||
send = runTest ./send.nix;
|
||||
service-runner = handleTest ./service-runner.nix {};
|
||||
sftpgo = runTest ./sftpgo.nix;
|
||||
sfxr-qt = handleTest ./sfxr-qt.nix {};
|
||||
|
@ -35,7 +35,7 @@ let
|
||||
machine.wait_for_text('Your Subscription list is currently empty')
|
||||
machine.screenshot("main.png")
|
||||
machine.send_key("ctrl-comma")
|
||||
machine.wait_for_text('Data Settings', timeout=60)
|
||||
machine.wait_for_text('Data', timeout=60)
|
||||
machine.screenshot("preferences.png")
|
||||
'';
|
||||
});
|
||||
|
34
nixos/tests/send.nix
Normal file
34
nixos/tests/send.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ lib, pkgs, ... }:
|
||||
{
|
||||
name = "send";
|
||||
|
||||
meta = {
|
||||
maintainers = with lib.maintainers; [ moraxyc ];
|
||||
};
|
||||
|
||||
nodes.machine =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
curl
|
||||
ffsend
|
||||
];
|
||||
|
||||
services.send = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
machine.wait_for_unit("send.service")
|
||||
|
||||
machine.wait_for_open_port(1443)
|
||||
|
||||
machine.succeed("curl --fail --max-time 10 http://127.0.0.1:1443")
|
||||
|
||||
machine.succeed("echo HelloWorld > /tmp/test")
|
||||
url = machine.succeed("ffsend upload -q -h http://127.0.0.1:1443/ /tmp/test")
|
||||
machine.succeed(f'ffsend download --output /tmp/download {url}')
|
||||
machine.succeed("cat /tmp/download | grep HelloWorld")
|
||||
'';
|
||||
}
|
@ -628,8 +628,8 @@ buildGoModule rec {
|
||||
}
|
||||
```
|
||||
|
||||
Any derivaton can be specified as a test, even if it's in a different file.
|
||||
Such a derivaton that implements a test can depend on the package under test, even in the presence of `overrideAttrs`.
|
||||
Any derivation can be specified as a test, even if it's in a different file.
|
||||
Such a derivation that implements a test can depend on the package under test, even in the presence of `overrideAttrs`.
|
||||
|
||||
In the following example, `(my-package.overrideAttrs f).passthru.tests` will work as expected, as long as the definition of `tests` does not rely on the original `my-package` or overrides all occurrences of `my-package`:
|
||||
|
||||
|
@ -10,17 +10,16 @@
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "minidsp";
|
||||
version = "0.1.9";
|
||||
version = "0.1.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mrene";
|
||||
repo = "minidsp-rs";
|
||||
# v0.1.9 tag is out of date, cargo lock fixed in next commit on main
|
||||
rev = "b03a95a05917f20b9c3153c03e4e99dd943d9f6f";
|
||||
hash = "sha256-uZBrX3VCCpr7AY82PgR596mncL5wWDK7bpx2m/jCJBE=";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-8bKP9/byVRKj1P1MP3ZVg8yw0WaNB0BcqarCti7B8CA=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-0PyojyimxnwEtHA98Npf4eHvycjuXdPrrIFilVuEnQk=";
|
||||
cargoHash = "sha256-GUrYEFpTo83lKuDyENaVN3VhnZ2Y/igtsbEY7kNa1os=";
|
||||
|
||||
cargoBuildFlags = ["-p minidsp -p minidsp-daemon"];
|
||||
|
||||
|
@ -27,6 +27,10 @@
|
||||
"date": "2022-10-14",
|
||||
"new": "neodev-nvim"
|
||||
},
|
||||
"magma-nvim-goose": {
|
||||
"date": "2024-10-28",
|
||||
"new": "magma-nvim"
|
||||
},
|
||||
"nvchad-extensions": {
|
||||
"date": "2023-08-19",
|
||||
"new": "nvchad-ui"
|
||||
|
@ -6266,18 +6266,6 @@ final: prev:
|
||||
meta.homepage = "https://github.com/Bilal2453/luvit-meta/";
|
||||
};
|
||||
|
||||
magma-nvim-goose = buildVimPlugin {
|
||||
pname = "magma-nvim-goose";
|
||||
version = "2023-07-04";
|
||||
src = fetchFromGitHub {
|
||||
owner = "WhiteBlackGoose";
|
||||
repo = "magma-nvim-goose";
|
||||
rev = "9a626aab63361d027541d023707f82e28d7f872c";
|
||||
sha256 = "1z2g96qrgnk817dh9jqavx6yaapddyih8das33v1iwxacnykrbgl";
|
||||
};
|
||||
meta.homepage = "https://github.com/WhiteBlackGoose/magma-nvim-goose/";
|
||||
};
|
||||
|
||||
mark-radar-nvim = buildVimPlugin {
|
||||
pname = "mark-radar.nvim";
|
||||
version = "2024-06-04";
|
||||
@ -18768,5 +18756,16 @@ final: prev:
|
||||
meta.homepage = "https://github.com/GCBallesteros/NotebookNavigator.nvim";
|
||||
};
|
||||
|
||||
magma-nvim = buildVimPlugin {
|
||||
pname = "magma-nvim";
|
||||
version = "2023-07-08";
|
||||
src = fetchFromGitHub {
|
||||
owner = "dccsillag";
|
||||
repo = "magma-nvim";
|
||||
rev = "ff3deba8a879806a51c005e50782130246143d06";
|
||||
sha256 = "sha256-IrMR57gk9iCk73esHO24KZeep9VrlkV5sOC4PzGexyo=";
|
||||
};
|
||||
meta.homepage = "https://github.com/dccsillag/magma-nvim";
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -1305,15 +1305,7 @@ in
|
||||
nvimRequireCheck = "lzn-auto-require.loader";
|
||||
};
|
||||
|
||||
magma-nvim-goose = buildVimPlugin {
|
||||
pname = "magma-nvim-goose";
|
||||
version = "2023-03-13";
|
||||
src = fetchFromGitHub {
|
||||
owner = "WhiteBlackGoose";
|
||||
repo = "magma-nvim-goose";
|
||||
rev = "5d916c39c1852e09fcd39eab174b8e5bbdb25f8f";
|
||||
sha256 = "10d6dh0czdpgfpzqs5vzxfffkm0460qjzi2mfkacgghqf3iwkbja";
|
||||
};
|
||||
magma-nvim = super.magma-nvim.overrideAttrs {
|
||||
passthru.python3Dependencies =
|
||||
ps: with ps; [
|
||||
pynvim
|
||||
@ -1326,7 +1318,6 @@ in
|
||||
pyperclip
|
||||
pnglatex
|
||||
];
|
||||
meta.homepage = "https://github.com/WhiteBlackGoose/magma-nvim-goose/";
|
||||
};
|
||||
|
||||
markdown-preview-nvim =
|
||||
|
File diff suppressed because it is too large
Load Diff
2730
pkgs/applications/misc/insulator2/Cargo.lock
generated
2730
pkgs/applications/misc/insulator2/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,5 @@
|
||||
{ lib
|
||||
, cmake
|
||||
, dbus
|
||||
, fetchFromGitHub
|
||||
, fetchYarnDeps
|
||||
@ -11,7 +12,6 @@
|
||||
, perl
|
||||
, cyrus_sasl
|
||||
, stdenv
|
||||
, fixup_yarn_lock
|
||||
, yarnConfigHook
|
||||
, nodejs-slim
|
||||
, cargo-tauri
|
||||
@ -20,19 +20,25 @@
|
||||
, rustc
|
||||
, jq
|
||||
, moreutils
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "insulator2";
|
||||
version = "2.12.2";
|
||||
version = "2.13.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "andrewinci";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Bi9GCQr7yox5Plc7o0svRKYi1XoK/HDGj1VbW1z4jac=";
|
||||
hash = "sha256-34JRIB7/x7miReWOxR/m+atjfUiE3XGyh9OBSbMg3m4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# see: https://github.com/andrewinci/insulator2/pull/733
|
||||
./fix-rust-1.80.0.patch
|
||||
];
|
||||
|
||||
# Yarn *really* wants us to use corepack if this is set
|
||||
postPatch = ''
|
||||
jq 'del(.packageManager)' package.json | sponge package.json
|
||||
@ -40,30 +46,34 @@ stdenv.mkDerivation rec {
|
||||
|
||||
yarnOfflineCache = fetchYarnDeps {
|
||||
yarnLock = "${src}/yarn.lock";
|
||||
hash = "sha256-ih5NSOvYje981SkVfPHm/u2sS1B36kgxpfe9LmQaxdo=";
|
||||
hash = "sha256-5wOgVrcHJVF07QpnN52d4VWEM3FKw3NdLrZ1goAP2oI=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.importCargoLock {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"apache-avro-0.15.0" = "sha256-bjA/x/IDzAYugsc1vn9fBVKaCiLOJYdA1Q9H2pffBh0=";
|
||||
"openssl-src-111.25.0+1.1.1t" = "sha256-1BEtb38ilJJAw35KW+NOIe1rhxxOPsnz0gA2zJnof8c=";
|
||||
"rdkafka-0.29.0" = "sha256-a739Fc+qjmIrK754GT22Gb/Ftd82lLSUzv53Ej7Khu4=";
|
||||
"apache-avro-0.16.0" = "sha256-v4TeJEhLEqQUgj+EHgFRVUGoLC+SpOUhAXngMP7R7nM=";
|
||||
"rust-keystore-0.1.1" = "sha256-Cj64uJFZNxnrplhRuqf9/HK/RAaawzfYHo/J9snZ+TU=";
|
||||
};
|
||||
};
|
||||
|
||||
cargoRoot = "backend/";
|
||||
buildAndTestDir = cargoRoot;
|
||||
buildAndTestSubdir = cargoRoot;
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p "$out"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
perl
|
||||
rustPlatform.cargoSetupHook
|
||||
cargo
|
||||
rustc
|
||||
cargo-tauri.hook
|
||||
fixup_yarn_lock
|
||||
yarnConfigHook
|
||||
nodejs-slim
|
||||
cyrus_sasl
|
||||
@ -87,5 +97,4 @@ stdenv.mkDerivation rec {
|
||||
maintainers = with maintainers; [ tc-kaluza ];
|
||||
mainProgram = "insulator-2";
|
||||
};
|
||||
|
||||
}
|
||||
|
51
pkgs/applications/misc/insulator2/fix-rust-1.80.0.patch
Normal file
51
pkgs/applications/misc/insulator2/fix-rust-1.80.0.patch
Normal file
@ -0,0 +1,51 @@
|
||||
From 7dbff0777c4364eec68cf90488d99f06b11dfa98 Mon Sep 17 00:00:00 2001
|
||||
From: Felix Buehler <account@buehler.rocks>
|
||||
Date: Tue, 8 Oct 2024 23:49:40 +0200
|
||||
Subject: [PATCH] build: Bump time from 0.3.34 to 0.3.36 in /backend
|
||||
|
||||
---
|
||||
backend/Cargo.lock | 8 ++++----
|
||||
backend/Cargo.toml | 2 +-
|
||||
2 files changed, 5 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/backend/Cargo.lock b/backend/Cargo.lock
|
||||
index dc3ac0d4..571bd845 100644
|
||||
--- a/backend/Cargo.lock
|
||||
+++ b/backend/Cargo.lock
|
||||
@@ -4771,9 +4771,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "time"
|
||||
-version = "0.3.34"
|
||||
+version = "0.3.36"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749"
|
||||
+checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885"
|
||||
dependencies = [
|
||||
"deranged",
|
||||
"itoa 1.0.10",
|
||||
@@ -4792,9 +4792,9 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
|
||||
|
||||
[[package]]
|
||||
name = "time-macros"
|
||||
-version = "0.2.17"
|
||||
+version = "0.2.18"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774"
|
||||
+checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf"
|
||||
dependencies = [
|
||||
"num-conv",
|
||||
"time-core",
|
||||
diff --git a/backend/Cargo.toml b/backend/Cargo.toml
|
||||
index 2a689961..3d198dff 100644
|
||||
--- a/backend/Cargo.toml
|
||||
+++ b/backend/Cargo.toml
|
||||
@@ -49,7 +49,7 @@ r2d2 = "0.8.10"
|
||||
r2d2_sqlite = "0.21.0"
|
||||
toml = "0.7"
|
||||
rand = "0.8.5"
|
||||
-time = "0.3.34"
|
||||
+time = "0.3.36"
|
||||
sys-locale = "0.3.0"
|
||||
uuid = "1.4.1"
|
||||
rlimit = "0.10.1"
|
@ -1,25 +0,0 @@
|
||||
{ lib, pythonPackages, fetchPypi }:
|
||||
|
||||
with pythonPackages;
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "pyditz";
|
||||
version = "0.11";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-2gNlrpBk4wxKJ1JvsNeoAv2lyGUc2mmQ0Xvn7eiaJVE=";
|
||||
};
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
propagatedBuildInputs = [ pyyaml six jinja2 cerberus ];
|
||||
|
||||
nativeCheckInputs = [ unittestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://pypi.org/project/pyditz/";
|
||||
description = "Drop-in replacement for the Ditz distributed issue tracker";
|
||||
maintainers = [ maintainers.ilikeavocadoes ];
|
||||
license = licenses.lgpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -26,15 +26,16 @@
|
||||
, xdg-utils
|
||||
, xclip
|
||||
, wl-clipboard
|
||||
, nix-update-script
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "nyxt";
|
||||
version = "3.11.8";
|
||||
version = "3.12.0";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/atlas-engineer/nyxt/releases/download/${finalAttrs.version}/nyxt-${finalAttrs.version}-source-with-submodules.tar.xz";
|
||||
hash = "sha256-mLf2dvnXYUwPEB3QkoB/O3m/e96t6ISUZNfh+y1ArX4=";
|
||||
hash = "sha256-T5p3OaWp28rny81ggdE9iXffmuh6wt6XSuteTOT8FLI=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
@ -97,7 +98,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
# prevent corrupting core in exe
|
||||
dontStrip = true;
|
||||
|
||||
passthru.tests.version = testers.testVersion { package = finalAttrs.finalPackage; };
|
||||
passthru = {
|
||||
tests.version = testers.testVersion { package = finalAttrs.finalPackage; };
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Infinitely extensible web-browser (with Lisp development files using WebKitGTK platform port)";
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "nova";
|
||||
version = "3.10.2";
|
||||
version = "3.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "FairwindsOps";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-RpYlUYGqOtF9R1Fr+Smu7XMWN+Y+P3RnagjBRNnA8/8=";
|
||||
hash = "sha256-gkEUc2mhm1r69XzAnglLhdyYI4jQ24oEk/NRMgeyw60=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-v3ld3bHpVWNJgQ6K5iS7q8QV4ft4RE42wKi+f4++yqY=";
|
||||
|
@ -1,55 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonApplication,
|
||||
fetchPypi,
|
||||
procps,
|
||||
python,
|
||||
qt5,
|
||||
xvfb-run,
|
||||
}:
|
||||
buildPythonApplication rec {
|
||||
pname = "flent";
|
||||
version = "2.1.1";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-21gd6sPYCZll3Q2O7kucTRhXvc5byXeQr50+1bZVT3M=";
|
||||
};
|
||||
|
||||
buildInputs = [python.pkgs.sphinx];
|
||||
nativeBuildInputs = [qt5.wrapQtAppsHook];
|
||||
propagatedBuildInputs = [
|
||||
procps
|
||||
python.pkgs.matplotlib
|
||||
python.pkgs.pyqt5
|
||||
python.pkgs.qtpy
|
||||
];
|
||||
nativeCheckInputs = [
|
||||
python.pkgs.mock
|
||||
xvfb-run
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
# we want the gui tests to always run
|
||||
sed -i 's|self.skip|pass; #&|' unittests/test_gui.py
|
||||
|
||||
cat >test-runner <<EOF
|
||||
#!/bin/sh
|
||||
${python.pythonOnBuildForHost.interpreter} nix_run_setup test
|
||||
EOF
|
||||
chmod +x test-runner
|
||||
wrapQtApp test-runner --prefix PYTHONPATH : $PYTHONPATH
|
||||
xvfb-run -s '-screen 0 800x600x24' ./test-runner
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "FLExible Network Tester";
|
||||
homepage = "https://flent.org";
|
||||
license = licenses.gpl3;
|
||||
|
||||
maintainers = [maintainers.mmlb];
|
||||
};
|
||||
}
|
@ -66,7 +66,7 @@ flutter324.buildFlutterApplication (rec {
|
||||
};
|
||||
|
||||
postInstall = ''
|
||||
FAV=$out/app/data/flutter_assets/assets/favicon.png
|
||||
FAV=$out/app/fluffychat-linux/data/flutter_assets/assets/favicon.png
|
||||
ICO=$out/share/icons
|
||||
|
||||
install -D $FAV $ICO/fluffychat.png
|
||||
@ -78,7 +78,7 @@ flutter324.buildFlutterApplication (rec {
|
||||
convert $FAV -resize ''${size}x''${size} $D/fluffychat.png
|
||||
done
|
||||
|
||||
patchelf --add-rpath ${libwebrtcRpath} $out/app/lib/libwebrtc.so
|
||||
patchelf --add-rpath ${libwebrtcRpath} $out/app/fluffychat-linux/lib/libwebrtc.so
|
||||
'';
|
||||
} // lib.optionalAttrs (targetFlutterPlatform == "web") {
|
||||
prePatch =
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "ghq";
|
||||
version = "1.6.2";
|
||||
version = "1.6.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "x-motemen";
|
||||
repo = "ghq";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-vO/skiVq9wFWjTWyUb9IbKRAmtGSZEtBBEbW6R+oOQM=";
|
||||
sha256 = "sha256-fL63e0URUiGkVLyLvNeXjIFYEjWF6Xd4FXFXrpqcduQ=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-qUMpHFCCzfwM4wC0FIaOrnTiqq3BlG5Jr9XlkSx2HRo=";
|
||||
vendorHash = "sha256-8n0kAowtBSCavHI6y3I7ozJg74tA8bF80WVwe+znHhc=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
@ -10,11 +10,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "freetube";
|
||||
version = "0.21.3";
|
||||
version = "0.22.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/FreeTubeApp/FreeTube/releases/download/v${version}-beta/freetube_${version}_amd64.AppImage";
|
||||
hash = "sha256-sg/ycFo4roOJ2sW4naRCE6dwGXVQFzF8uwAZQkS2EY4=";
|
||||
hash = "sha256-YRXKL09XXX6HxC1lsk0iQnTGmPHFwfNL5XRA+u/crus=";
|
||||
};
|
||||
|
||||
passthru.tests = nixosTests.freetube;
|
||||
@ -55,6 +55,7 @@ stdenv.mkDerivation rec {
|
||||
maintainers = with lib.maintainers; [
|
||||
ryneeverett
|
||||
alyaeanyx
|
||||
ryand56
|
||||
];
|
||||
inherit (electron.meta) platforms;
|
||||
mainProgram = "freetube";
|
||||
|
49
pkgs/by-name/au/autoraise/package.nix
Normal file
49
pkgs/by-name/au/autoraise/package.nix
Normal file
@ -0,0 +1,49 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
darwin,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "autoraise";
|
||||
version = "5.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sbmpost";
|
||||
repo = "AutoRaise";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-OsvmNHpQ46+cWkR4Nz/9oIgSFSWLfCwZnAnRKRiNm5E=";
|
||||
};
|
||||
|
||||
buildInputs = with darwin.apple_sdk.frameworks; [
|
||||
AppKit
|
||||
SkyLight
|
||||
];
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
$CXX -std=c++03 -fobjc-arc -D"NS_FORMAT_ARGUMENT(A)=" -D"SKYLIGHT_AVAILABLE=1" -o AutoRaise AutoRaise.mm -framework AppKit -framework SkyLight
|
||||
bash create-app-bundle.sh
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/Applications $out/bin
|
||||
mv AutoRaise.app $out/Applications/AutoRaise.app
|
||||
ln -s $out/Applications/AutoRaise.app/Contents/MacOS/AutoRaise $out/bin/autoraise
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "AutoRaise (and focus) a window when hovering over it with the mouse";
|
||||
homepage = "https://github.com/sbmpost/AutoRaise";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ nickhu ];
|
||||
mainProgram = "autoraise";
|
||||
platforms = lib.platforms.darwin;
|
||||
};
|
||||
}
|
61
pkgs/by-name/bl/blobdrop/package.nix
Normal file
61
pkgs/by-name/bl/blobdrop/package.nix
Normal file
@ -0,0 +1,61 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
pkg-config,
|
||||
qt6,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "blobdrop";
|
||||
version = "2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vimpostor";
|
||||
repo = "blobdrop";
|
||||
rev = "refs/tags/v${finalAttrs.version}";
|
||||
hash = "sha256-o2+qtkyu2qcwXpum3KiogyO8D6aY7bRJ6y4FWQKQY/o=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs =
|
||||
[
|
||||
cmake
|
||||
qt6.wrapQtAppsHook
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs =
|
||||
[
|
||||
qt6.qtdeclarative
|
||||
qt6.qtsvg
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
qt6.qtwayland
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "BUILD_TESTING" finalAttrs.doCheck)
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
preCheck = ''
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
'';
|
||||
|
||||
meta = {
|
||||
broken = stdenv.hostPlatform.isDarwin;
|
||||
changelog = "https://github.com/vimpostor/blobdrop/releases/tag/v${finalAttrs.version}";
|
||||
description = "Drag and drop files directly out of the terminal";
|
||||
homepage = "https://github.com/vimpostor/blobdrop";
|
||||
license = lib.licenses.gpl3Only;
|
||||
mainProgram = "blobdrop";
|
||||
maintainers = with lib.maintainers; [ tomasajt ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
})
|
@ -1,23 +1,22 @@
|
||||
{ lib
|
||||
, stdenvNoCC
|
||||
, fetchFromGitHub
|
||||
, gtk3
|
||||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
gtk3,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "candy-icons";
|
||||
version = "unstable-2023-12-31";
|
||||
version = "0-unstable-2024-10-22";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "EliverLara";
|
||||
repo = "candy-icons";
|
||||
rev = "e4464d7b4d8e1821025447b2064b6a8f5c4c8c89";
|
||||
hash = "sha256-XdYjxWf8R4b1GK2iFQnoEOWykc19ZT37ki83WeESQBM=";
|
||||
rev = "f8a4125d338d86a58723ab36f9f827248d07c85c";
|
||||
hash = "sha256-Bv91a5NglKWwddqx0kPgdCrik9SOPtcfQFJDWOdcQG4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gtk3
|
||||
];
|
||||
nativeBuildInputs = [ gtk3 ];
|
||||
|
||||
dontDropIconThemeCache = true;
|
||||
|
||||
@ -36,6 +35,9 @@ stdenvNoCC.mkDerivation {
|
||||
description = "Icon theme colored with sweet gradients";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ clr-cera ];
|
||||
maintainers = with maintainers; [
|
||||
clr-cera
|
||||
arunoruto
|
||||
];
|
||||
};
|
||||
}
|
||||
|
@ -6,16 +6,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "cirrus-cli";
|
||||
version = "0.126.1";
|
||||
version = "0.130.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cirruslabs";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-A894AUmsJjCCvN6cI2qoTPyOeQx6h2uukzxtlvWZVn8=";
|
||||
hash = "sha256-OnB7e0KYXxHGcG8ilTZ3/Na/g9Ai8/QM8x6wAOa6glE=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-PecNBlSoo8WN2FKXN/UpkqpqbsJkOPHKILy76YWgNlw=";
|
||||
vendorHash = "sha256-rYg0cmW63IolYQ79R9pFiFXD6UfESv4jq9kn1EGJmgw=";
|
||||
|
||||
ldflags = [
|
||||
"-X github.com/cirruslabs/cirrus-cli/internal/version.Version=v${version}"
|
||||
|
@ -8,16 +8,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "ccat";
|
||||
version = "001";
|
||||
version = "002";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "DeeKahy";
|
||||
repo = "CopyCat";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-zllxQifRMNEMa3RO5WKrwGAUf1xQg6YrQBzIHzy43F0=";
|
||||
hash = "sha256-0pqC6fxuvqOPuO10Em63tFguc3VJNnniPCHM6TcFDN0=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-LYVhvq5l+PCZXW+elWi3zZFxLekgPn+plo4dybbLK9g=";
|
||||
cargoHash = "sha256-oNX1MUpOjRG02FHOU7zpktLAYKu/1+R2d96jC/VA0co=";
|
||||
|
||||
buildInputs = lib.optionals (stdenv.isDarwin) [
|
||||
darwin.apple_sdk_11_0.frameworks.AppKit
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "cppcheck";
|
||||
version = "2.15.0";
|
||||
version = "2.16.0";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
@ -26,7 +26,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
owner = "danmar";
|
||||
repo = "cppcheck";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-6AI3sy4D+YhUOpy02UHJWyhelbqcoEW+Tw/ADCPEbuM=";
|
||||
hash = "sha256-u+/rlQksCyNjLOkLHiRfLKWfVSEU+LerYuT6lAp/Wrs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -13,10 +13,10 @@ rustPlatform.buildRustPackage rec {
|
||||
owner = "SoptikHa2";
|
||||
repo = "desed";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-FL9w+XdClLBCRp+cLqDzTVj8j9LMUp8jZ6hiG4KvIds=";
|
||||
hash = "sha256-aKkOs8IhnHjoJkXq9ryGn9fN0AmZyVTHbD/Vano+Erw=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-inH8fUpUR0WXYY2JX72evZqVp3GlnGKBBlrbai/fU6U=";
|
||||
cargoHash = "sha256-3bkNirrvBOqIOhxD5xf3XsdaUMWFVT/lnN3gmZQIB9I=";
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
|
23
pkgs/by-name/do/dotnet-repl/package.nix
Normal file
23
pkgs/by-name/do/dotnet-repl/package.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
lib,
|
||||
buildDotnetGlobalTool,
|
||||
dotnetCorePackages,
|
||||
}:
|
||||
|
||||
buildDotnetGlobalTool {
|
||||
pname = "dotnet-repl";
|
||||
version = "0.1.216";
|
||||
|
||||
dotnet-sdk = dotnetCorePackages.sdk_8_0;
|
||||
dotnet-runtime = dotnetCorePackages.runtime_8_0;
|
||||
|
||||
nugetHash = "sha256-JHatCW+hl2792S+HYeEbbYbCIS+N4DmOctqXB/56/HU=";
|
||||
|
||||
meta = {
|
||||
description = "A polyglot REPL built on .NET Interactive";
|
||||
homepage = "https://github.com/jonsequitur/dotnet-repl";
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "dotnet-repl";
|
||||
maintainers = with lib.maintainers; [ tomasajt ];
|
||||
};
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
{ lib, stdenv, buildGoModule, fetchFromGitea, nixosTests }:
|
||||
{ lib, stdenv, buildGoModule, fetchFromGitea, nixosTests, installShellFiles }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "eris-go";
|
||||
version = "20240920";
|
||||
version = "20241028";
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
src = fetchFromGitea {
|
||||
@ -10,13 +10,17 @@ buildGoModule rec {
|
||||
owner = "eris";
|
||||
repo = "eris-go";
|
||||
rev = version;
|
||||
hash = "sha256-ZC4MBt1ucbZOn3sgs2xEiLLSDq7mz5Nj/in/TzydAbk=";
|
||||
hash = "sha256-v4pN+fVwYoir3GLneWhg/azsg7ifvcKAksoqDkkQGwk=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-TnB4BSO2Yb9AtcHgdEgNrFHAQJ7u4IzmhLdcSjbZ7SA=";
|
||||
vendorHash = "sha256-0BI4U9p4R7umyXtHAQBLa5t5+ni4dDndLNXgTIAMsqw=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
postInstall = ''
|
||||
install -D *.1.gz -t $man/share/man/man1
|
||||
installShellCompletion --cmd eris-go \
|
||||
--fish completions/eris-go.fish
|
||||
'';
|
||||
|
||||
env.skipNetworkTests = true;
|
||||
|
@ -1,38 +1,38 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchurl
|
||||
, unzip
|
||||
, glib
|
||||
, systemd
|
||||
, nss
|
||||
, nspr
|
||||
, gtk3-x11
|
||||
, pango
|
||||
, atk
|
||||
, cairo
|
||||
, gdk-pixbuf
|
||||
, xorg
|
||||
, xorg_sys_opengl
|
||||
, util-linux
|
||||
, alsa-lib
|
||||
, dbus
|
||||
, at-spi2-atk
|
||||
, cups
|
||||
, vivaldi-ffmpeg-codecs
|
||||
, libpulseaudio
|
||||
, at-spi2-core
|
||||
, libxkbcommon
|
||||
, mesa
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
requireFile,
|
||||
unzip,
|
||||
glib,
|
||||
systemd,
|
||||
nss,
|
||||
nspr,
|
||||
gtk3-x11,
|
||||
pango,
|
||||
atk,
|
||||
cairo,
|
||||
gdk-pixbuf,
|
||||
xorg,
|
||||
xorg_sys_opengl,
|
||||
util-linux,
|
||||
alsa-lib,
|
||||
dbus,
|
||||
at-spi2-atk,
|
||||
cups,
|
||||
vivaldi-ffmpeg-codecs,
|
||||
libpulseaudio,
|
||||
at-spi2-core,
|
||||
libxkbcommon,
|
||||
mesa,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "exodus";
|
||||
version = "24.19.4";
|
||||
|
||||
src = fetchurl {
|
||||
src = requireFile {
|
||||
name = "exodus-linux-x64-${finalAttrs.version}.zip";
|
||||
url = "https://downloads.exodus.com/releases/exodus-linux-x64-${finalAttrs.version}.zip";
|
||||
curlOptsList = [ "--user-agent" "Mozilla/5.0" ];
|
||||
hash = "sha256-+g7DdDrSVmBl1wCSCoJcO2gmbWQBnJUYqjT+GuDlCYw=";
|
||||
};
|
||||
|
||||
@ -102,6 +102,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||
license = licenses.unfree;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ mmahut rople380 Crafter ];
|
||||
maintainers = with maintainers; [
|
||||
mmahut
|
||||
rople380
|
||||
Crafter
|
||||
];
|
||||
};
|
||||
})
|
@ -24,16 +24,16 @@ let
|
||||
in
|
||||
buildRustPackage rec {
|
||||
pname = "fedimint";
|
||||
version = "0.4.3";
|
||||
version = "0.4.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fedimint";
|
||||
repo = "fedimint";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-NUr1ZpYJozWIej46Oqlf/7feJ4kztYYvX3TEzQ5VoWo=";
|
||||
hash = "sha256-YyvppmKs6RCIzmn9bezNxjoCSlPY6GCWmy+bsSbCA2A=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-sky0Blh2fjP82UgFUfBH0vAIdBzHOfVGAfOW0rwNH00=";
|
||||
cargoHash = "sha256-nWwAmthTOzKDLrHN0v/usC8DfmHzywNJs/6xdyCBBZY=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
protobuf
|
||||
|
144
pkgs/by-name/fi/fido2-manage/package.nix
Normal file
144
pkgs/by-name/fi/fido2-manage/package.nix
Normal file
@ -0,0 +1,144 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchurl,
|
||||
pkg-config,
|
||||
cmake,
|
||||
libcbor,
|
||||
openssl,
|
||||
zlib,
|
||||
gnugrep,
|
||||
gawk,
|
||||
# Linux only
|
||||
pcsclite,
|
||||
udev,
|
||||
imagemagick,
|
||||
# GUI
|
||||
python3,
|
||||
xterm,
|
||||
makeDesktopItem,
|
||||
copyDesktopItems,
|
||||
# Darwin only
|
||||
libuv,
|
||||
libsolv,
|
||||
libcouchbase,
|
||||
darwin,
|
||||
}:
|
||||
let
|
||||
pythonEnv = python3.withPackages (ps: [ ps.tkinter ]);
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "fido2-manage";
|
||||
version = "0-unstable-2024-09-24";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "token2";
|
||||
repo = "fido2-manage";
|
||||
rev = "6aef9ceccdf7bcc60a9298e51a4db633256925df";
|
||||
hash = "sha256-rXTL6wpdvCifakmxH14wBLbhTptNYNFGEPskpUy3IjA=";
|
||||
};
|
||||
|
||||
icon = fetchurl {
|
||||
url = "https://token2.net/img/icon/logo-white.png";
|
||||
hash = "sha256-UpxRzn24v1vigMFlofVU+YOzKrkxCu2Pk5iktqFgNO8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs =
|
||||
[
|
||||
pkg-config
|
||||
cmake
|
||||
]
|
||||
++ lib.optionals stdenv.isLinux [
|
||||
copyDesktopItems
|
||||
imagemagick
|
||||
];
|
||||
|
||||
buildInputs =
|
||||
[
|
||||
libcbor
|
||||
openssl
|
||||
zlib
|
||||
]
|
||||
++ lib.optionals stdenv.isLinux [
|
||||
xterm
|
||||
udev
|
||||
pcsclite
|
||||
]
|
||||
++ lib.optionals stdenv.isDarwin [
|
||||
libuv
|
||||
libsolv
|
||||
libcouchbase
|
||||
darwin.apple_sdk.frameworks.IOKit
|
||||
darwin.apple_sdk.frameworks.PCSC
|
||||
];
|
||||
|
||||
cmakeFlags = [ "-USE_PCSC=ON" ];
|
||||
|
||||
postPatch =
|
||||
''
|
||||
substituteInPlace ./src/libfido2.pc.in \
|
||||
--replace-fail "\''${prefix}/@CMAKE_INSTALL_LIBDIR@" "@CMAKE_INSTALL_FULL_LIBDIR@"
|
||||
''
|
||||
+ lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace ./CMakeLists.txt \
|
||||
--replace-fail "/\''${CMAKE_INSTALL_LIBDIR}" "/lib"
|
||||
'';
|
||||
|
||||
postInstall =
|
||||
lib.optionalString stdenv.isLinux ''
|
||||
install $src/fido2-manage.sh $out/bin/fido2-manage
|
||||
magick ${icon} -background none -gravity center -extent 512x512 token2.png
|
||||
install -Dm444 token2.png $out/share/icons/hicolor/512x512/apps/token2.png
|
||||
install $src/gui.py $out/bin/fido2-manage-gui
|
||||
''
|
||||
+ lib.optionalString stdenv.isDarwin ''
|
||||
install $src/fido2-manage-mac.sh $out/bin/fido2-manage
|
||||
'';
|
||||
|
||||
desktopItems = lib.optionals stdenv.isLinux [
|
||||
(makeDesktopItem rec {
|
||||
desktopName = "Fido2 Manager";
|
||||
name = "fido2-manage";
|
||||
exec = "fido2-manage-gui";
|
||||
icon = "token2";
|
||||
comment = meta.description;
|
||||
categories = [
|
||||
"Utility"
|
||||
];
|
||||
})
|
||||
];
|
||||
|
||||
postFixup =
|
||||
''
|
||||
substituteInPlace $out/bin/fido2-manage \
|
||||
--replace-fail "/usr/local/bin/" "$out/bin/" \
|
||||
--replace-fail "./fido2-manage.sh" "fido2-manage" \
|
||||
--replace-fail "awk" "${gawk}/bin/awk"
|
||||
''
|
||||
+ lib.optionalString stdenv.isLinux ''
|
||||
substituteInPlace $out/bin/fido2-manage-gui \
|
||||
--replace-fail "./fido2-manage.sh" "$out/bin/fido2-manage" \
|
||||
--replace-fail "x-terminal-emulator" "${xterm}/bin/xterm" \
|
||||
--replace-fail "tk.Tk()" "tk.Tk(className='fido2-manage')" \
|
||||
--replace-fail 'root.title("FIDO2.1 Manager - Python version 0.1 - (c) Token2")' "root.title('Fido2 Manager')"
|
||||
|
||||
substituteInPlace $out/bin/fido2-manage \
|
||||
--replace-fail "grep" "${gnugrep}/bin/grep"
|
||||
|
||||
sed -i '1i #!${pythonEnv.interpreter}' $out/bin/fido2-manage-gui
|
||||
''
|
||||
+ lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace $out/bin/fido2-manage \
|
||||
--replace-fail "ggrep" "${gnugrep}/bin/grep"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Manage FIDO2.1 devices over USB or NFC, including Passkeys";
|
||||
homepage = "https://github.com/token2/fido2-manage";
|
||||
platforms = lib.platforms.all;
|
||||
license = lib.licenses.bsd2;
|
||||
mainProgram = "fido2-manage";
|
||||
maintainers = with lib.maintainers; [ Srylax ];
|
||||
};
|
||||
}
|
66
pkgs/by-name/fl/flent/package.nix
Normal file
66
pkgs/by-name/fl/flent/package.nix
Normal file
@ -0,0 +1,66 @@
|
||||
{
|
||||
lib,
|
||||
python3Packages,
|
||||
fetchPypi,
|
||||
procps,
|
||||
qt5,
|
||||
xvfb-run,
|
||||
}:
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "flent";
|
||||
version = "2.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-BPwh3oWIY1YEI+ecgi9AUiX4Ka/Y5dYikwmfvvNB+eg=";
|
||||
};
|
||||
|
||||
build-system = [ python3Packages.sphinx ];
|
||||
|
||||
nativeBuildInputs = [ qt5.wrapQtAppsHook ];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
matplotlib
|
||||
pyqt5
|
||||
qtpy
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
python3Packages.mock
|
||||
xvfb-run
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
# we want the gui tests to always run
|
||||
sed -i 's|self.skip|pass; #&|' unittests/test_gui.py
|
||||
|
||||
export XDG_RUNTIME_DIR=$(mktemp -d)
|
||||
export HOME=$(mktemp -d)
|
||||
cat >test-runner <<EOF
|
||||
#!/bin/sh
|
||||
${python3Packages.python.interpreter} -m unittest discover
|
||||
EOF
|
||||
chmod +x test-runner
|
||||
wrapQtApp test-runner --prefix PYTHONPATH : $PYTHONPATH
|
||||
xvfb-run -s '-screen 0 800x600x24' ./test-runner
|
||||
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
makeWrapperArgs+=(
|
||||
"''${qtWrapperArgs[@]}"
|
||||
--prefix PATH : ${lib.makeBinPath [ procps ]}
|
||||
)
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "FLExible Network Tester";
|
||||
homepage = "https://flent.org";
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = with lib.maintainers; [ mmlb ];
|
||||
mainProgram = "flent";
|
||||
};
|
||||
}
|
@ -1,38 +1,52 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, pkg-config
|
||||
, alsa-lib
|
||||
, ffmpeg
|
||||
, kdePackages
|
||||
, kdsingleapplication
|
||||
, pipewire
|
||||
, taglib
|
||||
, libvgm
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
pkg-config,
|
||||
alsa-lib,
|
||||
ffmpeg,
|
||||
kdePackages,
|
||||
kdsingleapplication,
|
||||
pipewire,
|
||||
taglib,
|
||||
libvgm,
|
||||
libsndfile,
|
||||
libarchive,
|
||||
libopenmpt,
|
||||
game-music-emu,
|
||||
SDL2,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "fooyin";
|
||||
version = "0.7.2";
|
||||
version = "0.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ludouzi";
|
||||
repo = "fooyin";
|
||||
rev = "v" + finalAttrs.version;
|
||||
hash = "sha256-9tNd0TDTxlm6jV2kkZGZbi8tZMj13jbp3+aKXOkNtIw=";
|
||||
hash = "sha256-pkzBuJkZs76m7I/9FPt5GxGa8v2CDNR8QAHaIAuKN4w=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
alsa-lib
|
||||
ffmpeg
|
||||
kdsingleapplication
|
||||
pipewire
|
||||
kdePackages.qcoro
|
||||
kdePackages.qtbase
|
||||
kdePackages.qtsvg
|
||||
kdePackages.qtwayland
|
||||
taglib
|
||||
ffmpeg
|
||||
kdsingleapplication
|
||||
# output plugins
|
||||
alsa-lib
|
||||
pipewire
|
||||
SDL2
|
||||
# input plugins
|
||||
libvgm
|
||||
libsndfile
|
||||
libarchive
|
||||
libopenmpt
|
||||
game-music-emu
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -51,11 +65,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
env.LANG = "C.UTF-8";
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Customisable music player";
|
||||
homepage = "https://www.fooyin.org/";
|
||||
downloadPage = "https://github.com/fooyin/fooyin";
|
||||
mainProgram = "fooyin";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ peterhoeg ];
|
||||
platforms = platforms.all;
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ peterhoeg ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
||||
|
91
pkgs/by-name/ga/gale/package.nix
Normal file
91
pkgs/by-name/ga/gale/package.nix
Normal file
@ -0,0 +1,91 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
|
||||
fetchNpmDeps,
|
||||
npmHooks,
|
||||
nodejs,
|
||||
cargo-tauri,
|
||||
pkg-config,
|
||||
wrapGAppsHook3,
|
||||
|
||||
openssl,
|
||||
libsoup_3,
|
||||
webkitgtk_4_1,
|
||||
}:
|
||||
|
||||
let
|
||||
cargo-tauri_2 =
|
||||
let
|
||||
pname = "cargo-tauri";
|
||||
version = "2.0.0-rc.3";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tauri-apps";
|
||||
repo = "tauri";
|
||||
rev = "tauri-v${version}";
|
||||
hash = "sha256-PV8m/MzYgbY4Hv71dZrqVbrxmxrwFfOAraLJIaQk6FQ=";
|
||||
};
|
||||
in
|
||||
cargo-tauri.overrideAttrs {
|
||||
inherit src version;
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit pname version src;
|
||||
sourceRoot = "${src.name}/tooling/cli";
|
||||
hash = "sha256-JPlMaoPw6a7D20KQH7iuhHKfGT5oUKf55tMaMYEM/Z4=";
|
||||
};
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gale";
|
||||
version = "0.8.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Kesomannen";
|
||||
repo = "gale";
|
||||
rev = "refs/tags/${finalAttrs.version}";
|
||||
hash = "sha256-PXK64WD3vb3uVxBFNU+LiGOipUjIAKW9RLWr1o4RigU=";
|
||||
};
|
||||
|
||||
npmDeps = fetchNpmDeps {
|
||||
name = "${finalAttrs.pname}-${finalAttrs.version}-npm-deps";
|
||||
inherit (finalAttrs) src;
|
||||
hash = "sha256-W0ryt3WH/3SireaOHa9i1vKpuokzIsDlD8R9Fnd0s4k=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit (finalAttrs) pname version src;
|
||||
sourceRoot = "${finalAttrs.src.name}/${finalAttrs.cargoRoot}";
|
||||
hash = "sha256-zXZkjSYN6/qNwBh+xUgJPWQvduIUSMVSt/XGbocKTwg=";
|
||||
};
|
||||
|
||||
cargoRoot = "src-tauri";
|
||||
|
||||
buildAndTestSubdir = finalAttrs.cargoRoot;
|
||||
|
||||
nativeBuildInputs = [
|
||||
npmHooks.npmConfigHook
|
||||
nodejs
|
||||
rustPlatform.cargoSetupHook
|
||||
(cargo-tauri.hook.override { cargo-tauri = cargo-tauri_2; })
|
||||
rustPlatform.cargoCheckHook
|
||||
pkg-config
|
||||
wrapGAppsHook3
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libsoup_3
|
||||
webkitgtk_4_1
|
||||
openssl
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Lightweight Thunderstore client";
|
||||
homepage = "https://github.com/Kesomannen/gale";
|
||||
license = lib.licenses.gpl3Only;
|
||||
mainProgram = "gale";
|
||||
maintainers = with lib.maintainers; [ tomasajt ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
@ -5,7 +5,7 @@
|
||||
|
||||
let
|
||||
pname = "gate";
|
||||
version = "0.41.0";
|
||||
version = "0.42.0";
|
||||
in
|
||||
buildGoModule {
|
||||
inherit pname version;
|
||||
@ -14,10 +14,10 @@ buildGoModule {
|
||||
owner = "minekube";
|
||||
repo = "gate";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-tQO1ClfZasRdnazFOMOWeqnXaEda84lQMQKw5640YCI=";
|
||||
hash = "sha256-a2rt+V6y8lyBMSG49eWLTPeLZKIjq+a5NBL+agIL1dg=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-Nl6NGz+sEdwcTzbL+OwHuaQzi2lHX/cN2lE6HNi1uJQ=";
|
||||
vendorHash = "sha256-5s96L9KWeiS//21mQMn8ka82Uk4rMbq/8I+l67HTSA8=";
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
|
||||
|
@ -6,13 +6,13 @@
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "gersemi";
|
||||
version = "0.16.2";
|
||||
version = "0.17.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "BlankSpruce";
|
||||
repo = "gersemi";
|
||||
rev = version;
|
||||
hash = "sha256-B2mDtMLJTriSeeH0SLQ7qP/PyaNE5eTQ/mgm4S5B8g0=";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-t9W27lwNKRFAraynAGEawFb1qCW9/b3RCm/jeb9zJXg=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
|
48
pkgs/by-name/gi/git-chain/package.nix
Normal file
48
pkgs/by-name/gi/git-chain/package.nix
Normal file
@ -0,0 +1,48 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
pkg-config,
|
||||
openssl,
|
||||
git,
|
||||
nix-update-script,
|
||||
stdenv,
|
||||
darwin,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "git-chain";
|
||||
version = "0-unstable-2024-08-09";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dashed";
|
||||
repo = "git-chain";
|
||||
rev = "4fee033ea1ee51bbb6b7f75411f0f4f799aea1e2";
|
||||
hash = "sha256-wQZXixg7mCBUo18z/WCkTWW3R0j2jxs8t1yaQzY3Eu4=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-pRxOrlDgfSpUBY2WKfoIH9ngLzb2noiLqxA3/6s+mRw=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs =
|
||||
[ openssl ]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin (
|
||||
with darwin.apple_sdk.frameworks;
|
||||
[
|
||||
Security
|
||||
]
|
||||
);
|
||||
|
||||
nativeCheckInputs = [ git ];
|
||||
|
||||
passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool for rebasing a chain of local git branches";
|
||||
homepage = "https://github.com/dashed/git-chain";
|
||||
license = licenses.mit;
|
||||
mainProgram = "git-chain";
|
||||
maintainers = with maintainers; [ bcyran ];
|
||||
};
|
||||
}
|
@ -166,11 +166,11 @@ let
|
||||
|
||||
linux = stdenv.mkDerivation (finalAttrs: {
|
||||
inherit pname meta passthru;
|
||||
version = "130.0.6723.58";
|
||||
version = "130.0.6723.69";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${finalAttrs.version}-1_amd64.deb";
|
||||
hash = "sha256-HWFC+9Op4ja/S3eP56N9hkOkMbCrbF+NHEcxSLb85Hg=";
|
||||
hash = "sha256-MhLaPV2Ht4ZYsmrs4HWYtv/IFqD/mQVZwA/IVnZfND8=";
|
||||
};
|
||||
|
||||
# With strictDeps on, some shebangs were not being patched correctly
|
||||
@ -266,11 +266,11 @@ let
|
||||
|
||||
darwin = stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
inherit pname meta passthru;
|
||||
version = "130.0.6723.59";
|
||||
version = "130.0.6723.70";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://dl.google.com/release2/chrome/oehlfkedv43jkzlol2mqd6xife_130.0.6723.59/GoogleChrome-130.0.6723.59.dmg";
|
||||
hash = "sha256-ioEWtD49XtZTItz+bCiDobV0nW82Dv6S41/oHlUsatU=";
|
||||
url = "http://dl.google.com/release2/chrome/acl5a2wdujowx65sbvjgokb6thqq_130.0.6723.70/GoogleChrome-130.0.6723.70.dmg";
|
||||
hash = "sha256-Ft+kBhYnnMpsRsCmmXp9rgyGuwCAb9WW6u5z6UJzh7o=";
|
||||
};
|
||||
|
||||
dontPatch = true;
|
||||
|
42
pkgs/by-name/gu/guix/guix-build-user-takeover-fix.patch
Normal file
42
pkgs/by-name/gu/guix/guix-build-user-takeover-fix.patch
Normal file
@ -0,0 +1,42 @@
|
||||
diff --git a/nix/libstore/build.cc b/nix/libstore/build.cc
|
||||
index c5383bc..50d1abc 100644
|
||||
--- a/nix/libstore/build.cc
|
||||
+++ b/nix/libstore/build.cc
|
||||
@@ -2312,15 +2312,6 @@ void DerivationGoal::registerOutputs()
|
||||
Path actualPath = path;
|
||||
if (useChroot) {
|
||||
actualPath = chrootRootDir + path;
|
||||
- if (pathExists(actualPath)) {
|
||||
- /* Move output paths from the chroot to the store. */
|
||||
- if (buildMode == bmRepair)
|
||||
- replaceValidPath(path, actualPath);
|
||||
- else
|
||||
- if (buildMode != bmCheck && rename(actualPath.c_str(), path.c_str()) == -1)
|
||||
- throw SysError(format("moving build output `%1%' from the chroot to the store") % path);
|
||||
- }
|
||||
- if (buildMode != bmCheck) actualPath = path;
|
||||
} else {
|
||||
Path redirected = redirectedOutputs[path];
|
||||
if (buildMode == bmRepair
|
||||
@@ -2360,6 +2351,21 @@ void DerivationGoal::registerOutputs()
|
||||
something like that. */
|
||||
canonicalisePathMetaData(actualPath, buildUser.enabled() ? buildUser.getUID() : -1, inodesSeen);
|
||||
|
||||
+ if (useChroot) {
|
||||
+ if (pathExists(actualPath)) {
|
||||
+ /* Now that output paths have been canonicalized (in particular
|
||||
+ there are no setuid files left), move them outside of the
|
||||
+ chroot and to the store. */
|
||||
+ if (buildMode == bmRepair)
|
||||
+ replaceValidPath(path, actualPath);
|
||||
+ else
|
||||
+ if (buildMode != bmCheck && rename(actualPath.c_str(), path.c_str()) == -1)
|
||||
+ throw SysError(format("moving build output `%1%' from the chroot to the store") % path);
|
||||
+ }
|
||||
+ if (buildMode != bmCheck) actualPath = path;
|
||||
+ }
|
||||
+
|
||||
+
|
||||
/* FIXME: this is in-memory. */
|
||||
StringSink sink;
|
||||
dumpPath(actualPath, sink);
|
@ -1,39 +1,40 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, fetchpatch
|
||||
, autoreconfHook
|
||||
, disarchive
|
||||
, git
|
||||
, glibcLocales
|
||||
, guile
|
||||
, guile-avahi
|
||||
, guile-gcrypt
|
||||
, guile-git
|
||||
, guile-gnutls
|
||||
, guile-json
|
||||
, guile-lib
|
||||
, guile-lzlib
|
||||
, guile-lzma
|
||||
, guile-semver
|
||||
, guile-ssh
|
||||
, guile-sqlite3
|
||||
, guile-zlib
|
||||
, guile-zstd
|
||||
, help2man
|
||||
, makeWrapper
|
||||
, pkg-config
|
||||
, po4a
|
||||
, scheme-bytestructures
|
||||
, texinfo
|
||||
, bzip2
|
||||
, libgcrypt
|
||||
, sqlite
|
||||
, nixosTests
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
fetchpatch,
|
||||
autoreconfHook,
|
||||
disarchive,
|
||||
git,
|
||||
glibcLocales,
|
||||
guile,
|
||||
guile-avahi,
|
||||
guile-gcrypt,
|
||||
guile-git,
|
||||
guile-gnutls,
|
||||
guile-json,
|
||||
guile-lib,
|
||||
guile-lzlib,
|
||||
guile-lzma,
|
||||
guile-semver,
|
||||
guile-ssh,
|
||||
guile-sqlite3,
|
||||
guile-zlib,
|
||||
guile-zstd,
|
||||
help2man,
|
||||
makeWrapper,
|
||||
pkg-config,
|
||||
po4a,
|
||||
scheme-bytestructures,
|
||||
texinfo,
|
||||
bzip2,
|
||||
libgcrypt,
|
||||
sqlite,
|
||||
nixosTests,
|
||||
|
||||
, stateDir ? "/var"
|
||||
, storeDir ? "/gnu/store"
|
||||
, confDir ? "/etc"
|
||||
stateDir ? "/var",
|
||||
storeDir ? "/gnu/store",
|
||||
confDir ? "/etc",
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -56,6 +57,9 @@ stdenv.mkDerivation rec {
|
||||
url = "https://git.savannah.gnu.org/cgit/guix.git/patch/?id=ff1251de0bc327ec478fc66a562430fbf35aef42";
|
||||
hash = "sha256-f4KWDVrvO/oI+4SCUHU5GandkGtHrlaM1BWygM/Qlao=";
|
||||
})
|
||||
# manual port of build user takeover remediation commit
|
||||
# see https://guix.gnu.org/en/blog/2024/build-user-takeover-vulnerability
|
||||
./guix-build-user-takeover-fix.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
@ -157,7 +161,10 @@ stdenv.mkDerivation rec {
|
||||
changelog = "https://git.savannah.gnu.org/cgit/guix.git/plain/NEWS?h=v${version}";
|
||||
license = licenses.gpl3Plus;
|
||||
mainProgram = "guix";
|
||||
maintainers = with maintainers; [ cafkafk foo-dogsquared ];
|
||||
maintainers = with maintainers; [
|
||||
cafkafk
|
||||
foo-dogsquared
|
||||
];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,11 @@
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, curl, pkg-config }:
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
curl,
|
||||
pkg-config,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "http-getter";
|
||||
@ -11,7 +18,10 @@ stdenv.mkDerivation {
|
||||
sha256 = "0plyqqwfm9bysichda0w3akbdxf6279wd4mx8mda0c4mxd4xy9nl";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
];
|
||||
buildInputs = [ curl ];
|
||||
|
||||
meta = with lib; {
|
@ -2,11 +2,13 @@
|
||||
curl,
|
||||
expat,
|
||||
fetchFromGitHub,
|
||||
fuse,
|
||||
fuse3,
|
||||
gumbo,
|
||||
help2man,
|
||||
lib,
|
||||
libuuid,
|
||||
meson,
|
||||
ninja,
|
||||
nix-update-script,
|
||||
pkg-config,
|
||||
stdenv,
|
||||
@ -15,46 +17,35 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "httpdirfs";
|
||||
version = "1.2.5";
|
||||
version = "1.2.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fangfufu";
|
||||
repo = "httpdirfs";
|
||||
rev = "refs/tags/${finalAttrs.version}";
|
||||
hash = "sha256-PUYsT0VDEzerPqwrLJrET4kSsWsQhtnfmLepeaqtA+I=";
|
||||
hash = "sha256-4Tp9DTYWUHElO0YNeINgzmbI0tpXxmKfZ1Jhz5UYn5M=";
|
||||
};
|
||||
|
||||
postPatch = lib.optional stdenv.hostPlatform.isDarwin ''
|
||||
substituteInPlace Makefile --replace-fail '-fanalyzer' '-Xanalyzer'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
help2man
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
curl
|
||||
expat
|
||||
fuse
|
||||
fuse3
|
||||
gumbo
|
||||
libuuid
|
||||
];
|
||||
|
||||
makeFlags = [ "prefix=${placeholder "out"}" ];
|
||||
|
||||
postBuild = ''
|
||||
make man
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
# Disabled for Darwin because requires macFUSE installed outside NixOS
|
||||
tests.version = lib.optionalAttrs stdenv.hostPlatform.isLinux (
|
||||
testers.testVersion {
|
||||
command = "${lib.getExe finalAttrs.finalPackage} --version";
|
||||
package = finalAttrs.finalPackage;
|
||||
}
|
||||
);
|
||||
tests.version = testers.testVersion {
|
||||
command = "${lib.getExe finalAttrs.finalPackage} --version";
|
||||
package = finalAttrs.finalPackage;
|
||||
};
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
@ -65,6 +56,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
license = lib.licenses.gpl3Only;
|
||||
mainProgram = "httpdirfs";
|
||||
maintainers = with lib.maintainers; [ sbruder schnusch anthonyroussel ];
|
||||
platforms = lib.platforms.unix;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
||||
|
@ -1,25 +1,27 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, installShellFiles
|
||||
, buildPackages
|
||||
, testers
|
||||
, hugo
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
installShellFiles,
|
||||
buildPackages,
|
||||
testers,
|
||||
nix-update-script,
|
||||
hugo,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "hugo";
|
||||
version = "0.135.0";
|
||||
version = "0.136.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gohugoio";
|
||||
repo = "hugo";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-WCWaEVD2HON6feOev9HBfpqBWYIFmfevu6LH0OMtv2Q=";
|
||||
hash = "sha256-wCv0lZqvJNOwL/naFuGb6k0Xyk58NpgH1mkhoNnkSno=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-XIFgmT0VyhRrUNfwy85Ac7YIO9fij0KqVmqb/s3IDVg=";
|
||||
vendorHash = "sha256-KqDsa7MlSONyn7AYOepQ95q1CEM83AhWk23iYSQ4twU=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
@ -31,16 +33,24 @@ buildGoModule rec {
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
ldflags = [ "-s" "-w" "-X github.com/gohugoio/hugo/common/hugo.vendorInfo=nixpkgs" ];
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X github.com/gohugoio/hugo/common/hugo.vendorInfo=nixpkgs"
|
||||
];
|
||||
|
||||
postInstall = let emulator = stdenv.hostPlatform.emulator buildPackages; in ''
|
||||
${emulator} $out/bin/hugo gen man
|
||||
installManPage man/*
|
||||
installShellCompletion --cmd hugo \
|
||||
--bash <(${emulator} $out/bin/hugo completion bash) \
|
||||
--fish <(${emulator} $out/bin/hugo completion fish) \
|
||||
--zsh <(${emulator} $out/bin/hugo completion zsh)
|
||||
'';
|
||||
postInstall =
|
||||
let
|
||||
emulator = stdenv.hostPlatform.emulator buildPackages;
|
||||
in
|
||||
''
|
||||
${emulator} $out/bin/hugo gen man
|
||||
installManPage man/*
|
||||
installShellCompletion --cmd hugo \
|
||||
--bash <(${emulator} $out/bin/hugo completion bash) \
|
||||
--fish <(${emulator} $out/bin/hugo completion fish) \
|
||||
--zsh <(${emulator} $out/bin/hugo completion zsh)
|
||||
'';
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = hugo;
|
||||
@ -48,12 +58,18 @@ buildGoModule rec {
|
||||
version = "v${version}";
|
||||
};
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/gohugoio/hugo/releases/tag/v${version}";
|
||||
description = "Fast and modern static website engine";
|
||||
homepage = "https://gohugo.io";
|
||||
license = lib.licenses.asl20;
|
||||
mainProgram = "hugo";
|
||||
maintainers = with lib.maintainers; [ schneefux Br1ght0ne Frostman ];
|
||||
maintainers = with lib.maintainers; [
|
||||
schneefux
|
||||
Br1ght0ne
|
||||
Frostman
|
||||
];
|
||||
};
|
||||
}
|
||||
|
428
pkgs/by-name/ke/keyspersecond/deps.json
generated
Normal file
428
pkgs/by-name/ke/keyspersecond/deps.json
generated
Normal file
@ -0,0 +1,428 @@
|
||||
{
|
||||
"!comment": "This is a nixpkgs Gradle dependency lockfile. For more details, refer to the Gradle section in the nixpkgs manual.",
|
||||
"!version": 1,
|
||||
"https://plugins.gradle.org/m2": {
|
||||
"com/formdev#flatlaf/1.0": {
|
||||
"jar": "sha256-E12NWsOf7CnZs/9SyzBybT+XawaYYVvjJTT9eSTynsc=",
|
||||
"module": "sha256-dStur7AL/wRCGXCYLcqvz1l7SajJE64M73XkKHYKC68=",
|
||||
"pom": "sha256-ylkCGnUHptHH0ZM+DN+hxKlpqgTsaMYsMdYTMtMAlpo="
|
||||
},
|
||||
"com/github/johnrengelman/shadow#com.github.johnrengelman.shadow.gradle.plugin/7.1.2": {
|
||||
"pom": "sha256-lW5FCF5S6l7zLTRnHruE6xxBqDxFSa8m5oY18QYXmNM="
|
||||
},
|
||||
"com/github/spotbugs#com.github.spotbugs.gradle.plugin/5.0.14": {
|
||||
"pom": "sha256-Klkwu/Y1CRjxRVMBd47nOhi3C5ZMFG25FzC3dd/M8Nw="
|
||||
},
|
||||
"com/github/spotbugs/snom#spotbugs-gradle-plugin/5.0.14": {
|
||||
"jar": "sha256-Gq1P++fZeNkPYJxQe5sQYQzYiVI66xM6E+cKqKKLjh0=",
|
||||
"module": "sha256-zk1p44LM+Ra/awSedTdrbZaKDKUgh63wvRYEPUMwk7w=",
|
||||
"pom": "sha256-SaFhGVMRRSvY6ObRpx90ZX+Z7VHCl30EevlVvbZ5Ye4="
|
||||
},
|
||||
"com/thoughtworks/xstream#xstream-parent/1.4.15": {
|
||||
"pom": "sha256-GDOZpW5OtAJkCjcZURmuZx61kW17OKX2PpTvGvkPuc4="
|
||||
},
|
||||
"com/thoughtworks/xstream#xstream/1.4.15": {
|
||||
"jar": "sha256-MneEmWGqnrBV+HcYEEUAhtOMwuQH7rg0bQI56gIYpFM=",
|
||||
"pom": "sha256-sX3W1xyyywYmTZ6q0a6Mgg5FdhTx1jRcdgmSB3Ei1EY="
|
||||
},
|
||||
"commons-beanutils#commons-beanutils/1.9.4": {
|
||||
"jar": "sha256-fZOMgXiQKARcCMBl6UvnX8KAUnYg1b1itRnVg4UyNoo=",
|
||||
"pom": "sha256-w1zKe2HUZ42VeMvAuQG4cXtTmr+SVEQdp4uP5g3gZNA="
|
||||
},
|
||||
"commons-io#commons-io/2.11.0": {
|
||||
"jar": "sha256-lhsvbYfbrMXVSr9Fq3puJJX4m3VZiWLYxyPOqbwhCQg=",
|
||||
"pom": "sha256-LgFv1+MkS18sIKytg02TqkeQSG7h5FZGQTYaPoMe71k="
|
||||
},
|
||||
"commons-logging#commons-logging/1.2": {
|
||||
"jar": "sha256-2t3qHqC+D1aXirMAa4rJKDSv7vvZt+TmMW/KV98PpjY=",
|
||||
"pom": "sha256-yRq1qlcNhvb9B8wVjsa8LFAIBAKXLukXn+JBAHOfuyA="
|
||||
},
|
||||
"edu/sc/seis/launch4j#edu.sc.seis.launch4j.gradle.plugin/2.5.1": {
|
||||
"pom": "sha256-BXL9t5BYtmDA3AibXM4IZU3rTesGy76B8lUbagmJl9w="
|
||||
},
|
||||
"edu/sc/seis/launch4j#launch4j/2.5.1": {
|
||||
"jar": "sha256-ZAsF9TFJDsHSuhEG70YEF8P5hvssv4/r8NrCSODrfiM=",
|
||||
"module": "sha256-IfV/PFUm3NSIruWPW7E7YOv6hd5aGrV4JO24EEDO0I4=",
|
||||
"pom": "sha256-rUzfPnkIGDfPf9ti1W0+BggTvryp2vuyIgbl6l1hiEQ="
|
||||
},
|
||||
"gradle/plugin/com/github/johnrengelman#shadow/7.1.2": {
|
||||
"jar": "sha256-v3BcwupcAYCqhwoPqAs5vxOhTScSjh6zpLZ0vjT1jpA=",
|
||||
"pom": "sha256-H6qwvkF9ezxBqXzKCsqKWwtkBvw7Etfyjiw0Ex3/k0o="
|
||||
},
|
||||
"net/sf/launch4j#launch4j/3.14": {
|
||||
"pom": "sha256-xEYpdod2nJWyb2Qg9zsr0qKd90TYllTAdKhVb2Is+Vs="
|
||||
},
|
||||
"net/sf/launch4j#launch4j/3.14/core": {
|
||||
"jar": "sha256-pGVAv4Nrz3s1AHM9n6f1muzYyDeUJz5zZlWrLKdXYjA="
|
||||
},
|
||||
"org/apache#apache/13": {
|
||||
"pom": "sha256-/1E9sDYf1BI3vvR4SWi8FarkeNTsCpSW+BEHLMrzhB0="
|
||||
},
|
||||
"org/apache#apache/19": {
|
||||
"pom": "sha256-kfejMJbqabrCy69tAf65NMrAAsSNjIz6nCQLQPHsId8="
|
||||
},
|
||||
"org/apache#apache/23": {
|
||||
"pom": "sha256-vBBiTgYj82V3+sVjnKKTbTJA7RUvttjVM6tNJwVDSRw="
|
||||
},
|
||||
"org/apache/ant#ant-launcher/1.10.11": {
|
||||
"jar": "sha256-2rUw33qYC1rI/X6NIIJDrg0+vW3gmxqiznVjYMwu0lY=",
|
||||
"pom": "sha256-7SoGiCYb624I7FSzgxLx1ILM8aO4Y8R9KNW5CkRtHB4="
|
||||
},
|
||||
"org/apache/ant#ant-parent/1.10.11": {
|
||||
"pom": "sha256-V6BTJoLzD6MHQWoiWSnVcQrNpy17Je4IyvmNyCzTXbY="
|
||||
},
|
||||
"org/apache/ant#ant/1.10.11": {
|
||||
"jar": "sha256-iMC4m7uq4B4Nn8rpO+eS9au+NAkQb47uhY/fNl28B1Q=",
|
||||
"pom": "sha256-wiiU2ctGq/XOv27rK8z+TXjhju6jEaDqat3VnftLH+M="
|
||||
},
|
||||
"org/apache/commons#commons-parent/34": {
|
||||
"pom": "sha256-Oi5p0G1kHR87KTEm3J4uTqZWO/jDbIfgq2+kKS0Et5w="
|
||||
},
|
||||
"org/apache/commons#commons-parent/47": {
|
||||
"pom": "sha256-io7LVwVTv58f+uIRqNTKnuYwwXr+WSkzaPunvZtC/Lc="
|
||||
},
|
||||
"org/apache/commons#commons-parent/52": {
|
||||
"pom": "sha256-ddvo806Y5MP/QtquSi+etMvNO18QR9VEYKzpBtu0UC4="
|
||||
},
|
||||
"org/apache/logging#logging-parent/3": {
|
||||
"pom": "sha256-djouwrgJTUFh3rbCZLEmIIW5vjC/OjHCzhNyQuV3Iqc="
|
||||
},
|
||||
"org/apache/logging/log4j#log4j-api/2.17.1": {
|
||||
"jar": "sha256-sNikyKtPuLGIjQCVgicDsObUeTxBlVAgPanmkZYWHeQ=",
|
||||
"pom": "sha256-HirO8yILKb4QrgmXKLFYsY2UP5Ghk8xFAbtC+SnB6Io="
|
||||
},
|
||||
"org/apache/logging/log4j#log4j-core/2.17.1": {
|
||||
"jar": "sha256-yWfyI0h5gLk2TpSnx/mooB/T7nwZvb8LD5+MuFEfPUE=",
|
||||
"pom": "sha256-C7s79tTSKhv6PDwJJ8KUEK8UoPsm47Ark3JvXH6Yqv0="
|
||||
},
|
||||
"org/apache/logging/log4j#log4j/2.17.1": {
|
||||
"pom": "sha256-lnq8AkRDqcsJaTVVmvXprW8P9hN1+Esn1EDS+nCAawk="
|
||||
},
|
||||
"org/codehaus/plexus#plexus-utils/3.4.1": {
|
||||
"jar": "sha256-UtheBLORhyKvEdEoVbSoJX35ag52yPTjhS5vqoUfNXs=",
|
||||
"pom": "sha256-sUTP+bHGJZ/sT+5b38DzYNacI6vU6m5URTOpSbaeNYI="
|
||||
},
|
||||
"org/codehaus/plexus#plexus/8": {
|
||||
"pom": "sha256-/6NJ2wTnq/ZYhb3FogYvQZfA/50/H04qpXILdyM/dCw="
|
||||
},
|
||||
"org/jdom#jdom2/2.0.6": {
|
||||
"jar": "sha256-E0XxG6YG0VYD1nQFUajCGUfAIVZAdw7GcnH+eL6pfPU=",
|
||||
"pom": "sha256-R7I6ef4za3QbgkNMbgSdaBZSVuQF51wQkh/XL6imXY0="
|
||||
},
|
||||
"org/junit#junit-bom/5.7.2": {
|
||||
"module": "sha256-87zrHFndT2mT9DBN/6WAFyuN9lp2zTb6T9ksBXjSitg=",
|
||||
"pom": "sha256-zRSqqGmZH4ICHFhdVw0x/zQry6WLtEIztwGTdxuWSHs="
|
||||
},
|
||||
"org/ow2#ow2/1.5": {
|
||||
"pom": "sha256-D4obEW52C4/mOJxRuE5LB6cPwRCC1Pk25FO1g91QtDs="
|
||||
},
|
||||
"org/ow2/asm#asm-analysis/9.2": {
|
||||
"jar": "sha256-h4++UhcxwHLRTS1luYOxvq5q0G/aAAe2qLroH3P0M8Q=",
|
||||
"pom": "sha256-dzzBor/BTGxKl5xRoHXAI0oL9pT8Or5PrPRU83oUXxs="
|
||||
},
|
||||
"org/ow2/asm#asm-commons/9.2": {
|
||||
"jar": "sha256-vkzlMTiiOLtSLNeBz5Hzulzi9sqT7GLUahYqEnIl4KY=",
|
||||
"pom": "sha256-AoJOg58qLw5ylZ/dMLSJckDwWvxD3kLXugsYQ3YBwHA="
|
||||
},
|
||||
"org/ow2/asm#asm-tree/9.2": {
|
||||
"jar": "sha256-qr+b0jCRpOv8EJwfPufPPkuJ9rotP1HFJD8Ws8/64BE=",
|
||||
"pom": "sha256-9h8+vqVSDd8Z9FKwPEJscjG92KgdesKHZctScSJaw3g="
|
||||
},
|
||||
"org/ow2/asm#asm/9.2": {
|
||||
"jar": "sha256-udT+TXGTjfOIOfDspCqqpkz4sxPWeNoDbwyzyhmbR/U=",
|
||||
"pom": "sha256-37EqGyJL8Bvh/WBAIEZviUJBvLZF3M45Xt2M1vilDfQ="
|
||||
},
|
||||
"org/vafer#jdependency/2.7.0": {
|
||||
"jar": "sha256-1j79V0b/QIlDp91++Frp8Jqn+2O7KxaRFCfObEW1n9A=",
|
||||
"pom": "sha256-6yRCKwo+nofVrG6oCHeG+1HEsbvg0iXvdSFSxzaiBNA="
|
||||
},
|
||||
"xmlpull#xmlpull/1.1.3.1": {
|
||||
"jar": "sha256-NOCO5iEWBxy7acDtcNFaelsgjWJ5jFnyEgu4kpMky2M=",
|
||||
"pom": "sha256-jxD/2N8NPpgZyMyEAnCcaySLxTqVTvbkVHDZrjpXNfs="
|
||||
},
|
||||
"xpp3#xpp3_min/1.1.4c": {
|
||||
"jar": "sha256-v8kOnjLQ6rHzl/uXS18VCoFRiDgqxB83KnFJ1bwXgAg=",
|
||||
"pom": "sha256-tbRqwMCdpBsE28dTRWtIkShWp/+7FJBnaRC1EMRx0T8="
|
||||
}
|
||||
},
|
||||
"https://repo.maven.apache.org/maven2": {
|
||||
"com/github/kwhat#jnativehook/2.2.2": {
|
||||
"jar": "sha256-LHkEQjvGgK8C2eqVV64jPDUZnjAtBydzqdAwS1aKzUE=",
|
||||
"pom": "sha256-6AZTO7P0KkjsDkTSuwBVP680IhOHKIvLUmz8BH1+ZWk="
|
||||
},
|
||||
"com/github/spotbugs#spotbugs-annotations/4.7.3": {
|
||||
"jar": "sha256-wP0awuIqzdRpE6L/dFUbcfEkRXGZaIaYIEr0vz1DFl0=",
|
||||
"module": "sha256-C85puO9wOJqNWr30ddFzAXe1CeQYZGP/2x1emmrVz/4=",
|
||||
"pom": "sha256-NpAQoZC5Xi2aJi2OxRfexrZIeqGhuUaKKBY5SvS6J7Q="
|
||||
},
|
||||
"com/github/spotbugs#spotbugs/4.7.3": {
|
||||
"jar": "sha256-3zfqshp9BKqAeAijPp98CBRRywLBS0osMxGZdr5JhSA=",
|
||||
"module": "sha256-0xel6FE2WKCWvGxSqWnZOSrvrXjjq6o8xA9GQbXxpfA=",
|
||||
"pom": "sha256-kiN32QwQdRhmiu93V5ysUgRYUqgNhCrUYIhvZ6yUld4="
|
||||
},
|
||||
"com/google/code/findbugs#jsr305/3.0.2": {
|
||||
"jar": "sha256-dmrSoHg/JoeWLIrXTO7MOKKLn3Ki0IXuQ4t4E+ko0Mc=",
|
||||
"pom": "sha256-GYidvfGyVLJgGl7mRbgUepdGRIgil2hMeYr+XWPXjf4="
|
||||
},
|
||||
"com/google/code/gson#gson-parent/2.9.1": {
|
||||
"pom": "sha256-fKCEXnNoVhjePka9NDTQOko3PVIPq5OmgDGK1sjLKnk="
|
||||
},
|
||||
"com/google/code/gson#gson/2.9.1": {
|
||||
"jar": "sha256-N4U04znm5tULFzb7Ort28cFdG+P0wTzsbVNkEuI9pgM=",
|
||||
"pom": "sha256-5ZZjI9cUJXCzekvpeeIbwtroSBB+TcQW2PRNmqPwKQM="
|
||||
},
|
||||
"commons-codec#commons-codec/1.15": {
|
||||
"jar": "sha256-s+n21jp5AQm/DQVmEfvtHPaQVYJt7+uYlKcTadJG7WM=",
|
||||
"pom": "sha256-yG7hmKNaNxVIeGD0Gcv2Qufk2ehxR3eUfb5qTjogq1g="
|
||||
},
|
||||
"dev/roanh/util#util/2.5": {
|
||||
"jar": "sha256-4wxMy4RiFjtLEUiLB/eheGgK0+hyeOTEGAzZ1Hac2Zk=",
|
||||
"module": "sha256-9lbRJhRQb4QWIxAaudvG9T0/DRWIWW4l74ykD2uojZU=",
|
||||
"pom": "sha256-fJTrQdIpp9LmHKOzm4Jls8BbHx+h57hmG0crJ3NBBOM="
|
||||
},
|
||||
"jaxen#jaxen/1.2.0": {
|
||||
"jar": "sha256-cP7vndda0GTe8Fo86Jda66UV7n0b4UbRIZnIgopkF0w=",
|
||||
"pom": "sha256-zEgr+qIqVQepb6WzorYVkRRDrT9zZOAgBNGQsGfzsH8="
|
||||
},
|
||||
"net/jcip#jcip-annotations/1.0": {
|
||||
"jar": "sha256-vlgFOSBgxxR0v2yaZ6CZRxJ00wuD7vhL/E4IiaTx3MA=",
|
||||
"pom": "sha256-XBnmhIzFUKlWZPsIIwS8X5/Pe2cvrwOvFjXw6TwmgXc="
|
||||
},
|
||||
"net/sf/launch4j#launch4j/3.14": {
|
||||
"pom": "sha256-xEYpdod2nJWyb2Qg9zsr0qKd90TYllTAdKhVb2Is+Vs="
|
||||
},
|
||||
"net/sf/launch4j#launch4j/3.14/workdir-linux64": {
|
||||
"jar": "sha256-mphFGb9E6CWlsEFZfgVPi/qy+Tpm+na30aM79JIcNUY="
|
||||
},
|
||||
"net/sf/saxon#Saxon-HE/11.4": {
|
||||
"jar": "sha256-QuNUlNwua16XJWrnzfK3zjBDnDUlZvNd4CvtOgaisWk=",
|
||||
"pom": "sha256-zE2jTuC+5MZa2118spI0H2Wb76NSiPbjH4CdxLsvxXU="
|
||||
},
|
||||
"org/apache#apache/21": {
|
||||
"pom": "sha256-rxDBCNoBTxfK+se1KytLWjocGCZfoq+XoyXZFDU3s4A="
|
||||
},
|
||||
"org/apache#apache/23": {
|
||||
"pom": "sha256-vBBiTgYj82V3+sVjnKKTbTJA7RUvttjVM6tNJwVDSRw="
|
||||
},
|
||||
"org/apache#apache/24": {
|
||||
"pom": "sha256-LpO7q+NBOviaDDv7nmv3Hbyej5+xTMux14vQJ13xxSU="
|
||||
},
|
||||
"org/apache#apache/27": {
|
||||
"pom": "sha256-srD8aeIqZQw4kvHDZtdwdvKVdcZzjfTHpwpEhESEzfk="
|
||||
},
|
||||
"org/apache/bcel#bcel/6.5.0": {
|
||||
"jar": "sha256-ves4HQ0ZmZ4iHmoPjYv0T1sZwuV+q/aLcNwJhlKu+vU=",
|
||||
"pom": "sha256-/B6eb17UvSAMsGYghsiYwAAmOGoutKY0hBH34OBotcU="
|
||||
},
|
||||
"org/apache/commons#commons-lang3/3.12.0": {
|
||||
"jar": "sha256-2RnZBEhsA3+NGTQS2gyS4iqfokIwudZ6V4VcXDHH6U4=",
|
||||
"pom": "sha256-gtMfHcxFg+/9dE6XkWWxbaZL+GvKYj/F0bA+2U9FyFo="
|
||||
},
|
||||
"org/apache/commons#commons-parent/50": {
|
||||
"pom": "sha256-e3ots/dHB0tYZ/VT1e/IByvibt4yh50FLDR+fIERfwY="
|
||||
},
|
||||
"org/apache/commons#commons-parent/52": {
|
||||
"pom": "sha256-ddvo806Y5MP/QtquSi+etMvNO18QR9VEYKzpBtu0UC4="
|
||||
},
|
||||
"org/apache/commons#commons-parent/54": {
|
||||
"pom": "sha256-AA2Bh5UrIjcC/eKW33mVY/Nd6CznKttOe/FXNCN4++M="
|
||||
},
|
||||
"org/apache/commons#commons-text/1.10.0": {
|
||||
"jar": "sha256-dwzZA/p7YE0ffve6F/hBCGZylLK0eL6O0a87/7SuABg=",
|
||||
"pom": "sha256-OI3VI0i6GEKqOK64l8kdJwsUZh64daIP2YAxU1qydWc="
|
||||
},
|
||||
"org/apache/httpcomponents#httpcomponents-parent/12": {
|
||||
"pom": "sha256-QgnwlZMhKYfCnWgBkXMJ3V5vcbU7Kx0ODw77mErRH6E="
|
||||
},
|
||||
"org/apache/httpcomponents/client5#httpclient5-parent/5.1.3": {
|
||||
"pom": "sha256-onsUE67OkqOqR3SRX3WJ4MYXnXKNKsailddY7k+iTMU="
|
||||
},
|
||||
"org/apache/httpcomponents/client5#httpclient5/5.1.3": {
|
||||
"jar": "sha256-KMdZJU9ONTGeB4u2/+p1Z2YI3BLLJDsk+zyHMlIpd/4=",
|
||||
"pom": "sha256-GYirPRva4PUfIsg9yXuI+gdWGttiRGedi49xRs3ROq8="
|
||||
},
|
||||
"org/apache/httpcomponents/core5#httpcore5-h2/5.1.3": {
|
||||
"jar": "sha256-0OeLoVqo6+d5grZgrEsJqV1uA129vqdiV33ByOKTWAc=",
|
||||
"pom": "sha256-K8AxehSO3Jrv6j7BU1OU787T0TfWL3/1ZW0LA/lMB4Y="
|
||||
},
|
||||
"org/apache/httpcomponents/core5#httpcore5-parent/5.1.3": {
|
||||
"pom": "sha256-pnU4hlrg83RLIekcpH1GEFRzfFUtH/KdpxTIYMmS1bs="
|
||||
},
|
||||
"org/apache/httpcomponents/core5#httpcore5/5.1.3": {
|
||||
"jar": "sha256-8r8vLHdyFpyeMGmXGWZ60w+bRsTp14QZB96y0S2ZI/4=",
|
||||
"pom": "sha256-f8K4BFgJ8/J6ydTZ6ZudNGIbY3HPk8cxPs2Epa8Om64="
|
||||
},
|
||||
"org/apache/logging#logging-parent/5": {
|
||||
"pom": "sha256-3HYwz4LLMfTUdiFgVCIa/9UldG7pZUEkD0UvcyNwMCI="
|
||||
},
|
||||
"org/apache/logging/log4j#log4j-api/2.19.0": {
|
||||
"jar": "sha256-XMskrZ+S52jQvEVtMGGnN5USYt+APgBNLK0Ja3WojWA=",
|
||||
"pom": "sha256-DKkiQ2MurHxkRF8mO+UDBLdaerv7eIXNbIH1cRJ01KU="
|
||||
},
|
||||
"org/apache/logging/log4j#log4j-bom/2.19.0": {
|
||||
"pom": "sha256-jGp6wVCpGKIpBzNf1VZpFHMe14E2l3DVJfZMDQf+h+c="
|
||||
},
|
||||
"org/apache/logging/log4j#log4j-core/2.19.0": {
|
||||
"jar": "sha256-tKF5b6t7/DbfAVwbQFJFkUeZfo0hWnGZ1x0F+edH5PQ=",
|
||||
"pom": "sha256-c1r8+2E2GCqidn62RZdhr9MrgleR1OCJXqGpSyrbmzk="
|
||||
},
|
||||
"org/apache/logging/log4j#log4j/2.19.0": {
|
||||
"pom": "sha256-FWJLoaVtv4ZGBgdFMlM2GPoytGQvcoUfy+kuE2vq7JQ="
|
||||
},
|
||||
"org/apiguardian#apiguardian-api/1.1.2": {
|
||||
"jar": "sha256-tQlEisUG1gcxnxglN/CzXXEAdYLsdBgyofER5bW3Czg=",
|
||||
"module": "sha256-4IAoExN1s1fR0oc06aT7QhbahLJAZByz7358fWKCI/w=",
|
||||
"pom": "sha256-MjVQgdEJCVw9XTdNWkO09MG3XVSemD71ByPidy5TAqA="
|
||||
},
|
||||
"org/dom4j#dom4j/2.1.3": {
|
||||
"jar": "sha256-VJ8wB8YpD2qQHlfR0zG07Q5r9zhPeL8QMW/87sqDTeY=",
|
||||
"module": "sha256-3sfF/Y1SDa+1exXi87a+LxgFYTQqP0Ub7u6QVUO8FwM=",
|
||||
"pom": "sha256-zcnEn1nSMNQnF3G7dkqnCX1qy83CUAFJ5NLJUd9crDA="
|
||||
},
|
||||
"org/jacoco#org.jacoco.agent/0.8.8": {
|
||||
"jar": "sha256-By7L1JaJZiOJmmlv/xLAHBYV9zdhbSeS5tDhDN+KYQ0=",
|
||||
"pom": "sha256-fdE8gK/zFQMpgzV8ZQqIfW/bTIqIcLIHu0gCxJgJ57Q="
|
||||
},
|
||||
"org/jacoco#org.jacoco.ant/0.8.8": {
|
||||
"jar": "sha256-AuM70sSNwL5nwv6oTUO+7Oz9QA2meXxYFTJT1MMKyhU=",
|
||||
"pom": "sha256-+v/3WBlgkDD0YmUJMTwIYUKMLCbI026aiTgzSgRHiQk="
|
||||
},
|
||||
"org/jacoco#org.jacoco.build/0.8.8": {
|
||||
"pom": "sha256-9M4LEoX9JPxsdy9ChXKYMVkE3ej9Vncmeg+tX/nOKu8="
|
||||
},
|
||||
"org/jacoco#org.jacoco.core/0.8.8": {
|
||||
"jar": "sha256-R0x4L4CdiJJHE9/b8Ky3nTMPkEvldkhIA0Y9BGVhFkM=",
|
||||
"pom": "sha256-9fq1pI34I7g8DqNQJgMjaMybgYAO+yV8x6WSgpj+4iU="
|
||||
},
|
||||
"org/jacoco#org.jacoco.report/0.8.8": {
|
||||
"jar": "sha256-LBKREPPj/KofgXlXjqOJRYYZnLCCa+XHeQJ4CEyWIqk=",
|
||||
"pom": "sha256-UhOvKRa7JpC+hxkX2CoPnCuh6It5alk0P8A9+K4ThxY="
|
||||
},
|
||||
"org/junit#junit-bom/5.10.0": {
|
||||
"module": "sha256-6z7mEnYIAQaUqJgFbnQH0RcpYAOrpfXbgB30MLmIf88=",
|
||||
"pom": "sha256-4AbdiJT5/Ht1/DK7Ev5e2L5lZn1bRU+Z4uC4xbuNMLM="
|
||||
},
|
||||
"org/junit#junit-bom/5.7.0": {
|
||||
"module": "sha256-Jd5FSzrdZ2VNZpG1PedZO1ApZ7X/VJVHsQTXlh8aUr0=",
|
||||
"pom": "sha256-NfsV+NC+4rWQCiKDJ2I2ZVL5o0nFbO1guhI85Hc4/wA="
|
||||
},
|
||||
"org/junit#junit-bom/5.7.1": {
|
||||
"module": "sha256-mFTjiU1kskhSB+AEa8oHs9QtFp54L0+oyc4imnj67gQ=",
|
||||
"pom": "sha256-C5sUo9YhBvr+jGinF7h7h60YaFiZRRt1PAT6QbaFd4Q="
|
||||
},
|
||||
"org/junit#junit-bom/5.9.0": {
|
||||
"module": "sha256-oFTq9QFrWLvN6GZgREp8DdPiyvhNKhrV/Ey1JZecGbk=",
|
||||
"pom": "sha256-2D6H8Wds3kQZHuxc2mkEkjkvJpI7HkmBSMpznf7XUpU="
|
||||
},
|
||||
"org/junit#junit-bom/5.9.1": {
|
||||
"module": "sha256-kCbBZWaQ+hRa117Og2dCEaoSrYkwqRsQfC9c3s4vGxw=",
|
||||
"pom": "sha256-sWPBz8j8H9WLRXoA1YbATEbphtdZBOnKVMA6l9ZbSWw="
|
||||
},
|
||||
"org/junit/jupiter#junit-jupiter-api/5.10.0": {
|
||||
"jar": "sha256-EICI/X6kao5loM5/XXWuP/eGVgZ3CgeHFfWm5XCeF9g=",
|
||||
"module": "sha256-rlZhzTgeEJo8NXWzqy3tdHnnvdfOxKqfJtQ3iXNAl5s=",
|
||||
"pom": "sha256-Tx3RjtVlgTdJThuDUFN5V994ExxnNYrDw/IM3vKF9xw="
|
||||
},
|
||||
"org/junit/jupiter#junit-jupiter-engine/5.10.0": {
|
||||
"jar": "sha256-V+pI5veVIAeRBlu8hrcLhM0FNnxcnyrI+SaOJxVMiKg=",
|
||||
"module": "sha256-ahCFcpBdHtGcAtzQePNMHt6zFVX1RCF24BQYJwCFYmo=",
|
||||
"pom": "sha256-tgBsZQiRofdWh1Z2xtj+m0FqwckRfntBg0KdnxU0crU="
|
||||
},
|
||||
"org/junit/jupiter#junit-jupiter-params/5.10.0": {
|
||||
"jar": "sha256-8lmnMizON1QwwiNqLcsk1KSdIgRbcjrYWviOEXBDkcI=",
|
||||
"module": "sha256-GW9/Tv35x3OnEEwzn2AlNCuHQvz6sC+IArqAJ+0o+S4=",
|
||||
"pom": "sha256-hJpvXnjyuDFLW10KDMymYhblwH4pWFRxJX3/CvrLELE="
|
||||
},
|
||||
"org/junit/jupiter#junit-jupiter/5.10.0": {
|
||||
"jar": "sha256-jkveI+4o/EQ5dWVKeyjEEKO3jWvpa3jJmrc2lew0T3w=",
|
||||
"module": "sha256-BXDggypUZagvBKK492Hyux4w+v4oLSowmHAV/LBQdgM=",
|
||||
"pom": "sha256-9LAPh2BzWmAc6U0sxq0r9WpK30885g7iD1LHDa5bMxM="
|
||||
},
|
||||
"org/junit/platform#junit-platform-commons/1.10.0": {
|
||||
"jar": "sha256-YIPbCMoR/KHhYJnQ3P7eAZPYCzdisnY0nYDT2lNnkbI=",
|
||||
"module": "sha256-jLYNPfgdYG6hvj4/yuVpdlOxswPi96mCKn7RJkdF/Cc=",
|
||||
"pom": "sha256-vkEftVMxuqETp0wRkA8HVVhasg76cMJtlQ9a4hRJALA="
|
||||
},
|
||||
"org/junit/platform#junit-platform-engine/1.10.0": {
|
||||
"jar": "sha256-zTOO/QLuc5Zup1TgwMceGhH0r125wgA+S2E34RkVWr4=",
|
||||
"module": "sha256-duCMg/k91SuD6IW5AJIMHcheNoaID2ZTrysiMX9N3jc=",
|
||||
"pom": "sha256-+RGG4YGx4VrofVJ5uaKzDGLO1ROQE6NJoQu03hL6+YI="
|
||||
},
|
||||
"org/opentest4j#opentest4j/1.3.0": {
|
||||
"jar": "sha256-SOLfY2yrZWPO1k3N/4q7I1VifLI27wvzdZhoLd90Lxs=",
|
||||
"module": "sha256-SL8dbItdyU90ZSvReQD2VN63FDUCSM9ej8onuQkMjg0=",
|
||||
"pom": "sha256-m/fP/EEPPoNywlIleN+cpW2dQ72TfjCUhwbCMqlDs1U="
|
||||
},
|
||||
"org/ow2#ow2/1.5": {
|
||||
"pom": "sha256-D4obEW52C4/mOJxRuE5LB6cPwRCC1Pk25FO1g91QtDs="
|
||||
},
|
||||
"org/ow2#ow2/1.5.1": {
|
||||
"pom": "sha256-Mh3bt+5v5PU96mtM1tt0FU1r+kI5HB92OzYbn0hazwU="
|
||||
},
|
||||
"org/ow2/asm#asm-analysis/9.2": {
|
||||
"jar": "sha256-h4++UhcxwHLRTS1luYOxvq5q0G/aAAe2qLroH3P0M8Q=",
|
||||
"pom": "sha256-dzzBor/BTGxKl5xRoHXAI0oL9pT8Or5PrPRU83oUXxs="
|
||||
},
|
||||
"org/ow2/asm#asm-analysis/9.4": {
|
||||
"jar": "sha256-e1+MXjvzQbW7Vw0m83nj/evcMnMhhxWcQkeRZAU/Nz0=",
|
||||
"pom": "sha256-fZtgkidiP2x+9v13+gbaWG0Na6wRTPPnICDaiFPYdZw="
|
||||
},
|
||||
"org/ow2/asm#asm-commons/9.2": {
|
||||
"jar": "sha256-vkzlMTiiOLtSLNeBz5Hzulzi9sqT7GLUahYqEnIl4KY=",
|
||||
"pom": "sha256-AoJOg58qLw5ylZ/dMLSJckDwWvxD3kLXugsYQ3YBwHA="
|
||||
},
|
||||
"org/ow2/asm#asm-commons/9.4": {
|
||||
"jar": "sha256-DBKKnsPzPJiVknL20WzxQke1CPWJUVdLzb0rVtYyY2Q=",
|
||||
"pom": "sha256-tCyiq8+IEXdqXdwCkPIQbX8xP4LHiw3czVzOTGOjUXk="
|
||||
},
|
||||
"org/ow2/asm#asm-tree/9.2": {
|
||||
"jar": "sha256-qr+b0jCRpOv8EJwfPufPPkuJ9rotP1HFJD8Ws8/64BE=",
|
||||
"pom": "sha256-9h8+vqVSDd8Z9FKwPEJscjG92KgdesKHZctScSJaw3g="
|
||||
},
|
||||
"org/ow2/asm#asm-tree/9.4": {
|
||||
"jar": "sha256-xC1HnPJFZqIesgr37q7vToa9tKiGMGz3L0g7ZedbKs8=",
|
||||
"pom": "sha256-x+nvk73YqzYwMs5TgvzGTQAtbFicF1IzI2zSmOUaPBY="
|
||||
},
|
||||
"org/ow2/asm#asm-util/9.4": {
|
||||
"jar": "sha256-PXkyuT/1UFZkHnz7YB+WvNXNBx4bBQPHilAUIyKXoj4=",
|
||||
"pom": "sha256-ugQzwHsMD2mA8suPgEH/WcgemEgeEBliEFFi43IvH5I="
|
||||
},
|
||||
"org/ow2/asm#asm/9.2": {
|
||||
"jar": "sha256-udT+TXGTjfOIOfDspCqqpkz4sxPWeNoDbwyzyhmbR/U=",
|
||||
"pom": "sha256-37EqGyJL8Bvh/WBAIEZviUJBvLZF3M45Xt2M1vilDfQ="
|
||||
},
|
||||
"org/ow2/asm#asm/9.4": {
|
||||
"jar": "sha256-OdDis9xFr2Wgmwl5RXUKlKEm4FLhJPk0aEQ6HQ4V84E=",
|
||||
"pom": "sha256-SDdR5I+y0fQ8Ya06sA/6Rm7cAzPY/C/bWibpXTKYI5Q="
|
||||
},
|
||||
"org/slf4j#slf4j-api/2.0.0": {
|
||||
"jar": "sha256-oiPm35G4TxnUnF68X1+Xx/RDhBn4SlL6BeHPxu7Tiqk=",
|
||||
"pom": "sha256-Ri98K2JXw2dZ8XY0axr/ADI/W2Nhm9jxonFrLqvnxnA="
|
||||
},
|
||||
"org/slf4j#slf4j-parent/2.0.0": {
|
||||
"pom": "sha256-pi0qZ9d/fLRw+siIvEIdhIjvIBTnwr+Ne0GT1fKKz7U="
|
||||
},
|
||||
"org/slf4j#slf4j-simple/2.0.0": {
|
||||
"jar": "sha256-qE0IW9is0HHv9dHMGKe6bZz9CAou6IpmiUkuLEn5fpY=",
|
||||
"pom": "sha256-9k/4Cue1R84QpIiaejqva1gjV+Xg9is7w0rYx9OtNQQ="
|
||||
},
|
||||
"org/sonatype/oss#oss-parent/7": {
|
||||
"pom": "sha256-tR+IZ8kranIkmVV/w6H96ne9+e9XRyL+kM5DailVlFQ="
|
||||
},
|
||||
"org/sonatype/oss#oss-parent/9": {
|
||||
"pom": "sha256-+0AmX5glSCEv+C42LllzKyGH7G8NgBgohcFO8fmCgno="
|
||||
},
|
||||
"org/xmlresolver#xmlresolver/4.4.3": {
|
||||
"jar": "sha256-nWQslsP2gR4gqfbP7jyhXshOy5Ofa+Y5/uBlZwdzp9E=",
|
||||
"module": "sha256-8GvLyo9h/M9XRtT+zEg+GgGNCYvVGRdxTH2wBCIA+Dc=",
|
||||
"pom": "sha256-FGtXOSRyKmK1jnF2r2hgxoD4p3+XJsXiGHnJxAHtRkI="
|
||||
},
|
||||
"org/xmlresolver#xmlresolver/4.4.3/data": {
|
||||
"jar": "sha256-pX2yPXXDWAyxXrbhqFRoP0V5z9Jl9c8QEaaYPZrtDx8="
|
||||
},
|
||||
"xml-apis#xml-apis/1.4.01": {
|
||||
"jar": "sha256-qECWgXZkVoS7Aa7TduBnqzlhSIX57uRKvjWl8g6+f60=",
|
||||
"pom": "sha256-Cagv8VCshr+jEUXgpq/YmgLkUEeF9doRLk+uFCUCDpI="
|
||||
}
|
||||
}
|
||||
}
|
103
pkgs/by-name/ke/keyspersecond/package.nix
Normal file
103
pkgs/by-name/ke/keyspersecond/package.nix
Normal file
@ -0,0 +1,103 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
gradle_7,
|
||||
copyDesktopItems,
|
||||
makeDesktopItem,
|
||||
makeWrapper,
|
||||
jre,
|
||||
libGL,
|
||||
libX11,
|
||||
libXtst,
|
||||
libxkbcommon,
|
||||
libxcb,
|
||||
libXt,
|
||||
libXinerama,
|
||||
}:
|
||||
|
||||
let
|
||||
gradle = gradle_7;
|
||||
|
||||
libPath = lib.makeLibraryPath [
|
||||
# used by the Java2D OpenGL backend
|
||||
libGL
|
||||
# jnativehook dependencies
|
||||
libX11
|
||||
libXtst
|
||||
libxkbcommon
|
||||
libxcb
|
||||
libXt
|
||||
libXinerama
|
||||
];
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "keyspersecond";
|
||||
version = "8.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "RoanH";
|
||||
repo = "KeysPerSecond";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-DGpXbCInq+RS56Ae5Y6xzyWqwXAm26c0vOYrFqDvl+8=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/KeysPerSecond";
|
||||
|
||||
nativeBuildInputs = [
|
||||
gradle
|
||||
copyDesktopItems
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
mitmCache = gradle.fetchDeps {
|
||||
inherit (finalAttrs) pname;
|
||||
data = ./deps.json;
|
||||
};
|
||||
|
||||
# this is required for using mitm-cache on Darwin
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
gradleFlags = "-PrefName=v${finalAttrs.version}";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 resources/kps.png $out/share/icons/hicolor/64x64/apps/keyspersecond.png
|
||||
install -Dm644 build/libs/KeysPerSecond-v*.jar $out/share/keyspersecond/KeysPerSecond.jar
|
||||
|
||||
# Note: we need to enable the Java2D OpenGL backend for proper transparency support
|
||||
makeWrapper ${jre}/bin/java $out/bin/KeysPerSecond \
|
||||
--prefix LD_LIBRARY_PATH : ${libPath} \
|
||||
--add-flags "-Dsun.java2d.opengl=True" \
|
||||
--add-flags "-jar $out/share/keyspersecond/KeysPerSecond.jar"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
name = "keyspersecond";
|
||||
desktopName = "KeysPerSecond";
|
||||
exec = "KeysPerSecond";
|
||||
icon = "keyspersecond";
|
||||
comment = finalAttrs.meta.description;
|
||||
categories = [ "Utility" ];
|
||||
})
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/RoanH/KeysPerSecond/blob/${finalAttrs.src.rev}/CHANGELOG.md";
|
||||
description = "Keys-per-second meter and counter for rhythm games";
|
||||
homepage = "https://github.com/RoanH/KeysPerSecond";
|
||||
license = lib.licenses.gpl3Only;
|
||||
mainProgram = "KeysPerSecond";
|
||||
maintainers = with lib.maintainers; [ tomasajt ];
|
||||
platforms = jre.meta.platforms;
|
||||
sourceProvenance = with lib.sourceTypes; [
|
||||
fromSource
|
||||
binaryBytecode # deps
|
||||
binaryNativeCode # jnativehook shared library
|
||||
];
|
||||
};
|
||||
})
|
38
pkgs/by-name/ki/kin-openapi/package.nix
Normal file
38
pkgs/by-name/ki/kin-openapi/package.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildGoModule,
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "kin-openapi";
|
||||
version = "0.128.0";
|
||||
vendorHash = "sha256-yNS5Rtmxts4uOhMPTXCFRhe/dLPZZAtGKe/bNkOeIBw=";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "getkin";
|
||||
repo = "kin-openapi";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-4pYrg75dFFdFS2SC1BvFoHcLFNGgBumXd3Vd7jHvUJg=";
|
||||
};
|
||||
|
||||
checkFlags =
|
||||
let
|
||||
# Skip tests that require network access
|
||||
skippedTests = [
|
||||
"TestExtraSiblingsInRemoteRef"
|
||||
"TestIssue495WithDraft04"
|
||||
];
|
||||
in
|
||||
[ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];
|
||||
|
||||
subPackages = [ "cmd/validate" ];
|
||||
|
||||
meta = {
|
||||
mainProgram = "validate";
|
||||
description = "Command line tool to validation openapi3 documents";
|
||||
homepage = "https://github.com/getkin/kin-openapi";
|
||||
changelog = "https://github.com/getkin/kin-openapi/releases/tag/v${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers._6543 ];
|
||||
};
|
||||
}
|
@ -6,11 +6,11 @@
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "lxgw-wenkai";
|
||||
version = "1.500";
|
||||
version = "1.501";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/lxgw/LxgwWenKai/releases/download/v${version}/${pname}-v${version}.tar.gz";
|
||||
hash = "sha256-5cQSHrL/kllmsrOSEHDhsiIa3PXpDh5ELrCnVh/9pxI=";
|
||||
hash = "sha256-7BBg6TGJzTVgBHPyzTYGFjXmidvAzOVCWAU11LylmBI=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
|
@ -74,6 +74,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
postInstall =
|
||||
lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
mkdir -p "$out"/bin
|
||||
mv "$out"/Applications/Modrinth\ App.app/Contents/MacOS/Modrinth\ App "$out"/bin/modrinth-app
|
||||
ln -s "$out"/bin/modrinth-app "$out"/Applications/Modrinth\ App.app/Contents/MacOS/Modrinth\ App
|
||||
''
|
||||
@ -101,7 +102,9 @@ rustPlatform.buildRustPackage rec {
|
||||
maintainers = with lib.maintainers; [ getchoo ];
|
||||
mainProgram = "modrinth-app";
|
||||
platforms = with lib; platforms.linux ++ platforms.darwin;
|
||||
# this builds on architectures like aarch64, but the launcher itself does not support them yet
|
||||
broken = !stdenv.hostPlatform.isx86_64;
|
||||
# This builds on architectures like aarch64, but the launcher itself does not support them yet.
|
||||
# Darwin is the only exception
|
||||
# See https://github.com/modrinth/code/issues/776#issuecomment-1742495678
|
||||
broken = !stdenv.hostPlatform.isx86_64 && !stdenv.hostPlatform.isDarwin;
|
||||
};
|
||||
}
|
||||
|
33
pkgs/by-name/py/pyditz/package.nix
Normal file
33
pkgs/by-name/py/pyditz/package.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{
|
||||
lib,
|
||||
python3Packages,
|
||||
fetchPypi,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "pyditz";
|
||||
version = "0.11";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-2gNlrpBk4wxKJ1JvsNeoAv2lyGUc2mmQ0Xvn7eiaJVE=";
|
||||
};
|
||||
|
||||
build-system = with python3Packages; [ setuptools-scm ];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
pyyaml
|
||||
six
|
||||
jinja2
|
||||
cerberus
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://hg.sr.ht/~zondo/pyditz";
|
||||
description = "Drop-in replacement for the Ditz distributed issue tracker";
|
||||
maintainers = with lib.maintainers; [ ilikeavocadoes ];
|
||||
license = lib.licenses.lgpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
26
pkgs/by-name/ro/rofi-games/fix-justfile.patch
Normal file
26
pkgs/by-name/ro/rofi-games/fix-justfile.patch
Normal file
@ -0,0 +1,26 @@
|
||||
diff --git a/justfile b/justfile
|
||||
index cd111a1..b6f3827 100644
|
||||
--- a/justfile
|
||||
+++ b/justfile
|
||||
@@ -13,9 +13,9 @@ PKGNAME := env("PKGNAME", "rofi-games")
|
||||
PKGDIR := env("PKGDIR", "")
|
||||
LIB_NAME := "librofi_games.so"
|
||||
PLUGIN_NAME := "games.so"
|
||||
-THEMES_DIR := "/usr/share/rofi/themes"
|
||||
-LICENSES_DIR := "/usr/share/licenses/" + PKGNAME
|
||||
-PLUGINS_DIR := `pkg-config --variable pluginsdir rofi || if test -d "/usr/lib64"; then echo "/usr/lib64/rofi"; else echo "/usr/lib/rofi"; fi`
|
||||
+THEMES_DIR := "/share/rofi/themes"
|
||||
+LICENSES_DIR := "/share/licenses/" + PKGNAME
|
||||
+PLUGINS_DIR := "/lib/rofi"
|
||||
PLUGIN_PATH := join(PLUGINS_DIR, PLUGIN_NAME)
|
||||
|
||||
# Set rust flags if running a version of `rofi` with changes newer than the base `1.7.5`
|
||||
@@ -32,7 +32,7 @@ RUSTFLAGS := if `rofi -version` =~ '^Version: 1\.7\.5(?:\+wayland2)?$' { "" } el
|
||||
|
||||
# List commands
|
||||
default:
|
||||
- just --list
|
||||
+ just build
|
||||
|
||||
# Build
|
||||
build:
|
62
pkgs/by-name/ro/rofi-games/package.nix
Normal file
62
pkgs/by-name/ro/rofi-games/package.nix
Normal file
@ -0,0 +1,62 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
cargo,
|
||||
just,
|
||||
rofi,
|
||||
pkg-config,
|
||||
glib,
|
||||
cairo,
|
||||
pango,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "rofi-games";
|
||||
version = "1.10.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Rolv-Apneseth";
|
||||
repo = "rofi-games";
|
||||
rev = "refs/tags/v${finalAttrs.version}";
|
||||
hash = "sha256-4L3gk/RG9g5QnUW1AJkZIl0VkBiO/L0HUBC3pibN/qo=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit (finalAttrs) pname version src;
|
||||
hash = "sha256-cU7gp/c1yx3ZLaZuGs1bvOV4AKgLusraILVJ2EhH1iA=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# fix the install locations of files and set default just task
|
||||
./fix-justfile.patch
|
||||
];
|
||||
|
||||
env.PKGDIR = placeholder "out";
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
rustPlatform.cargoSetupHook
|
||||
cargo
|
||||
just
|
||||
rofi
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
cairo
|
||||
pango
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/Rolv-Apneseth/rofi-games/blob/${finalAttrs.src.rev}/CHANGELOG.md";
|
||||
description = "Rofi plugin which adds a mode that will list available games for launch along with their box art";
|
||||
homepage = "https://github.com/Rolv-Apneseth/rofi-games";
|
||||
license = lib.licenses.gpl2Only;
|
||||
maintainers = with lib.maintainers; [ tomasajt ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
@ -6,11 +6,11 @@
|
||||
|
||||
let
|
||||
pname = "simplex-chat-desktop";
|
||||
version = "6.0.5";
|
||||
version = "6.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/simplex-chat/simplex-chat/releases/download/v${version}/simplex-desktop-x86_64.AppImage";
|
||||
hash = "sha256-z40Udd3+GWd4JSVNsqwFUm3GcbfNre+lFR/UP1+msyo=";
|
||||
hash = "sha256-Fe84rggb539MJXkbJqQRemToTLyX61BbXtoDRUuds8k=";
|
||||
};
|
||||
|
||||
appimageContents = appimageTools.extract {
|
||||
@ -43,7 +43,7 @@ in appimageTools.wrapType2 {
|
||||
homepage = "https://simplex.chat";
|
||||
changelog = "https://github.com/simplex-chat/simplex-chat/releases/tag/v${version}";
|
||||
license = licenses.agpl3Only;
|
||||
maintainers = with maintainers; [ terryg yuu ];
|
||||
maintainers = with maintainers; [ terryg ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
||||
|
@ -11,16 +11,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "smartcat";
|
||||
version = "1.4.1";
|
||||
version = "1.7.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "efugier";
|
||||
repo = "smartcat";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-/BJdLHK8rb9QVlkLbRCXIPlHiI2eThAZvhIhJWW43Q4=";
|
||||
hash = "sha256-62yvXrhk9JO7JBfD7tNFjba2nHxdqAVyMIW3q+2Aomc=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-mMoLFlY4mExG7MCu2uXPzmG3krKIWOLwcnth8gt40eg=";
|
||||
cargoHash = "sha256-y0EA6pDxAO4mxZE+k15LUrjxsDD4A/KxvJltZL9Lqgc=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
|
33
pkgs/by-name/sp/sphinxygen/package.nix
Normal file
33
pkgs/by-name/sp/sphinxygen/package.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{
|
||||
lib,
|
||||
python3,
|
||||
fetchFromGitLab,
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "sphinxygen";
|
||||
version = "1.0.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "drobilla";
|
||||
repo = "sphinxygen";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-TIACg89E/BaMwPgFqj6JUncq7BI5xQ9jUDe4nQ9YiI4=";
|
||||
};
|
||||
|
||||
build-system = with python3.pkgs; [
|
||||
setuptools
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "sphinxygen" ];
|
||||
|
||||
meta = {
|
||||
description = "Generates Sphinx markup from an XML description extracted by Doxygen";
|
||||
homepage = "https://gitlab.com/drobilla/sphinxygen";
|
||||
changelog = "https://gitlab.com/drobilla/sphinxygen/-/releases/v${version}";
|
||||
license = lib.licenses.isc;
|
||||
maintainers = with lib.maintainers; [ samueltardieu ];
|
||||
mainProgram = "sphinxygen";
|
||||
};
|
||||
}
|
57
pkgs/by-name/sq/sqlc/package.nix
Normal file
57
pkgs/by-name/sq/sqlc/package.nix
Normal file
@ -0,0 +1,57 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
installShellFiles,
|
||||
testers,
|
||||
sqlc,
|
||||
}:
|
||||
|
||||
let
|
||||
version = "1.27.0";
|
||||
in
|
||||
buildGoModule {
|
||||
pname = "sqlc";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sqlc-dev";
|
||||
repo = "sqlc";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-wxQ+YPsDX0Z6B8whlQ/IaT2dRqapPL8kOuFEc6As1rU=";
|
||||
};
|
||||
|
||||
proxyVendor = true;
|
||||
vendorHash = "sha256-ndOw3uShF5TngpxYNumoK3H3R9v4crfi5V3ZCoSqW90=";
|
||||
|
||||
subPackages = [ "cmd/sqlc" ];
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||
installShellCompletion --cmd sqlc \
|
||||
--bash <($out/bin/sqlc completion bash) \
|
||||
--fish <($out/bin/sqlc completion fish) \
|
||||
--zsh <($out/bin/sqlc completion zsh)
|
||||
'';
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = sqlc;
|
||||
command = "sqlc version";
|
||||
version = "v${version}";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Generate type-safe code from SQL";
|
||||
homepage = "https://sqlc.dev/";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ aaronjheng ];
|
||||
mainProgram = "sqlc";
|
||||
};
|
||||
}
|
@ -8,11 +8,11 @@
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "stats";
|
||||
version = "2.11.14";
|
||||
version = "2.11.16";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/exelban/stats/releases/download/v${finalAttrs.version}/Stats.dmg";
|
||||
hash = "sha256-JljFHlMcc8kfjGTdGAOP4ot+FqVy0yAJ1kxVO0TawHU=";
|
||||
hash = "sha256-cv2fTb3Xykp5HnBhkGezUwWk2SkHQVMcRjJ8rXJlUrU=";
|
||||
};
|
||||
|
||||
sourceRoot = ".";
|
||||
|
@ -1,12 +1,13 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildBazelPackage
|
||||
, fetchFromGitHub
|
||||
, bazel_6
|
||||
, jdk
|
||||
, bison
|
||||
, flex
|
||||
, python3
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildBazelPackage,
|
||||
fetchFromGitHub,
|
||||
bazel_6,
|
||||
jdk,
|
||||
bison,
|
||||
flex,
|
||||
python3,
|
||||
}:
|
||||
|
||||
let
|
||||
@ -18,17 +19,19 @@ buildBazelPackage rec {
|
||||
# These environment variables are read in bazel/build-version.py to create
|
||||
# a build string shown in the tools --version output.
|
||||
# If env variables not set, it would attempt to extract it from .git/.
|
||||
GIT_DATE = "2024-09-17";
|
||||
GIT_VERSION = "v0.0-3791-g88bf4fb8";
|
||||
GIT_DATE = "2024-10-16";
|
||||
GIT_VERSION = "v0.0-3836-g86ee9bab";
|
||||
|
||||
# Derive nix package version from GIT_VERSION: "v1.2-345-abcde" -> "1.2.345"
|
||||
version = builtins.concatStringsSep "." (lib.take 3 (lib.drop 1 (builtins.splitVersion GIT_VERSION)));
|
||||
version = builtins.concatStringsSep "." (
|
||||
lib.take 3 (lib.drop 1 (builtins.splitVersion GIT_VERSION))
|
||||
);
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "chipsalliance";
|
||||
repo = "verible";
|
||||
rev = "${GIT_VERSION}";
|
||||
hash = "sha256-Na91NpHhPRZ1k82pLQBvEcL8EWi/1imNN3dPNSl65DQ=";
|
||||
repo = "verible";
|
||||
rev = "${GIT_VERSION}";
|
||||
hash = "sha256-hV02x0b/taBqa6kyy3gvm3lomJrXBeelAbxrkC0s6EU=";
|
||||
};
|
||||
|
||||
bazel = bazel_6;
|
||||
@ -41,9 +44,9 @@ buildBazelPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
jdk # bazel uses that.
|
||||
bison # We use local flex and bison as WORKSPACE sources fail
|
||||
flex # .. to compile with newer glibc
|
||||
jdk # bazel uses that.
|
||||
bison # We use local flex and bison as WORKSPACE sources fail
|
||||
flex # .. to compile with newer glibc
|
||||
python3
|
||||
];
|
||||
|
||||
@ -90,7 +93,10 @@ buildBazelPackage rec {
|
||||
description = "Suite of SystemVerilog developer tools. Including a style-linter, indexer, formatter, and language server";
|
||||
homepage = "https://github.com/chipsalliance/verible";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ hzeller newam ];
|
||||
maintainers = with maintainers; [
|
||||
hzeller
|
||||
newam
|
||||
];
|
||||
# Platforms linux only currently; some LIBTOOL issue on Darwin w/ bazel
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
|
@ -9,9 +9,9 @@
|
||||
stdenv,
|
||||
curl,
|
||||
darwin,
|
||||
version ? "0.2.93",
|
||||
hash ? "sha256-DDdu5mM3gneraM85pAepBXWn3TMofarVR4NbjMdz3r0=",
|
||||
cargoHash ? "sha256-birrg+XABBHHKJxfTKAMSlmTVYLmnmqMDfRnmG6g/YQ=",
|
||||
version ? "0.2.95",
|
||||
hash ? "sha256-prMIreQeAcbJ8/g3+pMp1Wp9H5u+xLqxRxL+34hICss=",
|
||||
cargoHash ? "sha256-6iMebkD7FQvixlmghGGIvpdGwFNLfnUcFke/Rg8nPK4=",
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
|
64
pkgs/by-name/we/wealthfolio/package.nix
Normal file
64
pkgs/by-name/we/wealthfolio/package.nix
Normal file
@ -0,0 +1,64 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cargo-tauri,
|
||||
libsoup,
|
||||
nodejs,
|
||||
openssl,
|
||||
pkg-config,
|
||||
pnpm,
|
||||
rustPlatform,
|
||||
webkitgtk_4_0,
|
||||
wrapGAppsHook3,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "wealthfolio";
|
||||
version = "1.0.18";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "afadil";
|
||||
repo = "wealthfolio";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-AH0bwzsnGaGE82Ds1pDeZkVY2GXEB7RqHYw+WAt69/4=";
|
||||
};
|
||||
|
||||
pnpmDeps = pnpm.fetchDeps {
|
||||
inherit (finalAttrs) src pname version;
|
||||
hash = "sha256-OpQg/ZZ4M2vszMZeCJAKzqGduxexZfIVe3Jy/hG3Yu0=";
|
||||
};
|
||||
|
||||
cargoRoot = "src-tauri";
|
||||
buildAndTestSubdir = finalAttrs.cargoRoot;
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit (finalAttrs) pname version src;
|
||||
sourceRoot = "${finalAttrs.src.name}/${finalAttrs.cargoRoot}";
|
||||
hash = "sha256-jbdshb+Kjnh/yKQlCVaYT3/RQ6Zyo2dm72EToLsbqxc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cargo-tauri.hook
|
||||
nodejs
|
||||
pkg-config
|
||||
pnpm.configHook
|
||||
rustPlatform.cargoSetupHook
|
||||
wrapGAppsHook3
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libsoup
|
||||
openssl
|
||||
webkitgtk_4_0
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "A Beautiful Private and Secure Desktop Investment Tracking Application";
|
||||
homepage = "https://wealthfolio.app/";
|
||||
license = lib.licenses.agpl3Only;
|
||||
mainProgram = "wealthfolio";
|
||||
maintainers = with lib.maintainers; [ kilianar ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
@ -13,13 +13,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xschem";
|
||||
version = "3.4.4";
|
||||
version = "3.4.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "StefanSchippers";
|
||||
repo = "xschem";
|
||||
rev = version;
|
||||
sha256 = "sha256-1jP1SJeq23XNkOQgcl2X+rBrlka4a04irmfhoKRM1j4=";
|
||||
hash = "sha256-+ygwHkQOXmkoNgcuofwuaZcpYTAV6sOmvO4xeE+8DXE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ bison flex pkg-config ];
|
@ -6,13 +6,13 @@
|
||||
}:
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "ytdl-sub";
|
||||
version = "2024.10.26";
|
||||
version = "2024.10.27.post5";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "ytdl_sub";
|
||||
hash = "sha256-qfEPHhCB/Avl+nUIk2+ZVseg8ATP/LQmLvX/H9rhp7M=";
|
||||
hash = "sha256-NVIQOoRAyiFtc83r7z7DfDiIdWIPmUwylNzG3KSyOXw=";
|
||||
};
|
||||
|
||||
build-system = with python3Packages; [
|
||||
|
@ -6,13 +6,13 @@
|
||||
|
||||
stdenvNoCC.mkDerivation (self: {
|
||||
pname = "alacritty-theme";
|
||||
version = "0-unstable-2024-09-27";
|
||||
version = "0-unstable-2024-10-24";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alacritty";
|
||||
repo = "alacritty-theme";
|
||||
rev = "90a8406beb095fdb1617135a98c38df1ef08859c";
|
||||
hash = "sha256-Uav3hn2HxwtpOWdGt8WDCqTR0erxXWF6Wxkcltru1Yw=";
|
||||
rev = "c424c57c8a2b6a62b6602d61ebfbc7e50f2c81d8";
|
||||
hash = "sha256-KdjysVDs4oGU9gQwkW36aHmK30KiCdVNiREJOAETxNw=";
|
||||
};
|
||||
|
||||
dontConfigure = true;
|
||||
|
@ -86,7 +86,7 @@ in stdenv.mkDerivation {
|
||||
homepage = "http://smlnj.org";
|
||||
license = licenses.bsd3;
|
||||
platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" ];
|
||||
maintainers = with maintainers; [ thoughtpolice ];
|
||||
maintainers = with maintainers; [ skyesoss thoughtpolice ];
|
||||
mainProgram = "sml";
|
||||
# never built on x86_64-darwin since first introduction in nixpkgs
|
||||
broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64;
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "armadillo";
|
||||
version = "14.0.0";
|
||||
version = "14.0.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/arma/armadillo-${version}.tar.xz";
|
||||
hash = "sha256-ijWGszJ35tvDyPJ/T/9SIxwsb3YUGRwZDGb7m3i6mLU=";
|
||||
hash = "sha256-69YhXusB7kEv7QeMip9/h9Th9hh+vNwbwJ9GCVpPQAM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
@ -9,13 +9,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "drogon";
|
||||
version = "1.9.7";
|
||||
version = "1.9.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "drogonframework";
|
||||
repo = "drogon";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-YmN02OvCllxADAIicWKaTevrbAsP/ZbnhBd/hjqqz7A=";
|
||||
hash = "sha256-vQ9d3l++waYTYt+bvt/ShatBVxTfA7LmYIXV5VSraNQ=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
@ -2515,14 +2515,14 @@ buildLuarocksPackage {
|
||||
lze = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }:
|
||||
buildLuarocksPackage {
|
||||
pname = "lze";
|
||||
version = "0.1.1-1";
|
||||
version = "0.1.3-1";
|
||||
knownRockspec = (fetchurl {
|
||||
url = "mirror://luarocks/lze-0.1.1-1.rockspec";
|
||||
sha256 = "0rih9kgx846qhp1fmsqlnp8y08kv4hp8gl9dwykz4zr0zljy94j3";
|
||||
url = "mirror://luarocks/lze-0.1.3-1.rockspec";
|
||||
sha256 = "0dmbkx3z5syqcsmjbiy4s55hcq5fi3nw0rcnyflffnl2i379a3rd";
|
||||
}).outPath;
|
||||
src = fetchzip {
|
||||
url = "https://github.com/BirdeeHub/lze/archive/v0.1.1.zip";
|
||||
sha256 = "1s6n61jabsv94s37xd5g0y7fxhficc4rwsklgsmzajravpgy60a8";
|
||||
url = "https://github.com/BirdeeHub/lze/archive/v0.1.3.zip";
|
||||
sha256 = "0g7acfhx0klf47f6zswnzx81j7hf0p1f9l1lh4k57ss9c22fsvby";
|
||||
};
|
||||
|
||||
disabled = luaOlder "5.1";
|
||||
|
56
pkgs/development/python-modules/dmgbuild/default.nix
Normal file
56
pkgs/development/python-modules/dmgbuild/default.nix
Normal file
@ -0,0 +1,56 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
ds-store,
|
||||
importlib-resources,
|
||||
mac-alias,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dmgbuild";
|
||||
version = "1.6.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dmgbuild";
|
||||
repo = "dmgbuild";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-PozYxmXumFnptIgb4FM4b/Q5tx0MIS2bVw2kCuGucA8=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# relax all deps
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "==" ">="
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
ds-store
|
||||
importlib-resources
|
||||
mac-alias
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"dmgbuild"
|
||||
];
|
||||
|
||||
# require permissions to access TextEditor.app
|
||||
# https://github.com/dmgbuild/dmgbuild/blob/refs/tags/v1.6.2/tests/examples/settings.py#L17
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "MacOS command line utility to build disk images";
|
||||
homepage = "https://github.com/dmgbuild/dmgbuild";
|
||||
changelog = "https://github.com/dmgbuild/dmgbuild/releases/tag/v${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ moraxyc ];
|
||||
mainProgram = "dmgbuild";
|
||||
platforms = lib.platforms.darwin;
|
||||
};
|
||||
}
|
@ -54,7 +54,7 @@ let
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
pname = "ifcopenshell";
|
||||
version = "0.7.10";
|
||||
version = "0.8.0";
|
||||
pyproject = false;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
@ -62,7 +62,7 @@ buildPythonPackage rec {
|
||||
repo = "IfcOpenShell";
|
||||
rev = "refs/tags/ifcopenshell-python-${version}";
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-cRzv07T5VN5aTjMtAlLGbvI3c4SL0lfzCn/W6f/vdBY=";
|
||||
hash = "sha256-tnj14lBEkUZNDM9J1sRhNA7OkWTWa5JPTSF8hui3q7k=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "langgraph-checkpoint-postgres";
|
||||
version = "2.0.0";
|
||||
version = "2.0.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
@ -27,7 +27,7 @@ buildPythonPackage rec {
|
||||
owner = "langchain-ai";
|
||||
repo = "langgraph";
|
||||
rev = "refs/tags/checkpointpostgres==${version}";
|
||||
hash = "sha256-piBWr6F1YWML9D8+Bk4KvReQJhgb1Z7Xf5q8bcVUeEQ=";
|
||||
hash = "sha256-5gKgCd0hl2iPLBfh94n8kMojECknhd0r+W4gt3m4g+M=";
|
||||
};
|
||||
|
||||
postgresqlTestSetupPost = ''
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "langgraph-checkpoint";
|
||||
version = "2.0.0";
|
||||
version = "2.0.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
owner = "langchain-ai";
|
||||
repo = "langgraph";
|
||||
rev = "refs/tags/checkpoint==${version}";
|
||||
hash = "sha256-LBIQyDWKmT89OgYUk3LFIZ5VDXX9KQXFkR9A8XHOCBQ=";
|
||||
hash = "sha256-BDuc6PpziOFIsPpDets7OM2Z+VJ6ekxKpkAuoavDdmI=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/libs/checkpoint";
|
||||
|
@ -40,12 +40,11 @@ buildPythonPackage rec {
|
||||
pythonImportsCheck = [ "langgraph_sdk" ];
|
||||
|
||||
passthru = {
|
||||
# python3Packages.langgraph-sdk depends on python3Packages.langgraph. langgraph-cli is independent of both.
|
||||
updateScript = writeScript "update.sh" ''
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p nix-update
|
||||
|
||||
set -eu -o pipefail
|
||||
set -eu -o pipefail +e
|
||||
nix-update --commit --version-regex '(.*)' python3Packages.langgraph
|
||||
nix-update --commit --version-regex 'sdk==(.*)' python3Packages.langgraph-sdk
|
||||
nix-update --commit --version-regex 'checkpoint==(.*)' python3Packages.langgraph-checkpoint
|
||||
|
@ -10,6 +10,7 @@
|
||||
# dependencies
|
||||
langchain-core,
|
||||
langgraph-checkpoint,
|
||||
langgraph-sdk,
|
||||
|
||||
# tests
|
||||
aiosqlite,
|
||||
@ -29,21 +30,18 @@
|
||||
syrupy,
|
||||
postgresql,
|
||||
postgresqlTestHook,
|
||||
|
||||
# passthru
|
||||
langgraph-sdk,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "langgraph";
|
||||
version = "0.2.34";
|
||||
version = "0.2.39";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langgraph";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-5Suyj6pEslgR383MkYGGz7IC2A0A++02YooZmi8YtyM=";
|
||||
hash = "sha256-VZRGlE3MSOzur1TWC6swQjf/o5M62LsYncx2g8dtS+o=";
|
||||
};
|
||||
|
||||
postgresqlTestSetupPost = ''
|
||||
@ -58,6 +56,7 @@ buildPythonPackage rec {
|
||||
dependencies = [
|
||||
langchain-core
|
||||
langgraph-checkpoint
|
||||
langgraph-sdk
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "langgraph" ];
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mkdocs-swagger-ui-tag";
|
||||
version = "0.6.10";
|
||||
version = "0.6.11";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
owner = "Blueswen";
|
||||
repo = "mkdocs-swagger-ui-tag";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Wfctu8rqj2HxPgXYMeL5Hovet8yjol7RfLH233Gl+v4=";
|
||||
hash = "sha256-hxf7onjH26QsdB19r71NSC/67u+pEYdJo3e4OvWGgtI=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "peft";
|
||||
version = "0.13.0";
|
||||
version = "0.13.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
owner = "huggingface";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-LvAZrMEHzaQie641Xk7vsYRdHfq4eRP0Sr8ancRpW58=";
|
||||
hash = "sha256-LKVrkNFY5Ar5Zl1q3heU+Z0ZKNnMz7VBR/WLrYkAg6Y=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
53
pkgs/development/python-modules/pepit/default.nix
Normal file
53
pkgs/development/python-modules/pepit/default.nix
Normal file
@ -0,0 +1,53 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
cvxpy,
|
||||
numpy,
|
||||
pandas,
|
||||
scipy,
|
||||
matplotlib,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pepit";
|
||||
version = "0.3.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "PerformanceEstimation";
|
||||
repo = "PEPit";
|
||||
rev = version;
|
||||
hash = "sha256-Gdymdfi0Iv9KXBNSbAEWGYIQ4k5EONnbyWs+99L5D/A=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
cvxpy
|
||||
numpy
|
||||
pandas
|
||||
scipy
|
||||
matplotlib
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"PEPit"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Performance Estimation in Python";
|
||||
changelog = "https://pepit.readthedocs.io/en/latest/whatsnew/${version}.html";
|
||||
homepage = "https://pepit.readthedocs.io/";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ wegank ];
|
||||
};
|
||||
}
|
@ -12,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pychromecast";
|
||||
version = "14.0.4";
|
||||
version = "14.0.5";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
src = fetchPypi {
|
||||
pname = "PyChromecast";
|
||||
inherit version;
|
||||
hash = "sha256-H8BdY9sVL+b3Hv3ud9FCKNxMVemdc03kdXRVgAsfO6Q=";
|
||||
hash = "sha256-qGce5OpKcJXi4GcOIhUUXsHj4KoHN/901kiuTcJosrE=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyexploitdb";
|
||||
version = "0.2.40";
|
||||
version = "0.2.41";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
src = fetchPypi {
|
||||
pname = "pyExploitDb";
|
||||
inherit version;
|
||||
hash = "sha256-3o4KnWau2Sxkj18ZoY6EsSszm0Z0Z1Gz/KWr1ZH7FTs=";
|
||||
hash = "sha256-QwMD7V1BSmFBZ7mazo7TnuZijm8MC/M/oKMV4nh1v5A=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
@ -4,6 +4,7 @@
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
isPy27,
|
||||
setuptools,
|
||||
cffi,
|
||||
numpy,
|
||||
portaudio,
|
||||
@ -12,21 +13,25 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sounddevice";
|
||||
version = "0.5.0";
|
||||
format = "setuptools";
|
||||
version = "0.5.1";
|
||||
pyproject = true;
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-DelSd2VLPUA9nBXe08bO3zB+myfMnOe9mVookdDJVa8=";
|
||||
hash = "sha256-CcqZHa7ajOS+mskeFamoHI+B76a2laNIyRceoMFssEE=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
cffi
|
||||
numpy
|
||||
portaudio
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cffi ];
|
||||
|
||||
# No tests included nor upstream available.
|
||||
doCheck = false;
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user