Merge master into haskell-updates
This commit is contained in:
commit
c2791e85de
|
@ -14494,6 +14494,12 @@
|
||||||
github = "pbsds";
|
github = "pbsds";
|
||||||
githubId = 140964;
|
githubId = 140964;
|
||||||
};
|
};
|
||||||
|
pca006132 = {
|
||||||
|
name = "pca006132";
|
||||||
|
email = "john.lck40@gmail.com";
|
||||||
|
github = "pca006132";
|
||||||
|
githubId = 12198657;
|
||||||
|
};
|
||||||
pcarrier = {
|
pcarrier = {
|
||||||
email = "pc@rrier.ca";
|
email = "pc@rrier.ca";
|
||||||
github = "pcarrier";
|
github = "pcarrier";
|
||||||
|
@ -16114,7 +16120,7 @@
|
||||||
name = "Robert Walter";
|
name = "Robert Walter";
|
||||||
};
|
};
|
||||||
roconnor = {
|
roconnor = {
|
||||||
email = "roconnor@theorem.ca";
|
email = "roconnor@r6.ca";
|
||||||
github = "roconnor";
|
github = "roconnor";
|
||||||
githubId = 852967;
|
githubId = 852967;
|
||||||
name = "Russell O'Connor";
|
name = "Russell O'Connor";
|
||||||
|
@ -20437,6 +20443,16 @@
|
||||||
githubId = 13489144;
|
githubId = 13489144;
|
||||||
name = "Calle Rosenquist";
|
name = "Calle Rosenquist";
|
||||||
};
|
};
|
||||||
|
xddxdd = {
|
||||||
|
email = "b980120@hotmail.com";
|
||||||
|
github = "xddxdd";
|
||||||
|
githubId = 5778879;
|
||||||
|
keys = [
|
||||||
|
{ fingerprint = "2306 7C13 B6AE BDD7 C0BB 5673 27F3 1700 E751 EC22"; }
|
||||||
|
{ fingerprint = "B195 E8FB 873E 6020 DCD1 C0C6 B50E C319 385F CB0D"; }
|
||||||
|
];
|
||||||
|
name = "Yuhui Xu";
|
||||||
|
};
|
||||||
xdhampus = {
|
xdhampus = {
|
||||||
name = "Hampus";
|
name = "Hampus";
|
||||||
github = "xdHampus";
|
github = "xdHampus";
|
||||||
|
|
85
maintainers/scripts/bootstrap-files/README.md
Normal file
85
maintainers/scripts/bootstrap-files/README.md
Normal file
|
@ -0,0 +1,85 @@
|
||||||
|
# Bootstrap files
|
||||||
|
|
||||||
|
Currently `nixpkgs` builds most of it's packages using bootstrap seed
|
||||||
|
binaries (without the reliance on external inputs):
|
||||||
|
|
||||||
|
- `bootstrap-tools`: an archive with the compiler toolchain and other
|
||||||
|
helper tools enough to build the rest of the `nixpkgs`.
|
||||||
|
- initial binaries needed to unpack `bootstrap-tools.*`. On `linux`
|
||||||
|
it's just `busybox`, on `darwin` it's `sh`, `bzip2`, `mkdir` and
|
||||||
|
`cpio`. These binaries can be executed directly from the store.
|
||||||
|
|
||||||
|
These are called "bootstrap files".
|
||||||
|
|
||||||
|
Bootstrap files should always be fetched from hydra and uploaded to
|
||||||
|
`tarballs.nixos.org` to guarantee that all the binaries were built from
|
||||||
|
the code committed into `nixpkgs` repository.
|
||||||
|
|
||||||
|
The uploads to `tarballs.nixos.org` are done by `@lovesegfault` today.
|
||||||
|
|
||||||
|
This document describes the procedure of updating bootstrap files in
|
||||||
|
`nixpkgs`.
|
||||||
|
|
||||||
|
## How to request the bootstrap seed update
|
||||||
|
|
||||||
|
To get the tarballs updated let's use an example `i686-unknown-linux-gnu`
|
||||||
|
target:
|
||||||
|
|
||||||
|
1. Create a local update:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ maintainers/scripts/bootstrap-files/refresh-tarballs.bash --commit --targets=i686-unknown-linux-gnu
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Test the update locally. I'll build local `hello` derivation with
|
||||||
|
the result:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ nix-build -A hello --argstr system i686-linux
|
||||||
|
```
|
||||||
|
|
||||||
|
To validate cross-targets `binfmt` `NixOS` helper can be useful.
|
||||||
|
For `riscv64-unknown-linux-gnu` the `/etc/nixox/configuraqtion.nix`
|
||||||
|
entry would be `boot.binfmt.emulatedSystems = [ "riscv64-linux" ]`.
|
||||||
|
|
||||||
|
3. Propose the commit as a PR to update bootstrap tarballs, tag people
|
||||||
|
who can help you test the updated architecture and once reviewed tag
|
||||||
|
`@lovesegfault` to upload the tarballs.
|
||||||
|
|
||||||
|
## Bootstrap files job definitions
|
||||||
|
|
||||||
|
There are two types of bootstrap files:
|
||||||
|
|
||||||
|
- natively built `stdenvBootstrapTools.build` hydra jobs in
|
||||||
|
[`nixpkgs:trunk`](https://hydra.nixos.org/jobset/nixpkgs/trunk#tabs-jobs)
|
||||||
|
jobset. Incomplete list of examples is:
|
||||||
|
|
||||||
|
* `aarch64-unknown-linux-musl.nix`
|
||||||
|
* `i686-unknown-linux-gnu.nix`
|
||||||
|
|
||||||
|
These are Tier 1 hydra platforms.
|
||||||
|
|
||||||
|
- cross-built by `bootstrapTools.build` hydra jobs in
|
||||||
|
[`nixpkgs:cross-trunk`](https://hydra.nixos.org/jobset/nixpkgs/cross-trunk#tabs-jobs)
|
||||||
|
jobset. Incomplete list of examples is:
|
||||||
|
|
||||||
|
* `mips64el-unknown-linux-gnuabi64.nix`
|
||||||
|
* `mips64el-unknown-linux-gnuabin32.nix`
|
||||||
|
* `mipsel-unknown-linux-gnu.nix`
|
||||||
|
* `powerpc64le-unknown-linux-gnu.nix`
|
||||||
|
* `riscv64-unknown-linux-gnu.nix`
|
||||||
|
|
||||||
|
These are usually Tier 2 and lower targets.
|
||||||
|
|
||||||
|
The `.build` job contains `/on-server/` subdirectory with binaries to
|
||||||
|
be uploaded to `tarballs.nixos.org`.
|
||||||
|
The files are uploaded to `tarballs.nixos.org` by writers to `S3` store.
|
||||||
|
|
||||||
|
## TODOs
|
||||||
|
|
||||||
|
- `pkgs/stdenv/darwin` file layout is slightly different from
|
||||||
|
`pkgs/stdenv/linux`. Once `linux` seed update becomes a routine we can
|
||||||
|
bring `darwin` in sync if it's feasible.
|
||||||
|
- `darwin` definition of `.build` `on-server/` directory layout differs
|
||||||
|
and should be updated.
|
||||||
|
|
282
maintainers/scripts/bootstrap-files/refresh-tarballs.bash
Executable file
282
maintainers/scripts/bootstrap-files/refresh-tarballs.bash
Executable file
|
@ -0,0 +1,282 @@
|
||||||
|
#!/usr/bin/env nix-shell
|
||||||
|
#! nix-shell --pure
|
||||||
|
#! nix-shell -i bash
|
||||||
|
#! nix-shell -p curl cacert
|
||||||
|
#! nix-shell -p git
|
||||||
|
#! nix-shell -p nix
|
||||||
|
#! nix-shell -p jq
|
||||||
|
|
||||||
|
# How the refresher works:
|
||||||
|
#
|
||||||
|
# For a given list of <targets>:
|
||||||
|
# 1. fetch latest successful '.build` job
|
||||||
|
# 2. fetch oldest evaluation that contained that '.build', extract nixpkgs commit
|
||||||
|
# 3. fetch all the `.build` artifacts from '$out/on-server/' directory
|
||||||
|
# 4. calculate hashes and craft the commit message with the details on
|
||||||
|
# how to upload the result to 'tarballs.nixos.org'
|
||||||
|
|
||||||
|
usage() {
|
||||||
|
cat >&2 <<EOF
|
||||||
|
Usage:
|
||||||
|
$0 [ --commit ] --targets=<target>[,<target>,...]
|
||||||
|
|
||||||
|
The tool must be ran from the root directory of 'nixpkgs' repository.
|
||||||
|
|
||||||
|
Synopsis:
|
||||||
|
'refresh-tarballs.bash' script fetches latest bootstrapFiles built
|
||||||
|
by hydra, registers them in 'nixpkgs' and provides commands to
|
||||||
|
upload seed files to 'tarballs.nixos.org'.
|
||||||
|
|
||||||
|
This is usually done in the following cases:
|
||||||
|
|
||||||
|
1. Single target fix: current bootstrap files for a single target
|
||||||
|
are problematic for some reason (target-specific bug). In this
|
||||||
|
case we can refresh just that target as:
|
||||||
|
|
||||||
|
\$ $0 --commit --targets=i686-unknown-linux-gnu
|
||||||
|
|
||||||
|
2. Routine refresh: all bootstrap files should be refreshed to avoid
|
||||||
|
debugging problems that only occur on very old binaries.
|
||||||
|
|
||||||
|
\$ $0 --commit --all-targets
|
||||||
|
|
||||||
|
To get help on uploading refreshed binaries to 'tarballs.nixos.org'
|
||||||
|
please have a look at <maintainers/scripts/bootstrap-files/README.md>.
|
||||||
|
EOF
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
# log helpers
|
||||||
|
|
||||||
|
die() {
|
||||||
|
echo "ERROR: $*" >&2
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
info() {
|
||||||
|
echo "INFO: $*" >&2
|
||||||
|
}
|
||||||
|
|
||||||
|
[[ ${#@} -eq 0 ]] && usage
|
||||||
|
|
||||||
|
# known targets
|
||||||
|
|
||||||
|
NATIVE_TARGETS=(
|
||||||
|
aarch64-unknown-linux-gnu
|
||||||
|
aarch64-unknown-linux-musl
|
||||||
|
i686-unknown-linux-gnu
|
||||||
|
x86_64-unknown-linux-gnu
|
||||||
|
x86_64-unknown-linux-musl
|
||||||
|
|
||||||
|
# TODO: add darwin here once a few prerequisites are satisfied:
|
||||||
|
# - bootstrap-files are factored out into a separate file
|
||||||
|
# - the build artifacts are factored out into an `on-server`
|
||||||
|
# directory. Right onw if does not match `linux` layout.
|
||||||
|
#
|
||||||
|
#aarch64-apple-darwin
|
||||||
|
#x86_64-apple-darwin
|
||||||
|
)
|
||||||
|
|
||||||
|
is_native() {
|
||||||
|
local t target=$1
|
||||||
|
for t in "${NATIVE_TARGETS[@]}"; do
|
||||||
|
[[ $t == $target ]] && return 0
|
||||||
|
done
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
|
||||||
|
CROSS_TARGETS=(
|
||||||
|
armv5tel-unknown-linux-gnueabi
|
||||||
|
armv6l-unknown-linux-gnueabihf
|
||||||
|
armv6l-unknown-linux-musleabihf
|
||||||
|
armv7l-unknown-linux-gnueabihf
|
||||||
|
mips64el-unknown-linux-gnuabi64
|
||||||
|
mips64el-unknown-linux-gnuabin32
|
||||||
|
mipsel-unknown-linux-gnu
|
||||||
|
powerpc64le-unknown-linux-gnu
|
||||||
|
riscv64-unknown-linux-gnu
|
||||||
|
)
|
||||||
|
|
||||||
|
is_cross() {
|
||||||
|
local t target=$1
|
||||||
|
for t in "${CROSS_TARGETS[@]}"; do
|
||||||
|
[[ $t == $target ]] && return 0
|
||||||
|
done
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
|
||||||
|
# collect passed options
|
||||||
|
|
||||||
|
targets=()
|
||||||
|
commit=no
|
||||||
|
|
||||||
|
for arg in "$@"; do
|
||||||
|
case "$arg" in
|
||||||
|
--all-targets)
|
||||||
|
targets+=(
|
||||||
|
${CROSS_TARGETS[@]}
|
||||||
|
${NATIVE_TARGETS[@]}
|
||||||
|
)
|
||||||
|
;;
|
||||||
|
--targets=*)
|
||||||
|
# Convert "--targets=a,b,c" to targets=(a b c) bash array.
|
||||||
|
comma_targets=${arg#--targets=}
|
||||||
|
targets+=(${comma_targets//,/ })
|
||||||
|
;;
|
||||||
|
--commit)
|
||||||
|
commit=yes
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
usage
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
for target in "${targets[@]}"; do
|
||||||
|
# Native and cross jobsets differ a bit. We'll have to pick the
|
||||||
|
# one based on target name:
|
||||||
|
if is_native $target; then
|
||||||
|
jobset=nixpkgs/trunk
|
||||||
|
job="stdenvBootstrapTools.${target}.build"
|
||||||
|
elif is_cross $target; then
|
||||||
|
jobset=nixpkgs/cross-trunk
|
||||||
|
job="bootstrapTools.${target}.build"
|
||||||
|
else
|
||||||
|
die "'$target' is not present in either of 'NATIVE_TARGETS' or 'CROSS_TARGETS'. Please add one."
|
||||||
|
fi
|
||||||
|
|
||||||
|
# 'nixpkgs' prefix where we will write new tarball hashes
|
||||||
|
case "$target" in
|
||||||
|
*linux*) nixpkgs_prefix="pkgs/stdenv/linux" ;;
|
||||||
|
*darwin*) nixpkgs_prefix="pkgs/stdenv/darwin" ;;
|
||||||
|
*) die "don't know where to put '$target'" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# We enforce s3 prefix for all targets here. This slightly differs
|
||||||
|
# from manual uploads targets where names were chosen inconsistently.
|
||||||
|
s3_prefix="stdenv/$target"
|
||||||
|
|
||||||
|
# resolve 'latest' build to the build 'id', construct the link.
|
||||||
|
latest_build_uri="https://hydra.nixos.org/job/$jobset/$job/latest"
|
||||||
|
latest_build="$target.latest-build"
|
||||||
|
info "Fetching latest successful build from '${latest_build_uri}'"
|
||||||
|
curl -s -H "Content-Type: application/json" -L "$latest_build_uri" > "$latest_build"
|
||||||
|
[[ $? -ne 0 ]] && die "Failed to fetch latest successful build"
|
||||||
|
latest_build_id=$(jq '.id' < "$latest_build")
|
||||||
|
[[ $? -ne 0 ]] && die "Did not find 'id' in latest build"
|
||||||
|
build_uri="https://hydra.nixos.org/build/${latest_build_id}"
|
||||||
|
|
||||||
|
# We pick oldest jobset evaluation and extract the 'nicpkgs' commit.
|
||||||
|
#
|
||||||
|
# We use oldest instead of latest to make the result more stable
|
||||||
|
# across unrelated 'nixpkgs' updates. Ideally two subsequent runs of
|
||||||
|
# this refresher should produce the same output (provided there are
|
||||||
|
# no bootstrapTools updates committed between the two runs).
|
||||||
|
oldest_eval_id=$(jq '.jobsetevals|min' < "$latest_build")
|
||||||
|
[[ $? -ne 0 ]] && die "Did not find 'jobsetevals' in latest build"
|
||||||
|
eval_uri="https://hydra.nixos.org/eval/${oldest_eval_id}"
|
||||||
|
eval_meta="$target.eval-meta"
|
||||||
|
info "Fetching oldest eval details from '${eval_uri}' (can take a minute)"
|
||||||
|
curl -s -H "Content-Type: application/json" -L "${eval_uri}" > "$eval_meta"
|
||||||
|
[[ $? -ne 0 ]] && die "Failed to fetch eval metadata"
|
||||||
|
nixpkgs_revision=$(jq --raw-output ".jobsetevalinputs.nixpkgs.revision" < "$eval_meta")
|
||||||
|
[[ $? -ne 0 ]] && die "Failed to fetch revision"
|
||||||
|
|
||||||
|
# Extract the build paths out of the build metadata
|
||||||
|
drvpath=$(jq --raw-output '.drvpath' < "${latest_build}")
|
||||||
|
[[ $? -ne 0 ]] && die "Did not find 'drvpath' in latest build"
|
||||||
|
outpath=$(jq --raw-output '.buildoutputs.out.path' < "${latest_build}")
|
||||||
|
[[ $? -ne 0 ]] && die "Did not find 'buildoutputs' in latest build"
|
||||||
|
build_timestamp=$(jq --raw-output '.timestamp' < "${latest_build}")
|
||||||
|
[[ $? -ne 0 ]] && die "Did not find 'timestamp' in latest build"
|
||||||
|
build_time=$(TZ=UTC LANG=C date --date="@${build_timestamp}" --rfc-email)
|
||||||
|
[[ $? -ne 0 ]] && die "Failed to format timestamp"
|
||||||
|
|
||||||
|
info "Fetching bootstrap tools to calculate hashes from '${outpath}'"
|
||||||
|
nix-store --realize "$outpath"
|
||||||
|
[[ $? -ne 0 ]] && die "Failed to fetch '${outpath}' from hydra"
|
||||||
|
|
||||||
|
fnames=()
|
||||||
|
|
||||||
|
target_file="${nixpkgs_prefix}/bootstrap-files/${target}.nix"
|
||||||
|
info "Writing '${target_file}'"
|
||||||
|
{
|
||||||
|
# header
|
||||||
|
cat <<EOF
|
||||||
|
# Autogenerated by maintainers/scripts/bootstrap-files/refresh-tarballs.bash as:
|
||||||
|
# $ ./refresh-tarballs.bash --targets=${target}
|
||||||
|
#
|
||||||
|
# Metadata:
|
||||||
|
# - nixpkgs revision: ${nixpkgs_revision}
|
||||||
|
# - hydra build: ${latest_build_uri}
|
||||||
|
# - resolved hydra build: ${build_uri}
|
||||||
|
# - instantiated derivation: ${drvpath}
|
||||||
|
# - output directory: ${outpath}
|
||||||
|
# - build time: ${build_time}
|
||||||
|
{
|
||||||
|
EOF
|
||||||
|
for p in "${outpath}/on-server"/*; do
|
||||||
|
fname=$(basename "$p")
|
||||||
|
fnames+=("$fname")
|
||||||
|
case "$fname" in
|
||||||
|
bootstrap-tools.tar.xz) attr=bootstrapTools ;;
|
||||||
|
busybox) attr=$fname ;;
|
||||||
|
*) die "Don't know how to map '$fname' to attribute name. Please update me."
|
||||||
|
esac
|
||||||
|
|
||||||
|
executable_arg=
|
||||||
|
executable_nix=
|
||||||
|
if [[ -x "$p" ]]; then
|
||||||
|
executable_arg="--executable"
|
||||||
|
executable_nix=" executable = true;"
|
||||||
|
fi
|
||||||
|
sha256=$(nix-prefetch-url $executable_arg --name "$fname" "file://$p")
|
||||||
|
[[ $? -ne 0 ]] && die "Failed to get the hash for '$p'"
|
||||||
|
sri=$(nix-hash --to-sri "sha256:$sha256")
|
||||||
|
[[ $? -ne 0 ]] && die "Failed to convert '$sha256' hash to an SRI form"
|
||||||
|
|
||||||
|
# individual file entries
|
||||||
|
cat <<EOF
|
||||||
|
$attr = import <nix/fetchurl.nix> {
|
||||||
|
url = "http://tarballs.nixos.org/${s3_prefix}/${nixpkgs_revision}/$fname";
|
||||||
|
hash = "${sri}";$(printf "\n%s" "${executable_nix}")
|
||||||
|
};
|
||||||
|
EOF
|
||||||
|
done
|
||||||
|
# footer
|
||||||
|
cat <<EOF
|
||||||
|
}
|
||||||
|
EOF
|
||||||
|
} > "${target_file}"
|
||||||
|
|
||||||
|
target_file_commit_msg=${target}.commit_message
|
||||||
|
cat > "$target_file_commit_msg" <<EOF
|
||||||
|
${nixpkgs_prefix}: update ${target} bootstrap-files
|
||||||
|
|
||||||
|
sha256sum of files to be uploaded:
|
||||||
|
|
||||||
|
$(
|
||||||
|
echo "$ sha256sum ${outpath}/on-server/*"
|
||||||
|
sha256sum ${outpath}/on-server/*
|
||||||
|
)
|
||||||
|
|
||||||
|
Suggested commands to upload files to 'tarballs.nixos.org':
|
||||||
|
|
||||||
|
$ nix-store --realize ${outpath}
|
||||||
|
$ aws s3 cp --recursive --acl public-read ${outpath}/on-server/ s3://nixpkgs-tarballs/${s3_prefix}/${nixpkgs_revision}
|
||||||
|
$ aws s3 cp --recursive s3://nixpkgs-tarballs/${s3_prefix}/${nixpkgs_revision} ./
|
||||||
|
$ sha256sum ${fnames[*]}
|
||||||
|
$ sha256sum ${outpath}/on-server/*
|
||||||
|
EOF
|
||||||
|
|
||||||
|
cat "$target_file_commit_msg"
|
||||||
|
if [[ $commit == yes ]]; then
|
||||||
|
git commit "${target_file}" -F "$target_file_commit_msg"
|
||||||
|
else
|
||||||
|
info "DRY RUN: git commit ${target_file} -F $target_file_commit_msg"
|
||||||
|
fi
|
||||||
|
rm -- "$target_file_commit_msg"
|
||||||
|
|
||||||
|
# delete temp files
|
||||||
|
rm -- "$latest_build" "$eval_meta"
|
||||||
|
done
|
|
@ -112,6 +112,8 @@ The pre-existing [services.ankisyncd](#opt-services.ankisyncd.enable) has been m
|
||||||
release notes of [v19](https://github.com/systemd/mkosi/releases/tag/v19) and
|
release notes of [v19](https://github.com/systemd/mkosi/releases/tag/v19) and
|
||||||
[v20](https://github.com/systemd/mkosi/releases/tag/v20) for a list of changes.
|
[v20](https://github.com/systemd/mkosi/releases/tag/v20) for a list of changes.
|
||||||
|
|
||||||
|
- The `woodpecker-*` packages have been updated to v2 which includes [breaking changes](https://woodpecker-ci.org/docs/next/migrations#200).
|
||||||
|
|
||||||
- `services.nginx` will no longer advertise HTTP/3 availability automatically. This must now be manually added, preferably to each location block.
|
- `services.nginx` will no longer advertise HTTP/3 availability automatically. This must now be manually added, preferably to each location block.
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
|
|
@ -39,14 +39,17 @@ with lib;
|
||||||
security.apparmor.killUnconfinedConfinables = mkDefault true;
|
security.apparmor.killUnconfinedConfinables = mkDefault true;
|
||||||
|
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
# Slab/slub sanity checks, redzoning, and poisoning
|
# Don't merge slabs
|
||||||
"slub_debug=FZP"
|
"slab_nomerge"
|
||||||
|
|
||||||
# Overwrite free'd memory
|
# Overwrite free'd pages
|
||||||
"page_poison=1"
|
"page_poison=1"
|
||||||
|
|
||||||
# Enable page allocator randomization
|
# Enable page allocator randomization
|
||||||
"page_alloc.shuffle=1"
|
"page_alloc.shuffle=1"
|
||||||
|
|
||||||
|
# Disable debugfs
|
||||||
|
"debugfs=off"
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.blacklistedKernelModules = [
|
boot.blacklistedKernelModules = [
|
||||||
|
|
|
@ -299,10 +299,7 @@ in
|
||||||
fi
|
fi
|
||||||
'' + optionalString (cfg.database.passwordFile != null) ''
|
'' + optionalString (cfg.database.passwordFile != null) ''
|
||||||
# create a copy of the supplied password file in a format zabbix can consume
|
# create a copy of the supplied password file in a format zabbix can consume
|
||||||
touch ${passwordFile}
|
install -m 0600 <(echo "DBPassword = $(cat ${cfg.database.passwordFile})") ${passwordFile}
|
||||||
chmod 0600 ${passwordFile}
|
|
||||||
echo -n "DBPassword = " > ${passwordFile}
|
|
||||||
cat ${cfg.database.passwordFile} >> ${passwordFile}
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
|
|
|
@ -292,10 +292,7 @@ in
|
||||||
fi
|
fi
|
||||||
'' + optionalString (cfg.database.passwordFile != null) ''
|
'' + optionalString (cfg.database.passwordFile != null) ''
|
||||||
# create a copy of the supplied password file in a format zabbix can consume
|
# create a copy of the supplied password file in a format zabbix can consume
|
||||||
touch ${passwordFile}
|
install -m 0600 <(echo "DBPassword = $(cat ${cfg.database.passwordFile})") ${passwordFile}
|
||||||
chmod 0600 ${passwordFile}
|
|
||||||
echo -n "DBPassword = " > ${passwordFile}
|
|
||||||
cat ${cfg.database.passwordFile} >> ${passwordFile}
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
|
|
|
@ -277,42 +277,42 @@ in {
|
||||||
BITWARDENCLI_CONNECTOR_PLAINTEXT_SECRETS = "true";
|
BITWARDENCLI_CONNECTOR_PLAINTEXT_SECRETS = "true";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
preStart = ''
|
||||||
|
set -eo pipefail
|
||||||
|
|
||||||
|
# create the config file
|
||||||
|
${lib.getExe cfg.package} data-file
|
||||||
|
touch /tmp/data.json.tmp
|
||||||
|
chmod 600 /tmp/data.json{,.tmp}
|
||||||
|
|
||||||
|
${lib.getExe cfg.package} config server ${cfg.domain}
|
||||||
|
|
||||||
|
# now login to set credentials
|
||||||
|
export BW_CLIENTID="$(< ${escapeShellArg cfg.secrets.bitwarden.client_path_id})"
|
||||||
|
export BW_CLIENTSECRET="$(< ${escapeShellArg cfg.secrets.bitwarden.client_path_secret})"
|
||||||
|
${lib.getExe cfg.package} login
|
||||||
|
|
||||||
|
jq '.authenticatedAccounts[0] as $account
|
||||||
|
| .[$account].directoryConfigurations.ldap |= $ldap_data
|
||||||
|
| .[$account].directorySettings.organizationId |= $orgID
|
||||||
|
| .[$account].directorySettings.sync |= $sync_data' \
|
||||||
|
--argjson ldap_data ${escapeShellArg cfg.ldap.finalJSON} \
|
||||||
|
--arg orgID "''${BW_CLIENTID//organization.}" \
|
||||||
|
--argjson sync_data ${escapeShellArg cfg.sync.finalJSON} \
|
||||||
|
/tmp/data.json \
|
||||||
|
> /tmp/data.json.tmp
|
||||||
|
|
||||||
|
mv -f /tmp/data.json.tmp /tmp/data.json
|
||||||
|
|
||||||
|
# final config
|
||||||
|
${lib.getExe cfg.package} config directory 0
|
||||||
|
${lib.getExe cfg.package} config ldap.password --secretfile ${cfg.secrets.ldap}
|
||||||
|
'';
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
User = "${cfg.user}";
|
User = "${cfg.user}";
|
||||||
PrivateTmp = true;
|
PrivateTmp = true;
|
||||||
preStart = ''
|
|
||||||
set -eo pipefail
|
|
||||||
|
|
||||||
# create the config file
|
|
||||||
${lib.getExe cfg.package} data-file
|
|
||||||
touch /tmp/data.json.tmp
|
|
||||||
chmod 600 /tmp/data.json{,.tmp}
|
|
||||||
|
|
||||||
${lib.getExe cfg.package} config server ${cfg.domain}
|
|
||||||
|
|
||||||
# now login to set credentials
|
|
||||||
export BW_CLIENTID="$(< ${escapeShellArg cfg.secrets.bitwarden.client_path_id})"
|
|
||||||
export BW_CLIENTSECRET="$(< ${escapeShellArg cfg.secrets.bitwarden.client_path_secret})"
|
|
||||||
${lib.getExe cfg.package} login
|
|
||||||
|
|
||||||
jq '.authenticatedAccounts[0] as $account
|
|
||||||
| .[$account].directoryConfigurations.ldap |= $ldap_data
|
|
||||||
| .[$account].directorySettings.organizationId |= $orgID
|
|
||||||
| .[$account].directorySettings.sync |= $sync_data' \
|
|
||||||
--argjson ldap_data ${escapeShellArg cfg.ldap.finalJSON} \
|
|
||||||
--arg orgID "''${BW_CLIENTID//organization.}" \
|
|
||||||
--argjson sync_data ${escapeShellArg cfg.sync.finalJSON} \
|
|
||||||
/tmp/data.json \
|
|
||||||
> /tmp/data.json.tmp
|
|
||||||
|
|
||||||
mv -f /tmp/data.json.tmp /tmp/data.json
|
|
||||||
|
|
||||||
# final config
|
|
||||||
${lib.getExe cfg.package} config directory 0
|
|
||||||
${lib.getExe cfg.package} config ldap.password --secretfile ${cfg.secrets.ldap}
|
|
||||||
'';
|
|
||||||
|
|
||||||
ExecStart = "${lib.getExe cfg.package} sync";
|
ExecStart = "${lib.getExe cfg.package} sync";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -204,7 +204,6 @@ in
|
||||||
};
|
};
|
||||||
"/" = {
|
"/" = {
|
||||||
# mixed frontend and backend requests, based on the request headers
|
# mixed frontend and backend requests, based on the request headers
|
||||||
proxyPass = "$proxpass";
|
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
set $proxpass "${ui}";
|
set $proxpass "${ui}";
|
||||||
|
@ -220,6 +219,8 @@ in
|
||||||
|
|
||||||
# Cuts off the trailing slash on URLs to make them valid
|
# Cuts off the trailing slash on URLs to make them valid
|
||||||
rewrite ^(.+)/+$ $1 permanent;
|
rewrite ^(.+)/+$ $1 permanent;
|
||||||
|
|
||||||
|
proxy_pass $proxpass;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -133,6 +133,7 @@ let
|
||||||
RestartSec = 20;
|
RestartSec = 20;
|
||||||
EnvironmentFile = [ "/var/lib/mastodon/.secrets_env" ] ++ cfg.extraEnvFiles;
|
EnvironmentFile = [ "/var/lib/mastodon/.secrets_env" ] ++ cfg.extraEnvFiles;
|
||||||
WorkingDirectory = cfg.package;
|
WorkingDirectory = cfg.package;
|
||||||
|
LimitNOFILE = "1024000";
|
||||||
# System Call Filtering
|
# System Call Filtering
|
||||||
SystemCallFilter = [ ("~" + lib.concatStringsSep " " systemCallsList) "@chown" "pipe" "pipe2" ];
|
SystemCallFilter = [ ("~" + lib.concatStringsSep " " systemCallsList) "@chown" "pipe" "pipe2" ];
|
||||||
} // cfgService;
|
} // cfgService;
|
||||||
|
|
|
@ -147,7 +147,7 @@ in
|
||||||
name = "zope2-${name}-env";
|
name = "zope2-${name}-env";
|
||||||
paths = [
|
paths = [
|
||||||
pkgs.python27
|
pkgs.python27
|
||||||
pkgs.python27Packages.recursivePthLoader
|
pkgs.python27Packages.recursive-pth-loader
|
||||||
pkgs.python27Packages."plone.recipe.zope2instance"
|
pkgs.python27Packages."plone.recipe.zope2instance"
|
||||||
] ++ attrValues pkgs.python27.modules
|
] ++ attrValues pkgs.python27.modules
|
||||||
++ opts.packages;
|
++ opts.packages;
|
||||||
|
|
|
@ -57,6 +57,7 @@ let
|
||||||
"systemd-ask-password-console.service"
|
"systemd-ask-password-console.service"
|
||||||
"systemd-fsck@.service"
|
"systemd-fsck@.service"
|
||||||
"systemd-halt.service"
|
"systemd-halt.service"
|
||||||
|
"systemd-hibernate-resume.service"
|
||||||
"systemd-journald-audit.socket"
|
"systemd-journald-audit.socket"
|
||||||
"systemd-journald-dev-log.socket"
|
"systemd-journald-dev-log.socket"
|
||||||
"systemd-journald.service"
|
"systemd-journald.service"
|
||||||
|
|
|
@ -14,11 +14,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "roomeqwizard";
|
pname = "roomeqwizard";
|
||||||
version = "5.30.4";
|
version = "5.30.5";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.roomeqwizard.com/installers/REW_linux_no_jre_${lib.replaceStrings [ "." ] [ "_" ] version}.sh";
|
url = "https://www.roomeqwizard.com/installers/REW_linux_no_jre_${lib.replaceStrings [ "." ] [ "_" ] version}.sh";
|
||||||
sha256 = "sha256-585xfNzhWFdtNS4E5BE84zjkWDr/p1Nu9CJ3nTJc7dw=";
|
sha256 = "sha256-lxOI6vvPFtC/oYs2cKV0IhRbvaFzK8wBmSXPUwhAsi0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
|
|
|
@ -40,13 +40,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "sonic-pi";
|
pname = "sonic-pi";
|
||||||
version = "4.4.0";
|
version = "4.5.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sonic-pi-net";
|
owner = "sonic-pi-net";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-rXMCaI9zvWIXmT7ZqIArsvZmEkEEbs+5jYDYsSGeCXc=";
|
hash = "sha256-s9B3OBwiUdCJyxbeQXeidv38pzmvC442Byl+llabqp0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
mixFodDeps = beamPackages.fetchMixDeps {
|
mixFodDeps = beamPackages.fetchMixDeps {
|
||||||
|
@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
|
||||||
pname = "mix-deps-${pname}";
|
pname = "mix-deps-${pname}";
|
||||||
mixEnv = "test";
|
mixEnv = "test";
|
||||||
src = "${src}/app/server/beam/tau";
|
src = "${src}/app/server/beam/tau";
|
||||||
hash = "sha256-YbYe+hljnoWFgV72OQ2YaUcnhucEtVb+TCLcMYzqUWU=";
|
hash = "sha256-7wqFI3f0CRVrXK2IUguqHNANwKMmTak/Xh9nr624TXc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ergo";
|
pname = "ergo";
|
||||||
version = "5.0.18";
|
version = "5.0.19";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/ergoplatform/ergo/releases/download/v${version}/ergo-${version}.jar";
|
url = "https://github.com/ergoplatform/ergo/releases/download/v${version}/ergo-${version}.jar";
|
||||||
sha256 = "sha256-WwchK7qyy+J7TiWj4exBMLGkLmbPFDA7yNQVZ779nmk=";
|
sha256 = "sha256-ogr2tdXVQcUOE26PGsYeAGi8+5zbM5m/BVuHxemVNGM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
|
@ -16,18 +16,18 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "2.8";
|
version = "2.8.1";
|
||||||
craftos2-lua = fetchFromGitHub {
|
craftos2-lua = fetchFromGitHub {
|
||||||
owner = "MCJack123";
|
owner = "MCJack123";
|
||||||
repo = "craftos2-lua";
|
repo = "craftos2-lua";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-xuNcWt3Wnh3WlYe6pB4dvP3PY9S5ghL9QQombGn8iyY=";
|
hash = "sha256-8bl83AOIWtUQ06F2unYEF08VT13o9EGo9YDZpdNxd8w=";
|
||||||
};
|
};
|
||||||
craftos2-rom = fetchFromGitHub {
|
craftos2-rom = fetchFromGitHub {
|
||||||
owner = "McJack123";
|
owner = "McJack123";
|
||||||
repo = "craftos2-rom";
|
repo = "craftos2-rom";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-WZs/KIdpqLLzvpH2hiJpe/AehluoQMtewBbAb4htz8k=";
|
hash = "sha256-aCRJ3idSrRM8ydt8hP8nA1RR0etPnWpQKphXcOGgTfk=";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
||||||
|
@ -39,18 +39,9 @@ stdenv.mkDerivation rec {
|
||||||
owner = "MCJack123";
|
owner = "MCJack123";
|
||||||
repo = "craftos2";
|
repo = "craftos2";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-nT/oN2XRU1Du1/IHlkRCzLqFwQ5s9Sr4FQs3ES+aPFs=";
|
hash = "sha256-iQCv4EDdqmnU0fYxMwpCZ2Z5p43P0MGBNIG/dZrWndg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
( # Fixes CCEmuX. This is a one-character change that did not make it into the release.
|
|
||||||
fetchpatch {
|
|
||||||
url = "https://github.com/MCJack123/craftos2/commit/9ef7e16b69ead69b5fe076724842a1e24b3de058.patch";
|
|
||||||
hash = "sha256-SjNnsooDFt3JoVOO0xf6scrGXEQQmrQf91GY7VWaTOw=";
|
|
||||||
}
|
|
||||||
)
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [ patchelf poco openssl SDL2 SDL2_mixer ncurses libpng pngpp libwebp ];
|
buildInputs = [ patchelf poco openssl SDL2 SDL2_mixer ncurses libpng pngpp libwebp ];
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
{ stdenv, fetchFromGitHub, unstableGitUpdater }:
|
{ stdenv, fetchFromGitHub, unstableGitUpdater }:
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "yuzu-compatibility-list";
|
pname = "yuzu-compatibility-list";
|
||||||
version = "unstable-2024-01-21";
|
version = "unstable-2024-01-27";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "flathub";
|
owner = "flathub";
|
||||||
repo = "org.yuzu_emu.yuzu";
|
repo = "org.yuzu_emu.yuzu";
|
||||||
rev = "a3dd360e8b6e8c0c93d40f00416534c8b4bcd59a";
|
rev = "c01bdbbfda3e2558930fcced63b6d02b646f881b";
|
||||||
hash = "sha256-nXh5cJTS1zCa6GoH+AoisTIohsRruycqosxpmFAsaSw=";
|
hash = "sha256-TDmzBxeJq4gJvU88hJaXN7U3PYOqI1OrkenlH1GJo8g=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildCommand = ''
|
buildCommand = ''
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ qt6Packages, makeScopeWithSplicing', generateSplicesForMkScope, vulkan-headers, fetchFromGitHub }:
|
{ qt6Packages, makeScopeWithSplicing', generateSplicesForMkScope }:
|
||||||
|
|
||||||
makeScopeWithSplicing' {
|
makeScopeWithSplicing' {
|
||||||
otherSplices = generateSplicesForMkScope "yuzuPackages";
|
otherSplices = generateSplicesForMkScope "yuzuPackages";
|
||||||
|
@ -8,15 +8,5 @@ makeScopeWithSplicing' {
|
||||||
|
|
||||||
mainline = self.callPackage ./mainline.nix {};
|
mainline = self.callPackage ./mainline.nix {};
|
||||||
early-access = self.callPackage ./early-access {};
|
early-access = self.callPackage ./early-access {};
|
||||||
|
|
||||||
vulkan-headers = vulkan-headers.overrideAttrs(old: rec {
|
|
||||||
version = "1.3.274";
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "KhronosGroup";
|
|
||||||
repo = "Vulkan-Headers";
|
|
||||||
rev = "v${version}";
|
|
||||||
hash = "sha256-SsS5VlEnhjOSu8MlIVC0d2r2EAf8QsNJPEAXNtbDOJ4=";
|
|
||||||
};
|
|
||||||
});
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,6 +23,7 @@ let
|
||||||
'';
|
'';
|
||||||
|
|
||||||
rehydratedSrc = fetchgit {
|
rehydratedSrc = fetchgit {
|
||||||
|
name = "yuzu-ea-rehydrated";
|
||||||
url = gitSrc;
|
url = gitSrc;
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
hash = sources.fullHash;
|
hash = sources.fullHash;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Generated by ./update.sh - do not update manually!
|
# Generated by ./update.sh - do not update manually!
|
||||||
# Last updated: 2024-01-22
|
# Last updated: 2024-01-28
|
||||||
{
|
{
|
||||||
version = "4079";
|
version = "4093";
|
||||||
distHash = "sha256:12cwzgdnpla9m24cla1596p773zpdgmi0zlyvdypmdx0qzwgwkpp";
|
distHash = "sha256:0f6ffs0qvq516vcc6w132p9lg888cy6id9cgkdmzc6039aymdgki";
|
||||||
fullHash = "sha256:1zp2nz9blsim2xmwb3pah38nrdysa3yrlqgb051n8b8qp6fp5979";
|
fullHash = "sha256:1scn06anfjvy4ysxmv8qq7p5dzkfqyxbm6h6lpywy3nkpyx1cz15";
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,7 +31,7 @@ log "Unpacking dist..."
|
||||||
tar xf "$eaDist"/*.tar.xz --directory="$eaDistUnpacked" --strip-components=1
|
tar xf "$eaDist"/*.tar.xz --directory="$eaDistUnpacked" --strip-components=1
|
||||||
|
|
||||||
log "Rehydrating..."
|
log "Rehydrating..."
|
||||||
eaFullHash="$(nix-prefetch-git --fetch-submodules "$eaDistUnpacked" | jq -r '.sha256')"
|
eaFullHash="$(nix-prefetch-git --fetch-submodules --quiet "$eaDistUnpacked" | jq -r '.sha256')"
|
||||||
|
|
||||||
cat >sources.nix <<EOF
|
cat >sources.nix <<EOF
|
||||||
# Generated by ./update.sh - do not update manually!
|
# Generated by ./update.sh - do not update manually!
|
||||||
|
@ -42,7 +42,3 @@ cat >sources.nix <<EOF
|
||||||
fullHash = "sha256:$eaFullHash";
|
fullHash = "sha256:$eaFullHash";
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
if [ "${COMMIT:-0}" == "1" ]; then
|
|
||||||
git commit -m "yuzu-ea: ${oldVersion} -> ${newVersion}" ./sources.nix
|
|
||||||
fi
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, nix-update-script
|
, nix-update-script
|
||||||
, wrapQtAppsHook
|
, wrapQtAppsHook
|
||||||
, alsa-lib
|
, alsa-lib
|
||||||
|
@ -47,13 +48,13 @@
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation(finalAttrs: {
|
stdenv.mkDerivation(finalAttrs: {
|
||||||
pname = "yuzu";
|
pname = "yuzu";
|
||||||
version = "1689";
|
version = "1696";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "yuzu-emu";
|
owner = "yuzu-emu";
|
||||||
repo = "yuzu-mainline";
|
repo = "yuzu-mainline";
|
||||||
rev = "mainline-0-${finalAttrs.version}";
|
rev = "mainline-0-${finalAttrs.version}";
|
||||||
hash = "sha256-5ITGFWS0OJLXyNoAleZrJob2jz1He1LEOvQzjIlMmPQ=";
|
hash = "sha256-9xIhOA8hA7rsjtO0sgg1ucqghSzaOtkuTAHyQvmT+y4=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -154,7 +155,7 @@ stdenv.mkDerivation(finalAttrs: {
|
||||||
|
|
||||||
# provide pre-downloaded tz data
|
# provide pre-downloaded tz data
|
||||||
mkdir -p build/externals/nx_tzdb
|
mkdir -p build/externals/nx_tzdb
|
||||||
ln -sf ${nx_tzdb} build/externals/nx_tzdb/${nx_tzdb.version}.zip
|
ln -s ${nx_tzdb} build/externals/nx_tzdb/nx_tzdb
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# This must be done after cmake finishes as it overwrites the file
|
# This must be done after cmake finishes as it overwrites the file
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, gitUpdater }:
|
{ stdenv, fetchurl, unzip, gitUpdater }:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "nx_tzdb";
|
pname = "nx_tzdb";
|
||||||
version = "221202";
|
version = "221202";
|
||||||
|
@ -8,10 +8,10 @@ stdenv.mkDerivation rec {
|
||||||
hash = "sha256-mRzW+iIwrU1zsxHmf+0RArU8BShAoEMvCz+McXFFK3c=";
|
hash = "sha256-mRzW+iIwrU1zsxHmf+0RArU8BShAoEMvCz+McXFFK3c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontUnpack = true;
|
nativeBuildInputs = [ unzip ];
|
||||||
|
|
||||||
buildCommand = ''
|
buildCommand = ''
|
||||||
cp $src $out
|
unzip $src -d $out
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.updateScript = gitUpdater {
|
passthru.updateScript = gitUpdater {
|
||||||
|
|
|
@ -4,4 +4,4 @@
|
||||||
nix-update -u yuzuPackages.nx_tzdb "$@"
|
nix-update -u yuzuPackages.nx_tzdb "$@"
|
||||||
nix-update -u yuzuPackages.compat-list "$@"
|
nix-update -u yuzuPackages.compat-list "$@"
|
||||||
nix-update -u yuzuPackages.mainline "$@"
|
nix-update -u yuzuPackages.mainline "$@"
|
||||||
nix-update -u yuzuPackages.early-access "$@"
|
nix-update -u yuzuPackages.early-access --override-filename pkgs/applications/emulators/yuzu/early-access/sources.nix "$@"
|
||||||
|
|
|
@ -11,16 +11,16 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "felix";
|
pname = "felix";
|
||||||
version = "2.11.1";
|
version = "2.12.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "kyoheiu";
|
owner = "kyoheiu";
|
||||||
repo = "felix";
|
repo = "felix";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-Q+D5A4KVhVuas7sGy0CqN95cvTLAw5LWet/BECjJUPg=";
|
hash = "sha256-pFU1gE1dkW2MmnkS9DWV0GcPTnDPbjd8w8ASy0M+3x4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-RfBRm/YiTPxkAN8A+uAoN047DBHEVSL0isQfJgO1Bo0=";
|
cargoHash = "sha256-nzbgTEl6vVT30xSrMVa4FkIHv5lzeNB5ayBZn4xPxA4=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
|
|
|
@ -49,13 +49,13 @@ in
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "imagemagick";
|
pname = "imagemagick";
|
||||||
version = "7.1.1-26";
|
version = "7.1.1-27";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ImageMagick";
|
owner = "ImageMagick";
|
||||||
repo = "ImageMagick";
|
repo = "ImageMagick";
|
||||||
rev = finalAttrs.version;
|
rev = finalAttrs.version;
|
||||||
hash = "sha256-diJhCRDT0SbAYZdBPoxZJWlrUW2Nz4/d7H0Nnybw0Yw=";
|
hash = "sha256-jZ5mLqhNZw8V9D61Nv2gB+6Wo9KP+P3KouQ+u2OUL6I=";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "dev" "doc" ]; # bin/ isn't really big
|
outputs = [ "out" "dev" "doc" ]; # bin/ isn't really big
|
||||||
|
|
|
@ -111,6 +111,11 @@ stdenv.mkDerivation rec {
|
||||||
patches = [
|
patches = [
|
||||||
# Pull fix ending upstream inclusion for gcc-12+ support:
|
# Pull fix ending upstream inclusion for gcc-12+ support:
|
||||||
# https://github.com/darbyjohnston/DJV/pull/477
|
# https://github.com/darbyjohnston/DJV/pull/477
|
||||||
|
(fetchpatch {
|
||||||
|
name = "gcc-13-cstdint-include.patch";
|
||||||
|
url = "https://github.com/darbyjohnston/DJV/commit/be0dd90c256f30c0305ff7b180fd932a311e66e5.patch";
|
||||||
|
hash = "sha256-x8GAfakhgjBiCKHbfgCukT5iFNad+zqURDJkQr092uk=";
|
||||||
|
})
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
name = "gcc-11-limits.patch";
|
name = "gcc-11-limits.patch";
|
||||||
url = "https://github.com/darbyjohnston/DJV/commit/0544ffa1a263a6b8e8518b47277de7601b21b4f4.patch";
|
url = "https://github.com/darbyjohnston/DJV/commit/0544ffa1a263a6b8e8518b47277de7601b21b4f4.patch";
|
||||||
|
|
|
@ -22,16 +22,16 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "oculante";
|
pname = "oculante";
|
||||||
version = "0.8.6";
|
version = "0.8.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "woelper";
|
owner = "woelper";
|
||||||
repo = "oculante";
|
repo = "oculante";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-AuHiOZuRhO6PVyDyOtmNG6n/CN5brvJ/Ppn25QCshmE=";
|
hash = "sha256-49reMm9woxekJUqHq7biHvlYii9BmLvq6u9RFkASpUw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-EYwey8dDiyYGJa+scENOpaNK2qAVagTJrAPkSZj12w0=";
|
cargoHash = "sha256-93J0/INcQEvu14pPZeLRfwKECeEGcsch9hUZ0IjYivM=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
|
|
|
@ -29,13 +29,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "vengi-tools";
|
pname = "vengi-tools";
|
||||||
version = "0.0.27";
|
version = "0.0.28";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mgerhardy";
|
owner = "mgerhardy";
|
||||||
repo = "vengi";
|
repo = "vengi";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-A37IY66wZZK7Tv0zWsORO6CuRRRj7YmKLnEPSbfAvwI=";
|
hash = "sha256-UjSm/J/y7MUg3Exmw0P56+bcjiLxXdGS2brocdzgJ+c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -58,13 +58,13 @@ let
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "bambu-studio";
|
pname = "bambu-studio";
|
||||||
version = "01.08.02.56";
|
version = "01.08.04.51";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bambulab";
|
owner = "bambulab";
|
||||||
repo = "BambuStudio";
|
repo = "BambuStudio";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-9AUHS7dXqWx8LPkTP7/scxu3Cc/mxuK+v+5PrCvUPf0=";
|
hash = "sha256-rqD1+3Q4ZUBgS57iCItuLX6ZMP7VQuedaJmgKB1szgs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -4,12 +4,12 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ganttproject-bin";
|
pname = "ganttproject-bin";
|
||||||
version = "2.8.10";
|
version = "3.3.3300";
|
||||||
|
|
||||||
src = let build = "r2364"; in fetchzip {
|
src = fetchzip {
|
||||||
sha256 = "0cclgyqv4f9pjsdlh93cqvgbzrp8ajvrpc2xszs03sknqz2kdh7r";
|
url = "https://dl.ganttproject.biz/ganttproject-${version}/ganttproject-${version}.zip";
|
||||||
url = "https://dl.ganttproject.biz/ganttproject-${version}/"
|
stripRoot = false;
|
||||||
+ "ganttproject-${version}-${build}.zip";
|
hash = "sha256-U9x64UIBuVtW44zbsdWuMRZyEJhZ8VUWbDVtapTGPMo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
|
@ -3,15 +3,15 @@
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "hamster";
|
pname = "hamster";
|
||||||
version = "3.0.2";
|
version = "3.0.3";
|
||||||
|
|
||||||
format = "other";
|
format = "other";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "projecthamster";
|
owner = "projecthamster";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "09ikiwc2izjvwqbbyp8knn190x5y4anwslkmb9k2h3r3jwrg2vd2";
|
sha256 = "sha256-cUmUvJP9Y3de5OaNgIxvigDsX2ww7NNRY5son/gg+WI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -14,13 +14,13 @@
|
||||||
|
|
||||||
python310Packages.buildPythonApplication rec {
|
python310Packages.buildPythonApplication rec {
|
||||||
pname = "nwg-displays";
|
pname = "nwg-displays";
|
||||||
version = "0.3.12";
|
version = "0.3.13";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nwg-piotr";
|
owner = "nwg-piotr";
|
||||||
repo = "nwg-displays";
|
repo = "nwg-displays";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-cr+2ejpXEOg0e86tT37o9400J299DQSkOrQUZE5+V2s=";
|
hash = "sha256-ZXEnlcifwJTnpSKVET/ThIA0NHLP9fQTIM2bQbJ7qZ8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -5,16 +5,16 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "nwg-menu";
|
pname = "nwg-menu";
|
||||||
version = "0.1.1";
|
version = "0.1.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nwg-piotr";
|
owner = "nwg-piotr";
|
||||||
repo = "nwg-menu";
|
repo = "nwg-menu";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-M948RGU9/PwUtFRmf1Po7KlrGxqRPiOZKfS1Vv3vqW8=";
|
sha256 = "sha256-UFyC0gpKn0Ei5aOPC28iG4YI2BM5lrnl/J7RM4GjInc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-HyrjquJ91ddkyS8JijHd9HjtfwSQykXCufa2wzl8RNk=";
|
vendorHash = "sha256-/kqhZcIuoN/XA0i1ua3lzVGn4ghkekFYScL1o3kgBX4=";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
|
|
@ -4,13 +4,13 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
pname = "qdirstat";
|
pname = "qdirstat";
|
||||||
version = "1.8.1";
|
version = "1.9";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "shundhammer";
|
owner = "shundhammer";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-yWv41iWtdTdlFuvLHKCbwmnSXq7Z5pIJq28GMDltdxM=";
|
sha256 = "sha256-pwdmltHDNwUMx1FNOoiXl5Pna0zlKqahmicBCN6UVSU=";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
||||||
|
|
|
@ -11,16 +11,16 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "tui-journal";
|
pname = "tui-journal";
|
||||||
version = "0.6.0";
|
version = "0.8.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "AmmarAbouZor";
|
owner = "AmmarAbouZor";
|
||||||
repo = "tui-journal";
|
repo = "tui-journal";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-0qedRXjuISJst6cZ7rwz/4a935XsBMSzGN8JrzBKjeQ=";
|
hash = "sha256-1cCtWhWOzCezi29oQsa0L1LTIb87ITaJk0teDP2xV78=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-d79NTaW0zs8g62EKqiphWEdgYEnLeRk4NFog0rivr3s=";
|
cargoHash = "sha256-uWxzJONzRDeZVuilpEj4KprF3PtjRhJk8C9zjs5yCvg=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
|
@ -36,7 +36,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Your journal app if you live in a terminl";
|
description = "Your journal app if you live in a terminal";
|
||||||
homepage = "https://github.com/AmmarAbouZor/tui-journal";
|
homepage = "https://github.com/AmmarAbouZor/tui-journal";
|
||||||
changelog = "https://github.com/AmmarAbouZor/tui-journal/blob/${src.rev}/CHANGELOG.ron";
|
changelog = "https://github.com/AmmarAbouZor/tui-journal/blob/${src.rev}/CHANGELOG.ron";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
|
|
@ -10,11 +10,13 @@
|
||||||
, python3
|
, python3
|
||||||
, udisks2
|
, udisks2
|
||||||
, wrapGAppsHook
|
, wrapGAppsHook
|
||||||
|
, testers
|
||||||
|
, udiskie
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "udiskie";
|
pname = "udiskie";
|
||||||
version = "2.5.1";
|
version = "2.5.2";
|
||||||
|
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
|
@ -22,7 +24,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
owner = "coldfix";
|
owner = "coldfix";
|
||||||
repo = "udiskie";
|
repo = "udiskie";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-bmpofyW5IBRmVlzHP9YRlI/JNnnamKfF9jCG85G0wBc=";
|
hash = "sha256-r9ppuWYY3e2thsfFh4ooOgfqNvmCVw7fS0SpJCJcysQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -78,6 +80,10 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
passthru.tests.version = testers.testVersion {
|
||||||
|
package = udiskie;
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/coldfix/udiskie";
|
homepage = "https://github.com/coldfix/udiskie";
|
||||||
changelog = "https://github.com/coldfix/udiskie/blob/${src.rev}/CHANGES.rst";
|
changelog = "https://github.com/coldfix/udiskie/blob/${src.rev}/CHANGES.rst";
|
||||||
|
|
|
@ -22,18 +22,18 @@
|
||||||
ungoogled-chromium = {
|
ungoogled-chromium = {
|
||||||
deps = {
|
deps = {
|
||||||
gn = {
|
gn = {
|
||||||
hash = "sha256-dwluGOfq05swtBM5gg4a6gY3IpFHaKKkD0TV1XW7c7k=";
|
hash = "sha256-eD3KORYYuIH+94+BgL+yFD5lTQFvj/MqPU9DPiHc98s=";
|
||||||
rev = "e4702d7409069c4f12d45ea7b7f0890717ca3f4b";
|
rev = "7367b0df0a0aa25440303998d54045bda73935a5";
|
||||||
url = "https://gn.googlesource.com/gn";
|
url = "https://gn.googlesource.com/gn";
|
||||||
version = "2023-10-23";
|
version = "2023-11-28";
|
||||||
};
|
};
|
||||||
ungoogled-patches = {
|
ungoogled-patches = {
|
||||||
hash = "sha256-feMWYdxQSgn1ZTdnXTYHUBi3pV1fsaAcKjbf+qHzYnU=";
|
hash = "sha256-Fopr+SiezOs3w52juXvMyfxOAzrVXrRO8j0744oeO5k=";
|
||||||
rev = "120.0.6099.224-1";
|
rev = "223fe76bb263a216341739ce2ee333752642cf47";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
hash = "sha256-HFQ7QAL4hcux3jmMmLYFNym3sfWR1o1hWV75bokID4I=";
|
hash = "sha256-2TMTLCqoCxdy9PDlZIUa/5oXjmim1T2/LJu+3/Kf4fQ=";
|
||||||
hash_deb_amd64 = "sha256-dFllEHRYH3yAPg3uaaCzdpiZxSLENEwmtIb/gg53/ZU=";
|
hash_deb_amd64 = "sha256-9vPQAiZPw60oILm0He4Iz9lOc+WvtHCBE9CHA1ejc7s=";
|
||||||
version = "120.0.6099.224";
|
version = "121.0.6167.85";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -320,11 +320,9 @@ buildStdenv.mkDerivation {
|
||||||
unset 'configureFlagsArray[i]'
|
unset 'configureFlagsArray[i]'
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
configureFlagsArray+=(
|
appendToVar configureFlags --enable-profile-use=cross
|
||||||
"--enable-profile-use=cross"
|
appendToVar configureFlags --with-pgo-profile-path=$TMPDIR/merged.profdata
|
||||||
"--with-pgo-profile-path="$TMPDIR/merged.profdata""
|
appendToVar configureFlags --with-pgo-jarlog=$TMPDIR/jarlog
|
||||||
"--with-pgo-jarlog="$TMPDIR/jarlog""
|
|
||||||
)
|
|
||||||
${lib.optionalString stdenv.hostPlatform.isMusl ''
|
${lib.optionalString stdenv.hostPlatform.isMusl ''
|
||||||
LDFLAGS="$OLD_LDFLAGS"
|
LDFLAGS="$OLD_LDFLAGS"
|
||||||
unset OLD_LDFLAGS
|
unset OLD_LDFLAGS
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"packageVersion": "122.0-1",
|
"packageVersion": "122.0-2",
|
||||||
"source": {
|
"source": {
|
||||||
"rev": "122.0-1",
|
"rev": "122.0-2",
|
||||||
"sha256": "18b2pfh61cxkl7ww0fi5wjv580ca7i5sshviqym8w0w38lhp7rsv"
|
"sha256": "139vqa0czhbsg8naz75pcf5d8dql30slwrn4l8hkr4r1s1mslyq1"
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"rev": "41623492f2b6970972014f6ce196015d3d7f1b59",
|
"rev": "fe568fa26d52fa917c89d735468a17b990a23e2c",
|
||||||
"sha256": "0ayyyw44q0gh668bzlv6cfl7baa0818bnz83g53l5j2f10xd52by"
|
"sha256": "1gska84ib386a1021r1n54mb1a47bqn459v5n26g4wqx3xrma48n"
|
||||||
},
|
},
|
||||||
"firefox": {
|
"firefox": {
|
||||||
"version": "122.0",
|
"version": "122.0",
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "netsurf-buildsystem";
|
pname = "netsurf-buildsystem";
|
||||||
version = "1.9";
|
version = "1.10";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.netsurf-browser.org/libs/releases/buildsystem-${finalAttrs.version}.tar.gz";
|
url = "http://download.netsurf-browser.org/libs/releases/buildsystem-${finalAttrs.version}.tar.gz";
|
||||||
hash = "sha256-k4QeMUpoggmiC4dF8GU5PzqQ8Bvmj0Xpa8jS9KKqmio=";
|
hash = "sha256-PT451WnkRnfEsXkSm95hTGV5jis+YlMWAjnR/W6uTXk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "cilium-cli";
|
pname = "cilium-cli";
|
||||||
version = "0.15.19";
|
version = "0.15.20";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "cilium";
|
owner = "cilium";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-52i3Ek/rXFF9rMMiXNMnRjT2HYsknGKvVtCRrVDmo9U=";
|
hash = "sha256-uwHy1Wdf9/BXfPgBFc0Lkd3tewqY/+MjqaFnb8dFnH0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = null;
|
vendorHash = null;
|
||||||
|
|
|
@ -2,16 +2,16 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "helm-s3";
|
pname = "helm-s3";
|
||||||
version = "0.15.1";
|
version = "0.16.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hypnoglow";
|
owner = "hypnoglow";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-D79nUIueOV2FC3I2LreHMzl/xOpzNa+OsfL5wcnyY78=";
|
hash = "sha256-0wx8q93y8goXNh2x/XI3FQEXImVTpONURiDW2dCAi6o=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-dKKggD/VlBiopt2ygh07+6bTBbRgQfWbiY/1qJSSx/0=";
|
vendorHash = "sha256-i+rWg0/EUes5soFVRu9M5/iktbtudII7Ly5pcnOU2hU=";
|
||||||
|
|
||||||
# NOTE: Remove the install and upgrade hooks.
|
# NOTE: Remove the install and upgrade hooks.
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
|
@ -2,16 +2,16 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "kubectl-explore";
|
pname = "kubectl-explore";
|
||||||
version = "0.7.1";
|
version = "0.7.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "keisku";
|
owner = "keisku";
|
||||||
repo = "kubectl-explore";
|
repo = "kubectl-explore";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-4WxvVsA05Mta7AcrGe26B+Up+x/gwdlCnb/PN9Ehu18=";
|
hash = "sha256-OVPct3EvtchH9pmMulIddsiR9VFoCegx9+O7lkecoJc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-z/bPfY9UVqOnrA9jNUtM7jg53/URAMAJQAqH9D5KVPQ=";
|
vendorHash = "sha256-l6SANWkDQSuLbyixbO/Xr2oRG8HR/qquTT9b/IM+JVg=";
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
stdenvNoCC.mkDerivation rec {
|
stdenvNoCC.mkDerivation rec {
|
||||||
pname = "kubectl-node-shell";
|
pname = "kubectl-node-shell";
|
||||||
version = "1.8.1";
|
version = "1.10.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "kvaps";
|
owner = "kvaps";
|
||||||
repo = "kubectl-node-shell";
|
repo = "kubectl-node-shell";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-ZVLL++QTc4fvOTsFfaWVad/jj4EqPiZUpL7HsMb2AdE=";
|
hash = "sha256-QG1YQH2qd4TBkH42z9htni4llL13sEoBXlih4yc8r4w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "deck";
|
pname = "deck";
|
||||||
version = "1.29.2";
|
version = "1.32.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Kong";
|
owner = "Kong";
|
||||||
repo = "deck";
|
repo = "deck";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-UQgNLlV4FoKd23zkReTftDnHBtjtKjoXuqJPGTNX+CI=";
|
hash = "sha256-h0dZXIrQm8RlfNnIHU4P0iFelWmkXVqkBmyyrA3/EgY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
@ -21,7 +21,7 @@ buildGoModule rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
proxyVendor = true; # darwin/linux hash mismatch
|
proxyVendor = true; # darwin/linux hash mismatch
|
||||||
vendorHash = "sha256-qLcOL7XuXNR/9Q/D5I7KcMNdveACommFndHjqpbPfbE=";
|
vendorHash = "sha256-0KEQ03lls8ZEbhMEcKiZ1jFIbBtXnlCE/mkYHrZdWv8=";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installShellCompletion --cmd deck \
|
installShellCompletion --cmd deck \
|
||||||
|
|
|
@ -8,16 +8,16 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "gnmic";
|
pname = "gnmic";
|
||||||
version = "0.33.0";
|
version = "0.35.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "openconfig";
|
owner = "openconfig";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-7jykosmVG+oJ6/27x+VtlVVxq/OQIctcjB1Wjs1DcRU=";
|
hash = "sha256-PGhU8u2dYo9S0yv8/F7YBSHUZWxxFUXIbjQIjsX6AGw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-VjeOSnCAdG+RlIg9uIyyQ8wKUqyX5uc2RXG75q84vm4=";
|
vendorHash = "sha256-HoOjVfpowb5jvAYdQ3cbCQmSl1RJKPDjvOaOGfhe5TY=";
|
||||||
|
|
||||||
ldflags = [
|
ldflags = [
|
||||||
"-s" "-w"
|
"-s" "-w"
|
||||||
|
|
|
@ -14,16 +14,16 @@
|
||||||
|
|
||||||
buildNpmPackage rec {
|
buildNpmPackage rec {
|
||||||
pname = "webcord";
|
pname = "webcord";
|
||||||
version = "4.6.1";
|
version = "4.7.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "SpacingBat3";
|
owner = "SpacingBat3";
|
||||||
repo = "WebCord";
|
repo = "WebCord";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-4ePjRs9CEnDHq9iVcQNEkefl0YP/tc1ePLhW/w9NPDs=";
|
hash = "sha256-h0JEIfNoYx0MrHeEg/kwn/10JVxNVXIuvWcTOfellbg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
npmDepsHash = "sha256-UzwLORlUeTMq3RyOHpvBrbxbwgpMBsbmfyXBhpB6pOQ=";
|
npmDepsHash = "sha256-L6ZrPqi4DjTn1P4O+lWDmvzQwqpsWmSOtnFMBHkNQAI=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
copyDesktopItems
|
copyDesktopItems
|
||||||
|
|
|
@ -11,18 +11,18 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "shellhub-agent";
|
pname = "shellhub-agent";
|
||||||
version = "0.13.6";
|
version = "0.14.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "shellhub-io";
|
owner = "shellhub-io";
|
||||||
repo = "shellhub";
|
repo = "shellhub";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-jdZNfNdykkpuIzA0TXEXkH21HTJzhndyRlMj3Kt7WlM=";
|
hash = "sha256-VP1U5JSVsAcGeV/xUrToJfrdw0TWbHhmi2Y/tM5bHpQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
modRoot = "./agent";
|
modRoot = "./agent";
|
||||||
|
|
||||||
vendorHash = "sha256-Dg9TL/B9KgYGA0lILxVt+kXy5kfnW2sYJuP0lc+CROM=";
|
vendorHash = "sha256-ISFnljpdOcvhNTM4jMGmi2xArjWSmjJj7dCnlcSfkVI=";
|
||||||
|
|
||||||
ldflags = [ "-s" "-w" "-X main.AgentVersion=v${version}" ];
|
ldflags = [ "-s" "-w" "-X main.AgentVersion=v${version}" ];
|
||||||
|
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "super-productivity";
|
pname = "super-productivity";
|
||||||
version = "7.14.3";
|
version = "7.17.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/johannesjo/super-productivity/releases/download/v${version}/superProductivity-${version}.AppImage";
|
url = "https://github.com/johannesjo/super-productivity/releases/download/v${version}/superProductivity-${version}.AppImage";
|
||||||
sha256 = "sha256-wW72T1+RfejaI9LxSxa/g0lvIRmAeFa2ZaEa8K9mRcw=";
|
sha256 = "sha256-CcgjfA0BRfCrRb8N+KIgheUAF+JJK3yIv9Trp+gg+s0=";
|
||||||
name = "${pname}-${version}.AppImage";
|
name = "${pname}-${version}.AppImage";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -5,12 +5,12 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "6.6.5";
|
version = "6.6.8";
|
||||||
pname = "timeular";
|
pname = "timeular";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://s3.amazonaws.com/timeular-desktop-packages/linux/production/Timeular-${version}.AppImage";
|
url = "https://s3.amazonaws.com/timeular-desktop-packages/linux/production/Timeular-${version}.AppImage";
|
||||||
hash = "sha256-Ok2EnRLKrLxZQfPj5/fGGJS4lW6DBEmSx+f+Z2Y77fM=";
|
hash = "sha256-giQjcUnhBGt2egRmYLEL8cFZYKjtUu34ozh1filNyiw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
appimageContents = appimageTools.extractType2 {
|
appimageContents = appimageTools.extractType2 {
|
||||||
|
|
|
@ -12,13 +12,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "treesheets";
|
pname = "treesheets";
|
||||||
version = "unstable-2024-01-21";
|
version = "unstable-2024-01-26";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "aardappel";
|
owner = "aardappel";
|
||||||
repo = "treesheets";
|
repo = "treesheets";
|
||||||
rev = "c14f5ef716b9a565ec1d7fbc2e86c73ad144c447";
|
rev = "a1705796a8e1eddd63cc847f4c4c71634c5c7eb8";
|
||||||
sha256 = "8QcMdkLkYaN7PA9vNYbzM8wwqZR4k7/mcn6USvSNKXk=";
|
sha256 = "bF24E+30u/8//vAwjXrnUqybieIUlEDYyvI5sHnLkco=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "samtools";
|
pname = "samtools";
|
||||||
version = "1.19";
|
version = "1.19.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/samtools/samtools/releases/download/${version}/${pname}-${version}.tar.bz2";
|
url = "https://github.com/samtools/samtools/releases/download/${version}/${pname}-${version}.tar.bz2";
|
||||||
sha256 = "sha256-+ms7GOIIUbbzy1WvrzIF0C/LedrjuEn89S6PwQ/wi4M=";
|
hash = "sha256-cfYEmWaOTAjn10X7/yTBXMigl3q6sazV0rtBm9sGXpY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# tests require `bgzip` from the htslib package
|
# tests require `bgzip` from the htslib package
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv, lib, fetchFromGitHub, pkg-config, cmake, wrapQtAppsHook
|
{ stdenv, lib, fetchFromGitHub, pkg-config, cmake, wrapQtAppsHook
|
||||||
, libzip, boost, fftw, qtbase, qtwayland, qtsvg, libusb1
|
, libzip, boost, fftw, qtbase, qtwayland, qtsvg, libusb1
|
||||||
, python3, fetchpatch
|
, python3, fetchpatch, desktopToDarwinBundle
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -20,18 +20,19 @@ stdenv.mkDerivation rec {
|
||||||
./install.patch
|
./install.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
|
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ]
|
||||||
|
++ lib.optional stdenv.isDarwin desktopToDarwinBundle;
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
boost fftw qtbase qtwayland qtsvg libusb1 libzip
|
boost fftw qtbase qtsvg libusb1 libzip
|
||||||
python3
|
python3
|
||||||
];
|
] ++ lib.optional stdenv.isLinux qtwayland;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A GUI program for supporting various instruments from DreamSourceLab, including logic analyzer, oscilloscope, etc";
|
description = "A GUI program for supporting various instruments from DreamSourceLab, including logic analyzer, oscilloscope, etc";
|
||||||
homepage = "https://www.dreamsourcelab.com/";
|
homepage = "https://www.dreamsourcelab.com/";
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
maintainers = with maintainers; [ bachp ];
|
maintainers = with maintainers; [ bachp carlossless ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,8 +16,8 @@ index eb9be42..220817c 100644
|
||||||
- install(FILES DSView/DreamSourceLab.rules DESTINATION /etc/udev/rules.d RENAME 60-dreamsourcelab.rules)
|
- install(FILES DSView/DreamSourceLab.rules DESTINATION /etc/udev/rules.d RENAME 60-dreamsourcelab.rules)
|
||||||
- endif()
|
- endif()
|
||||||
-
|
-
|
||||||
+ install(FILES DSView/DSView.desktop DESTINATION share/applications RENAME dsview.desktop)
|
|
||||||
+ install(FILES DSView/DreamSourceLab.rules DESTINATION etc/udev/rules.d RENAME 60-dreamsourcelab.rules)
|
+ install(FILES DSView/DreamSourceLab.rules DESTINATION etc/udev/rules.d RENAME 60-dreamsourcelab.rules)
|
||||||
endif()
|
endif()
|
||||||
|
+install(FILES DSView/DSView.desktop DESTINATION share/applications RENAME dsview.desktop)
|
||||||
|
|
||||||
install(FILES NEWS25 DESTINATION share/DSView RENAME NEWS25)
|
install(FILES NEWS25 DESTINATION share/DSView RENAME NEWS25)
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
, lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
|
||||||
, wrapQtAppsHook
|
, wrapQtAppsHook
|
||||||
, qmake
|
, qmake
|
||||||
, pkg-config
|
, pkg-config
|
||||||
|
@ -15,6 +14,7 @@
|
||||||
, libngspice
|
, libngspice
|
||||||
, libgit2
|
, libgit2
|
||||||
, quazip
|
, quazip
|
||||||
|
, clipper
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -38,25 +38,17 @@ let
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation {
|
||||||
pname = "fritzing";
|
pname = "fritzing";
|
||||||
version = "1.0.1";
|
version = "1.0.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = "fritzing";
|
||||||
repo = "fritzing-app";
|
repo = "fritzing-app";
|
||||||
rev = "8f5f1373835050ce014299c78d91c24beea9b633";
|
rev = "dbdbe34c843677df721c7b3fc3e32c0f737e7e95";
|
||||||
hash = "sha256-jLVNzSh2KwXpi3begtp/53sdBmQQbCnKMCm2p770etg=";
|
hash = "sha256-Xi5sPU2RGkqh7T+EOvwxJJKKYDhJfccyEZ8LBBTb2s4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Fix error caused by implicit call
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://aur.archlinux.org/cgit/aur.git/plain/0003-ParseResult-operator-bool-in-explicit.patch?h=fritzing&id=b2c79b55f0a2811e80bb1136b1e021fbc56937c9";
|
|
||||||
hash = "sha256-9HdcNqLHEB0HQbF7AaTdUIJUbafwsRKPA+wfF4g8veU=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [ qmake pkg-config qttools wrapQtAppsHook ];
|
nativeBuildInputs = [ qmake pkg-config qttools wrapQtAppsHook ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
qtbase
|
qtbase
|
||||||
|
@ -68,6 +60,7 @@ stdenv.mkDerivation rec {
|
||||||
libgit2
|
libgit2
|
||||||
quazip
|
quazip
|
||||||
libngspice
|
libngspice
|
||||||
|
clipper
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -81,13 +74,17 @@ stdenv.mkDerivation rec {
|
||||||
substituteInPlace src/fapplication.cpp \
|
substituteInPlace src/fapplication.cpp \
|
||||||
--replace 'PartsChecker::getSha(dir.absolutePath());' '"${partsSha}";'
|
--replace 'PartsChecker::getSha(dir.absolutePath());' '"${partsSha}";'
|
||||||
|
|
||||||
|
substituteInPlace phoenix.pro \
|
||||||
|
--replace "6.5.10" "${qtbase.version}"
|
||||||
|
|
||||||
mkdir parts
|
mkdir parts
|
||||||
cp -a ${parts}/* parts/
|
cp -a ${parts}/* parts/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
env.NIX_CFLAGS_COMPILE = lib.concatStringsSep " " [
|
env.NIX_CFLAGS_COMPILE = lib.concatStringsSep " " [
|
||||||
"-I${lib.getDev quazip}/include/QuaZip-Qt${lib.versions.major qtbase.version}-${quazip.version}/quazip"
|
"-I${lib.getDev quazip}/include/QuaZip-Qt${lib.versions.major qtbase.version}-${quazip.version}"
|
||||||
"-I${svgpp}/include"
|
"-I${svgpp}/include"
|
||||||
|
"-I${clipper}/include/polyclipping"
|
||||||
];
|
];
|
||||||
env.NIX_LDFLAGS = "-lquazip1-qt${lib.versions.major qtbase.version}";
|
env.NIX_LDFLAGS = "-lquazip1-qt${lib.versions.major qtbase.version}";
|
||||||
|
|
||||||
|
|
|
@ -25,14 +25,14 @@
|
||||||
};
|
};
|
||||||
"kicad-testing" = {
|
"kicad-testing" = {
|
||||||
kicadVersion = {
|
kicadVersion = {
|
||||||
version = "7.0-2024-01-07";
|
version = "7.0-2024-01-27";
|
||||||
src = {
|
src = {
|
||||||
rev = "ace6439758f8d211001235f36f02a60488337e41";
|
rev = "13fcb571f7e5bf4bf142d151651fc577aca32053";
|
||||||
sha256 = "0z4p2srz9rld7mq6k2y5fipz8mgsdhh2506wam4388nklzzkrccr";
|
sha256 = "0wvk3wx5lm2jvyip6b96ja464hdzp9klb7b7ng5i3mdldabh0jba";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
libVersion = {
|
libVersion = {
|
||||||
version = "7.0-2024-01-07";
|
version = "7.0-2024-01-27";
|
||||||
libSources = {
|
libSources = {
|
||||||
symbols.rev = "eedf6c9ddac2816023e817d4dc91032f9d7390b9";
|
symbols.rev = "eedf6c9ddac2816023e817d4dc91032f9d7390b9";
|
||||||
symbols.sha256 = "0nlgmxf9z1vf4g350dfkxql1dawgmw275wqxkgszsfxmhdfpmi9v";
|
symbols.sha256 = "0nlgmxf9z1vf4g350dfkxql1dawgmw275wqxkgszsfxmhdfpmi9v";
|
||||||
|
|
|
@ -7,13 +7,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "eigenmath";
|
pname = "eigenmath";
|
||||||
version = "unstable-2024-01-22";
|
version = "unstable-2024-01-23";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "georgeweigt";
|
owner = "georgeweigt";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "db4b22cd536cefbdf0b6c928f11c793a5580da0b";
|
rev = "1d55696b742fee0b4ef8e39b7a420c00c2f1e329";
|
||||||
hash = "sha256-T1GXh1go08XVTToEg5Dq4BuwTCxxqYwQsx+c8g1RPxg=";
|
hash = "sha256-AQdCFKDUWfNKxZoWp82DdxUA2GiMGWyuyh7Fkofm9kc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkPhase = let emulator = stdenv.hostPlatform.emulator buildPackages; in ''
|
checkPhase = let emulator = stdenv.hostPlatform.emulator buildPackages; in ''
|
||||||
|
|
|
@ -30,13 +30,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation (final: {
|
stdenv.mkDerivation (final: {
|
||||||
pname = "contour";
|
pname = "contour";
|
||||||
version = "0.4.0.6245";
|
version = "0.4.1.6292";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "contour-terminal";
|
owner = "contour-terminal";
|
||||||
repo = "contour";
|
repo = "contour";
|
||||||
rev = "v${final.version}";
|
rev = "v${final.version}";
|
||||||
hash = "sha256-0A3fGbQPfzV4V4f5GGyjbQLJK+tX7ZVerAL7TkHhjdo=";
|
hash = "sha256-t1rZixjpwg2JDBESmymNwUlpQd1VLaECxvpPP94jvH0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./dont-fix-app-bundle.diff ];
|
patches = [ ./dont-fix-app-bundle.diff ];
|
||||||
|
|
2230
pkgs/applications/terminal-emulators/wezterm/Cargo.lock
generated
2230
pkgs/applications/terminal-emulators/wezterm/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
|
@ -32,14 +32,14 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "wezterm";
|
pname = "wezterm";
|
||||||
version = "20230712-072601-f4abf8fd";
|
version = "20240127-113634-bbcac864";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "wez";
|
owner = "wez";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
hash = "sha256-B6AakLbTWIN123qAMQk/vFN83HHNRSNkqicNRU1GaCc=";
|
hash = "sha256-OjIwHRso6M05gS+thA9yukUDoDqHvHdEVshFL+ebC7c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -52,9 +52,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
cargoLock = {
|
cargoLock = {
|
||||||
lockFile = ./Cargo.lock;
|
lockFile = ./Cargo.lock;
|
||||||
outputHashes = {
|
outputHashes = {
|
||||||
"image-0.24.5" = "sha256-fTajVwm88OInqCPZerWcSAm1ga46ansQ3EzAmbT58Js=";
|
"xcb-imdkit-0.3.0" = "sha256-fTpJ6uNhjmCWv7dZqVgYuS2Uic36XNYTbqlaly5QBjI=";
|
||||||
"xcb-1.2.1" = "sha256-zkuW5ATix3WXBAj2hzum1MJ5JTX3+uVQ01R1vL6F1rY=";
|
|
||||||
"xcb-imdkit-0.2.0" = "sha256-L+NKD0rsCk9bFABQF4FZi9YoqBHr4VAZeKAWgsaAegw=";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "git-cola";
|
pname = "git-cola";
|
||||||
version = "4.4.1";
|
version = "4.5.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "git-cola";
|
owner = "git-cola";
|
||||||
repo = "git-cola";
|
repo = "git-cola";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-PtV2mzxOfZ88THiFD4K+qtOi41GeLF1GcdiFFhUR8Ak=";
|
hash = "sha256-HORGtpiZGWpeRDhr4E9KW5LSAD6r74l7rl6RhhVtiJo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isLinux [ qt5.qtwayland ];
|
buildInputs = lib.optionals stdenv.isLinux [ qt5.qtwayland ];
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "pass-git-helper";
|
pname = "pass-git-helper";
|
||||||
version = "1.2.0";
|
version = "1.4.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "languitar";
|
owner = "languitar";
|
||||||
repo = "pass-git-helper";
|
repo = "pass-git-helper";
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "sha256-An9JKnS/Uor7iZ+lbBGR3eOkxOgV+SjnCWN/QmqFI/I=";
|
sha256 = "sha256-wkayj7SvT3SOM+rol17+8LQJR/YXSC6I+iKbHRUbdZc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ pyxdg ];
|
propagatedBuildInputs = [ pyxdg ];
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
{ buildPythonApplication
|
{ buildPythonApplication
|
||||||
, lib
|
, lib
|
||||||
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, pkg-config
|
||||||
, setuptools
|
, setuptools
|
||||||
, setuptools-rust
|
, setuptools-rust
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
|
@ -9,30 +11,37 @@
|
||||||
, breezy
|
, breezy
|
||||||
, dulwich
|
, dulwich
|
||||||
, jinja2
|
, jinja2
|
||||||
|
, libiconv
|
||||||
|
, openssl
|
||||||
, pyyaml
|
, pyyaml
|
||||||
, ruamel-yaml
|
, ruamel-yaml
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "silver-platter";
|
pname = "silver-platter";
|
||||||
version = "0.5.12";
|
version = "0.5.20";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jelmer";
|
owner = "jelmer";
|
||||||
repo = "silver-platter";
|
repo = "silver-platter";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-QkTT9UcJuGDAwpp/CtXobPvfTYQzFakBR72MhF//Bpo=";
|
hash = "sha256-k+C4jrC4FO/yy9Eb6x4lv1zyyp/eGkpMcDqZ0KoxfBs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||||
inherit src;
|
inherit src;
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
hash = "sha256-QLnKu9D23FVp1jCSuxN3odPZ1ToAZ6i/FNS8BkmNuQw=";
|
hash = "sha256-+EUj6iBnHF4zlOAAfaHy5V/z6CCD/LFksBClE4FaHHc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ setuptools breezy dulwich jinja2 pyyaml ruamel-yaml ];
|
propagatedBuildInputs = [ setuptools breezy dulwich jinja2 pyyaml ruamel-yaml ];
|
||||||
nativeBuildInputs = [ setuptools-rust rustPlatform.cargoSetupHook cargo rustc ];
|
nativeBuildInputs = [ setuptools-rust rustPlatform.cargoSetupHook cargo rustc ]
|
||||||
|
++ lib.optionals stdenv.isLinux [ pkg-config ];
|
||||||
|
buildInputs = lib.optionals stdenv.isLinux [ openssl ]
|
||||||
|
++ lib.optionals stdenv.isDarwin [ libiconv ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "silver_platter" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Automate the creation of merge proposals for scriptable changes";
|
description = "Automate the creation of merge proposals for scriptable changes";
|
||||||
|
|
|
@ -3,13 +3,13 @@
|
||||||
buildKodiAddon rec {
|
buildKodiAddon rec {
|
||||||
pname = "netflix";
|
pname = "netflix";
|
||||||
namespace = "plugin.video.netflix";
|
namespace = "plugin.video.netflix";
|
||||||
version = "1.23.1";
|
version = "1.23.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "CastagnaIT";
|
owner = "CastagnaIT";
|
||||||
repo = namespace;
|
repo = namespace;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-ZY59I3RR/gl24XqZiBkenHM/D4tW/5ZyE4UngtvODYQ=";
|
hash = "sha256-/wHKwFZbuxK0iwlqvZpyfi0lnRkjm/HSn221IgCN7VQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -38,13 +38,13 @@ let
|
||||||
in
|
in
|
||||||
buildPerlModule rec {
|
buildPerlModule rec {
|
||||||
pname = "pipe-viewer";
|
pname = "pipe-viewer";
|
||||||
version = "0.4.8";
|
version = "0.4.9";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "trizen";
|
owner = "trizen";
|
||||||
repo = "pipe-viewer";
|
repo = "pipe-viewer";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-bFbriqpy+Jjwv/s4PZmLdL3hFtM8gfIn+yJjk3fCsnQ=";
|
hash = "sha256-7l8exCC9robe1hKnQAaIVfnn8L+FuwTOkxaxlwJmpe0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ]
|
nativeBuildInputs = [ makeWrapper ]
|
||||||
|
|
|
@ -5,12 +5,12 @@
|
||||||
}: stdenv.mkDerivation rec {
|
}: stdenv.mkDerivation rec {
|
||||||
|
|
||||||
pname = "vdr";
|
pname = "vdr";
|
||||||
version = "2.6.5";
|
version = "2.6.6";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "git://git.tvdr.de/vdr.git";
|
url = "git://git.tvdr.de/vdr.git";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-CKgo1Saj6EkSRNoIh16wzGHmToIMADZtjd8VQ+c1nus=";
|
hash = "sha256-3om/Q67PHtX/aIG4zMCaJTyD9bZNEcyE5LQTeb+zB+M=";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
|
@ -140,6 +140,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
url = "https://gitlab.com/qemu-project/qemu/-/commit/9d5b42beb6978dc6219d5dc029c9d453c6b8d503.diff";
|
url = "https://gitlab.com/qemu-project/qemu/-/commit/9d5b42beb6978dc6219d5dc029c9d453c6b8d503.diff";
|
||||||
sha256 = "sha256-NknkH/gFTsMcdq8/ArwM4+qrpU+ZHd+xVMFUuMJTtf0=";
|
sha256 = "sha256-NknkH/gFTsMcdq8/ArwM4+qrpU+ZHd+xVMFUuMJTtf0=";
|
||||||
})
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
name = "CVE-2023-6693.patch";
|
||||||
|
url = "https://gitlab.com/qemu-project/qemu/-/commit/2220e8189fb94068dbad333228659fbac819abb0.patch";
|
||||||
|
sha256 = "sha256-uoFFFsVZ8XnsI2GD7xsRFNWghWL7/PSYTc1yhXI6nv4=";
|
||||||
|
})
|
||||||
]
|
]
|
||||||
++ lib.optional nixosTestRunner ./force-uid0-on-9p.patch;
|
++ lib.optional nixosTestRunner ./force-uid0-on-9p.patch;
|
||||||
|
|
||||||
|
|
|
@ -11,11 +11,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "evilwm";
|
pname = "evilwm";
|
||||||
version = "1.1.1";
|
version = "1.4.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.6809.org.uk/evilwm/evilwm-${version}.tar.gz";
|
url = "http://www.6809.org.uk/evilwm/evilwm-${version}.tar.gz";
|
||||||
sha256 = "79589c296a5915ee0bae1d231e8912601fc794d9f0a9cacb6b648ff9a5f2602a";
|
sha256 = "sha256-QhLW2QywBbLMiIFLyFN3NrSVCrWCZLu2W4gHrGO9xLk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
|
|
@ -32,13 +32,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "picom";
|
pname = "picom";
|
||||||
version = "11";
|
version = "11.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "yshui";
|
owner = "yshui";
|
||||||
repo = "picom";
|
repo = "picom";
|
||||||
rev = "v${finalAttrs.version}";
|
rev = "v${finalAttrs.version}";
|
||||||
hash = "sha256-KIblpEEW33ZxxTYuQ/lbUGEJcVdmSWdNOrVCvhOY/OU=";
|
hash = "sha256-vdR3HzBZxtth3zJD3vMSlrnBTbopidw7FGKOk69S0R0=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,9 @@
|
||||||
firmware:
|
firmware:
|
||||||
|
|
||||||
let
|
let
|
||||||
args = lib.optionalAttrs (firmware ? meta) { inherit (firmware) meta; };
|
args = {
|
||||||
|
allowedRequisites = [];
|
||||||
|
} // lib.optionalAttrs (firmware ? meta) { inherit (firmware) meta; };
|
||||||
in
|
in
|
||||||
|
|
||||||
runCommand "${firmware.name}-xz" args ''
|
runCommand "${firmware.name}-xz" args ''
|
||||||
|
@ -15,10 +17,13 @@ runCommand "${firmware.name}-xz" args ''
|
||||||
sh -c 'xz -9c -T1 -C crc32 --lzma2=dict=2MiB "${firmware}/$1" > "$1.xz"' --)
|
sh -c 'xz -9c -T1 -C crc32 --lzma2=dict=2MiB "${firmware}/$1" > "$1.xz"' --)
|
||||||
(cd ${firmware} && find lib/firmware -type l) | while read link; do
|
(cd ${firmware} && find lib/firmware -type l) | while read link; do
|
||||||
target="$(readlink "${firmware}/$link")"
|
target="$(readlink "${firmware}/$link")"
|
||||||
if [ -f $target ]; then
|
if [ -f "${firmware}/$link" ]; then
|
||||||
ln -vs -- "''${target/^${firmware}/$out}.xz" "$out/$link.xz"
|
ln -vs -- "''${target/^${firmware}/$out}.xz" "$out/$link.xz"
|
||||||
else
|
else
|
||||||
ln -vs -- "''${target/^${firmware}/$out}" "$out/$link"
|
ln -vs -- "''${target/^${firmware}/$out}" "$out/$link"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
echo "Checking for broken symlinks:"
|
||||||
|
find -L $out -type l -print -execdir false -- '{}' '+'
|
||||||
''
|
''
|
||||||
|
|
|
@ -103,7 +103,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
pythonPath = with python3.pkgs; [
|
pythonPath = with python3.pkgs; [
|
||||||
dbus-python
|
dbus-python
|
||||||
pygobject3
|
pygobject3
|
||||||
recursivePthLoader
|
recursive-pth-loader
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
''
|
''
|
||||||
|
|
|
@ -12,13 +12,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "bngblaster";
|
pname = "bngblaster";
|
||||||
version = "0.8.29";
|
version = "0.8.34";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "rtbrick";
|
owner = "rtbrick";
|
||||||
repo = "bngblaster";
|
repo = "bngblaster";
|
||||||
rev = finalAttrs.version;
|
rev = finalAttrs.version;
|
||||||
hash = "sha256-yuWSGN7wLRksNjgr7c5GiC9JTN4T1PJV4Js1ZOGBKqA=";
|
hash = "sha256-oxmDg3en7mgTmhnvpkBtBJ6o/iF+GZ3Td3V6jlWMBZc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
35
pkgs/by-name/c-/c-periphery/package.nix
Normal file
35
pkgs/by-name/c-/c-periphery/package.nix
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, cmake
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "c-periphery";
|
||||||
|
version = "2.4.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "vsergeev";
|
||||||
|
repo = "c-periphery";
|
||||||
|
rev = "v${finalAttrs.version}";
|
||||||
|
hash = "sha256-uUSXvMQcntUqD412UWkMif0wLxPhpPdnMb96Pqqh/B4=";
|
||||||
|
};
|
||||||
|
|
||||||
|
outputs = [ "dev" "lib" "out" ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace src/libperiphery.pc.in \
|
||||||
|
--replace '=''${prefix}/' '=' \
|
||||||
|
--replace '=''${exec_prefix}/' '='
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A C library for peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) in Linux";
|
||||||
|
homepage = "https://github.com/vsergeev/c-periphery";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ sikmir ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
})
|
|
@ -6,20 +6,20 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "c2FmZQ";
|
pname = "c2FmZQ";
|
||||||
version = "0.4.17";
|
version = "0.4.18";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "c2FmZQ";
|
owner = "c2FmZQ";
|
||||||
repo = "c2FmZQ";
|
repo = "c2FmZQ";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-xjgoE1HlCmSPZ6TQcemI7fNE9wbIrk/WSrz6vlVt66U=";
|
hash = "sha256-CWtQMXICCyuXbknR1Z2sLe7GyqN0F2sQGtiTnqppnVA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
ldflags = [ "-s" "-w" ];
|
ldflags = [ "-s" "-w" ];
|
||||||
|
|
||||||
sourceRoot = "source/c2FmZQ";
|
sourceRoot = "source/c2FmZQ";
|
||||||
|
|
||||||
vendorHash = "sha256-lnoEh6etfVLx+GYWNCvra40qOYtzTIH3SC28T6mXC2U=";
|
vendorHash = "sha256-cTXSFwWGHV2QJM4mX/Z+ZxCXKwr+59lEPvJa/PTA1wU=";
|
||||||
|
|
||||||
subPackages = [ "c2FmZQ-client" "c2FmZQ-server" ];
|
subPackages = [ "c2FmZQ-client" "c2FmZQ-server" ];
|
||||||
|
|
||||||
|
|
|
@ -9,13 +9,13 @@
|
||||||
|
|
||||||
perlPackages.buildPerlPackage rec {
|
perlPackages.buildPerlPackage rec {
|
||||||
pname = "clamtk";
|
pname = "clamtk";
|
||||||
version = "6.17";
|
version = "6.18";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "dave-theunsub";
|
owner = "dave-theunsub";
|
||||||
repo = "clamtk";
|
repo = "clamtk";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-2tWVfRijf78OiKBpLUrZWFberIL8mjqtxvW/IjPn1IE=";
|
hash = "sha256-ClBsBXbGj67zgrkA9EjgK7s3OmXOJA+xV5xLGOcMsbI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ wrapGAppsHook gobject-introspection ];
|
nativeBuildInputs = [ wrapGAppsHook gobject-introspection ];
|
||||||
|
@ -46,11 +46,12 @@ perlPackages.buildPerlPackage rec {
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
install -D lib/*.pm -t $out/lib/perl5/site_perl/ClamTk
|
install -Dm755 clamtk -t $out/bin
|
||||||
install -D clamtk.desktop -t $out/share/applications
|
install -Dm444 lib/*.pm -t $out/lib/perl5/site_perl/ClamTk
|
||||||
install -D images/* -t $out/share/pixmaps
|
install -Dm444 clamtk.desktop -t $out/share/applications
|
||||||
install -D clamtk.1.gz -t $out/share/man/man1
|
install -Dm444 images/* -t $out/share/pixmaps
|
||||||
install -D -m755 clamtk -t $out/bin
|
install -Dm444 clamtk.1.gz -t $out/share/man/man1
|
||||||
|
install -Dm444 {CHANGES,LICENSE,*.md} -t $out/share/doc/clamtk
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{ lib
|
{ lib
|
||||||
|
, stdenv
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, makeBinaryWrapper
|
, makeBinaryWrapper
|
||||||
|
@ -12,6 +13,9 @@
|
||||||
, xwayland
|
, xwayland
|
||||||
, wayland
|
, wayland
|
||||||
, xorg
|
, xorg
|
||||||
|
, useXWayland ? true
|
||||||
|
, systemd
|
||||||
|
, useSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage {
|
rustPlatform.buildRustPackage {
|
||||||
|
@ -41,7 +45,18 @@ rustPlatform.buildRustPackage {
|
||||||
separateDebugInfo = true;
|
separateDebugInfo = true;
|
||||||
|
|
||||||
nativeBuildInputs = [ makeBinaryWrapper pkg-config ];
|
nativeBuildInputs = [ makeBinaryWrapper pkg-config ];
|
||||||
buildInputs = [ libglvnd libinput libxkbcommon mesa seatd udev wayland ];
|
buildInputs = [
|
||||||
|
libglvnd
|
||||||
|
libinput
|
||||||
|
libxkbcommon
|
||||||
|
mesa
|
||||||
|
seatd
|
||||||
|
udev
|
||||||
|
wayland
|
||||||
|
] ++ lib.optional useSystemd systemd;
|
||||||
|
|
||||||
|
# Only default feature is systemd
|
||||||
|
buildNoDefaultFeatures = !useSystemd;
|
||||||
|
|
||||||
# Force linking to libEGL, which is always dlopen()ed, and to
|
# Force linking to libEGL, which is always dlopen()ed, and to
|
||||||
# libwayland-client, which is always dlopen()ed except by the
|
# libwayland-client, which is always dlopen()ed except by the
|
||||||
|
@ -56,11 +71,13 @@ rustPlatform.buildRustPackage {
|
||||||
# These libraries are only used by the X11 backend, which will not
|
# These libraries are only used by the X11 backend, which will not
|
||||||
# be the common case, so just make them available, don't link them.
|
# be the common case, so just make them available, don't link them.
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/cosmic-comp \
|
wrapProgramArgs=(--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [
|
||||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [
|
|
||||||
xorg.libX11 xorg.libXcursor xorg.libXi xorg.libXrandr
|
xorg.libX11 xorg.libXcursor xorg.libXi xorg.libXrandr
|
||||||
]} \
|
]})
|
||||||
--prefix PATH : ${lib.makeBinPath [ xwayland ]}
|
'' + lib.optionalString useXWayland ''
|
||||||
|
wrapProgramArgs+=(--prefix PATH : ${lib.makeBinPath [ xwayland ]})
|
||||||
|
'' + ''
|
||||||
|
wrapProgram $out/bin/cosmic-comp "''${wrapProgramArgs[@]}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -13,11 +13,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
name = "dorion";
|
name = "dorion";
|
||||||
version = "4.0.0";
|
version = "4.1.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/SpikeHD/Dorion/releases/download/v${finalAttrs.version }/Dorion_${finalAttrs.version}_amd64.deb";
|
url = "https://github.com/SpikeHD/Dorion/releases/download/v${finalAttrs.version }/Dorion_${finalAttrs.version}_amd64.deb";
|
||||||
hash = "sha256-vUa7QgOBwLJe36SqD7OCz5uM60/rLmNnM+AWGE/g3jM=";
|
hash = "sha256-H+r5+TPZ1Yyn0nE4MJGlN9WEn13nA8fkI1ZmfFor5Lk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
unpackCmd = ''
|
unpackCmd = ''
|
||||||
|
|
|
@ -11,13 +11,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "eiwd";
|
pname = "eiwd";
|
||||||
version = "2.8-1";
|
version = "2.10-1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "illiliti";
|
owner = "illiliti";
|
||||||
repo = "eiwd";
|
repo = "eiwd";
|
||||||
rev = finalAttrs.version;
|
rev = finalAttrs.version;
|
||||||
hash = "sha256-SD/RJFuGBwFT4G73f93VrWO/6mGKQxjVhmNrpKRA/WY=";
|
hash = "sha256-AB4NBwfELy0yjzxS0rCcF641CGEdyM9tTB+ZWaM+erg=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
60
pkgs/by-name/fu/fuchsia-cursor/package.nix
Normal file
60
pkgs/by-name/fu/fuchsia-cursor/package.nix
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
{ lib
|
||||||
|
, stdenvNoCC
|
||||||
|
, fetchFromGitHub
|
||||||
|
, clickgen
|
||||||
|
, python3
|
||||||
|
, themeVariants ? []
|
||||||
|
, sizeVariants ? []
|
||||||
|
, platformVariants ? []
|
||||||
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
pname = "fuchsia-cursor";
|
||||||
|
in
|
||||||
|
lib.checkListOfEnum "${pname}: theme variants" [ "Fuchsia" "Fuchsia-Pop" "Fuchsia-Red" ] themeVariants
|
||||||
|
lib.checkListOfEnum "${pname}: size variants" [ "16" "24" "32" "48" ] sizeVariants
|
||||||
|
lib.checkListOfEnum "${pname}: platform variants" [ "x11" "windows" ] platformVariants
|
||||||
|
|
||||||
|
stdenvNoCC.mkDerivation rec {
|
||||||
|
inherit pname;
|
||||||
|
version = "2.0.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "ful1e5";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-WnDtUsjRXT7bMppgwU5BIDqphP69DmPzQM/0qXES5tM=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
clickgen
|
||||||
|
python3.pkgs.attrs
|
||||||
|
];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
${if themeVariants != [] then ''
|
||||||
|
name= ctgen build.toml \
|
||||||
|
${lib.optionalString (themeVariants != []) "-d bitmaps/" + toString themeVariants + " -n " + toString themeVariants} \
|
||||||
|
${lib.optionalString (sizeVariants != []) "-s " + toString sizeVariants} \
|
||||||
|
${lib.optionalString (platformVariants != []) "-p " + toString platformVariants} \
|
||||||
|
-o $out/share/icons
|
||||||
|
'' else ''
|
||||||
|
name= ctgen build.toml -d bitmaps/Fuchsia -n Fuchsia \
|
||||||
|
${lib.optionalString (sizeVariants != []) "-s " + toString sizeVariants} \
|
||||||
|
${lib.optionalString (platformVariants != []) "-p " + toString platformVariants} \
|
||||||
|
-o $out/share/icons
|
||||||
|
''}
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "First OpenSource port of FuchsiaOS's cursors for Linux and Windows";
|
||||||
|
homepage = "https://github.com/ful1e5/fuchsia-cursor";
|
||||||
|
maintainers = with maintainers; [ d3vil0p3r ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
};
|
||||||
|
}
|
|
@ -10,13 +10,13 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "goldwarden";
|
pname = "goldwarden";
|
||||||
version = "0.2.9";
|
version = "0.2.10";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "quexten";
|
owner = "quexten";
|
||||||
repo = "goldwarden";
|
repo = "goldwarden";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-UjNDr5iWOd34VrKCrYVlPJVbKq/HizupYJ9H4jJq8oI=";
|
hash = "sha256-NYK9H9BCjUweip8HjxHqN2wjUGmg0zicJSC/S1hpvx8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-AiYgI2dBhVYxGNU7t4dywi8KWiffO6V05KFYoGzA0t4=";
|
vendorHash = "sha256-AiYgI2dBhVYxGNU7t4dywi8KWiffO6V05KFYoGzA0t4=";
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
}:
|
}:
|
||||||
stdenvNoCC.mkDerivation {
|
stdenvNoCC.mkDerivation {
|
||||||
pname = "gruvbox-gtk-theme";
|
pname = "gruvbox-gtk-theme";
|
||||||
version = "unstable-2023-05-26";
|
version = "unstable-2023-05-28";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Fausto-Korpsvart";
|
owner = "Fausto-Korpsvart";
|
|
@ -4,21 +4,22 @@
|
||||||
, guile
|
, guile
|
||||||
, guile-fibers
|
, guile-fibers
|
||||||
, guile-gcrypt
|
, guile-gcrypt
|
||||||
|
, guile-gnutls
|
||||||
, texinfo
|
, texinfo
|
||||||
, pkg-config
|
, pkg-config
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "guile-goblins";
|
pname = "guile-goblins";
|
||||||
version = "0.11.0";
|
version = "0.12.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://spritely.institute/files/releases/guile-goblins/guile-goblins-${version}.tar.gz";
|
url = "https://spritely.institute/files/releases/guile-goblins/guile-goblins-${version}.tar.gz";
|
||||||
hash = "sha256-1FD35xvayqC04oPdgts08DJl6PVnhc9K/Dr+NYtxhMU=";
|
hash = "sha256-P5WKKv5i5Lrs4en+IWL40AkYAD+bgTyFdsQqE4FxPfA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
nativeBuildInputs = [ guile pkg-config texinfo ];
|
nativeBuildInputs = [ guile pkg-config texinfo ];
|
||||||
buildInputs = [ guile guile-fibers guile-gcrypt ];
|
buildInputs = [ guile guile-fibers guile-gcrypt guile-gnutls ];
|
||||||
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
|
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
|
||||||
|
|
||||||
# tests hang on darwin, and fail randomly on aarch64-linux on ofborg
|
# tests hang on darwin, and fail randomly on aarch64-linux on ofborg
|
||||||
|
|
63
pkgs/by-name/he/helix-gpt/package.nix
Normal file
63
pkgs/by-name/he/helix-gpt/package.nix
Normal file
|
@ -0,0 +1,63 @@
|
||||||
|
{ stdenv, lib, fetchFromGitHub, bun, makeBinaryWrapper }:
|
||||||
|
let
|
||||||
|
pin = lib.importJSON ./pin.json;
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "leona";
|
||||||
|
repo = "helix-gpt";
|
||||||
|
rev = pin.version;
|
||||||
|
hash = pin.srcHash;
|
||||||
|
};
|
||||||
|
node_modules = stdenv.mkDerivation {
|
||||||
|
pname = "helix-gpt-node_modules";
|
||||||
|
inherit src;
|
||||||
|
version = pin.version;
|
||||||
|
impureEnvVars = lib.fetchers.proxyImpureEnvVars
|
||||||
|
++ [ "GIT_PROXY_COMMAND" "SOCKS_SERVER" ];
|
||||||
|
nativeBuildInputs = [ bun ];
|
||||||
|
dontConfigure = true;
|
||||||
|
buildPhase = ''
|
||||||
|
bun install --no-progress --frozen-lockfile
|
||||||
|
'';
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/node_modules
|
||||||
|
|
||||||
|
cp -R ./node_modules $out
|
||||||
|
'';
|
||||||
|
outputHash = pin."${stdenv.system}";
|
||||||
|
outputHashAlgo = "sha256";
|
||||||
|
outputHashMode = "recursive";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "helix-gpt";
|
||||||
|
version = pin.version;
|
||||||
|
inherit src;
|
||||||
|
nativeBuildInputs = [ makeBinaryWrapper ];
|
||||||
|
|
||||||
|
dontConfigure = true;
|
||||||
|
dontBuild = true;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
mkdir -p $out/bin
|
||||||
|
|
||||||
|
ln -s ${node_modules}/node_modules $out
|
||||||
|
cp -R ./* $out
|
||||||
|
|
||||||
|
# bun is referenced naked in the package.json generated script
|
||||||
|
makeBinaryWrapper ${bun}/bin/bun $out/bin/helix-gpt \
|
||||||
|
--prefix PATH : ${lib.makeBinPath [ bun ]} \
|
||||||
|
--add-flags "run --prefer-offline --no-install --cwd $out ./src/app.ts"
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/leona/helix-gpt";
|
||||||
|
description = "Code completion LSP for Helix with support for Copilot + OpenAI";
|
||||||
|
maintainers = with maintainers; [ happysalada ];
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
platforms = [ "x86_64-linux" "x86_64-darwin" ];
|
||||||
|
};
|
||||||
|
}
|
6
pkgs/by-name/he/helix-gpt/pin.json
Normal file
6
pkgs/by-name/he/helix-gpt/pin.json
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"version": "0.15",
|
||||||
|
"srcHash": "sha256-95NnV//DesXQB1ttvOylu1DAnmRcvTUpZzK1NTZtuVE=",
|
||||||
|
"x86_64-linux": "sha256-h6wGkOfSbB8Rwm7eFvcowDdH1RdS6eFaxgf+SdYvYt8=",
|
||||||
|
"x86_64-darwin": "sha256-45RFY4Kqt5ooMOY75oJcSUZdkERzpyIMQkni4NJ/s1Y="
|
||||||
|
}
|
43
pkgs/by-name/ia/ianny/package.nix
Normal file
43
pkgs/by-name/ia/ianny/package.nix
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
{ lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, rustPlatform
|
||||||
|
, dbus
|
||||||
|
, pkg-config
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "ianny";
|
||||||
|
version = "1.0.0beta.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "zefr0x";
|
||||||
|
repo = "ianny";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-Bnr+wtusvTM690IISBs0wKj0ChBoIrMHyVZ8wdGgK08=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoHash = "sha256-/8C+hDq/z+h1uxO9prLbKHgyfMGrMODAs5/yUrutaAM=";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
buildInputs = [ dbus.dev ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace src/main.rs \
|
||||||
|
--replace-fail '/usr/share/locale' $out/share/locale
|
||||||
|
'';
|
||||||
|
|
||||||
|
preFixup = ''
|
||||||
|
mkdir -p $out/etc/xdg/autostart
|
||||||
|
mkdir -p $out/usr/share/local
|
||||||
|
cp io.github.zefr0x.ianny.desktop $out/etc/xdg/autostart/
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Desktop utility that helps preventing repetitive strain injuries by keeping track of usage patterns and periodically informing the user to take breaks.";
|
||||||
|
homepage = "https://github.com/zefr0x/ianny";
|
||||||
|
license = licenses.gpl3;
|
||||||
|
mainProgram = "ianny";
|
||||||
|
maintainers = with maintainers; [ max-amb ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
maven.buildMavenPackage rec {
|
maven.buildMavenPackage rec {
|
||||||
pname = "ktfmt";
|
pname = "ktfmt";
|
||||||
version = "0.46";
|
version = "0.47";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "facebook";
|
owner = "facebook";
|
||||||
repo = "ktfmt";
|
repo = "ktfmt";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-OIbJ+J5LX6SPv5tuAiY66v/edeM7nFPHj90GXV6zaxw=";
|
hash = "sha256-vdvKHTTD84OAQacv/VE/5BxYdW4n3bxPUHF2MdH+sQQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
mvnHash = "sha256-Cl7P2i4VFJ/yk7700u62YPcacfKkhBztFvcDkYBfZEA=";
|
mvnHash = "sha256-Cl7P2i4VFJ/yk7700u62YPcacfKkhBztFvcDkYBfZEA=";
|
||||||
|
|
29
pkgs/by-name/li/libbfio/package.nix
Normal file
29
pkgs/by-name/li/libbfio/package.nix
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{ lib
|
||||||
|
, fetchzip
|
||||||
|
, fetchpatch
|
||||||
|
, stdenv
|
||||||
|
, gettext
|
||||||
|
, libtool
|
||||||
|
, pkg-config
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "libbfio";
|
||||||
|
version = "20221025";
|
||||||
|
|
||||||
|
src = fetchzip {
|
||||||
|
url = "https://github.com/libyal/libbfio/releases/download/${finalAttrs.version}/libbfio-alpha-${finalAttrs.version}.tar.gz";
|
||||||
|
hash = "sha256-SwKQlmifyUo49yvo8RV+0nfvScPY5u+UrwjRZK2+qAg=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
buildInputs = [ gettext libtool ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Library to provide basic file input/output abstraction";
|
||||||
|
homepage = "https://github.com/libyal/libbfio";
|
||||||
|
license = with lib.licenses; [ gpl3Plus lgpl3Plus ];
|
||||||
|
maintainers = with lib.maintainers; [ d3vil0p3r ];
|
||||||
|
platforms = with lib.platforms; unix ++ windows;
|
||||||
|
};
|
||||||
|
})
|
|
@ -8,18 +8,18 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "mercure";
|
pname = "mercure";
|
||||||
version = "0.15.6";
|
version = "0.15.9";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "dunglas";
|
owner = "dunglas";
|
||||||
repo = "mercure";
|
repo = "mercure";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-sGMjb7Ilm+RqR6bRGLAYB/nciE5oHeitDllr4H11uHU=";
|
hash = "sha256-4Y+yZSZrBDLPbQXaOCSKk/EY20Ka8CS4ivUg1TEaqXo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "source/caddy";
|
sourceRoot = "source/caddy";
|
||||||
|
|
||||||
vendorHash = "sha256-v0YKlkflo7eKXh38uqsnxZlLr3+fFl8EMeUsf8UMU48=";
|
vendorHash = "sha256-N0RmvhBlTiWmBb4TzLmaThD9jVkKgcIO9vPWxJAvLRQ=";
|
||||||
|
|
||||||
subPackages = [ "mercure" ];
|
subPackages = [ "mercure" ];
|
||||||
excludedPackages = [ "../cmd/mercure" ];
|
excludedPackages = [ "../cmd/mercure" ];
|
||||||
|
|
|
@ -13,14 +13,14 @@
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "newsraft";
|
pname = "newsraft";
|
||||||
version = "0.22";
|
version = "0.23";
|
||||||
|
|
||||||
src = fetchFromGitea {
|
src = fetchFromGitea {
|
||||||
domain = "codeberg.org";
|
domain = "codeberg.org";
|
||||||
owner = "newsraft";
|
owner = "newsraft";
|
||||||
repo = "newsraft";
|
repo = "newsraft";
|
||||||
rev = "newsraft-${finalAttrs.version}";
|
rev = "newsraft-${finalAttrs.version}";
|
||||||
hash = "sha256-QjIADDk1PSZP89+G7B1Bpu3oTEAykD4RJYghZnMJKho=";
|
hash = "sha256-c5yN67FL4siPyO8v0RuTCznwrqX9+r8tY5PKS4zlqIc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
43
pkgs/by-name/ni/nightfox-gtk-theme/package.nix
Normal file
43
pkgs/by-name/ni/nightfox-gtk-theme/package.nix
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
{ lib
|
||||||
|
, stdenvNoCC
|
||||||
|
, fetchFromGitHub
|
||||||
|
, gnome-themes-extra
|
||||||
|
, gtk-engine-murrine
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenvNoCC.mkDerivation {
|
||||||
|
pname = "nightfox-gtk-theme";
|
||||||
|
version = "unstable-2023-05-28";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Fausto-Korpsvart";
|
||||||
|
repo = "Nightfox-GTK-Theme";
|
||||||
|
rev = "a8b01a28f2d1d9dd57d98d3708602b0d72340338";
|
||||||
|
hash = "sha256-GrlKYCqO9vgRbPdPhugPBg2rYtDxzbQwRPtTBIyIyx4=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedUserEnvPkgs = [
|
||||||
|
gtk-engine-murrine
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
gnome-themes-extra
|
||||||
|
];
|
||||||
|
|
||||||
|
dontBuild = true;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
mkdir -p $out/share/themes
|
||||||
|
cp -a themes/* $out/share/themes
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A GTK theme based on the Nightfox colour palette";
|
||||||
|
homepage = "https://github.com/Fausto-Korpsvart/Nightfox-GTK-Theme";
|
||||||
|
license = licenses.agpl3Plus;
|
||||||
|
maintainers = with maintainers; [ d3vil0p3r ];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
}
|
|
@ -6,13 +6,13 @@
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "oelint-adv";
|
pname = "oelint-adv";
|
||||||
version = "3.26.12";
|
version = "4.1.0";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit version;
|
inherit version;
|
||||||
pname = "oelint_adv";
|
pname = "oelint_adv";
|
||||||
hash = "sha256-pemFy+MTBE9T/dY93rErlvWCru1TLR7X25/1+GNAFdw=";
|
hash = "sha256-odejUprYMdKWrm87oRVuJKwLWEL/XuLfQtfjVKK4VTE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
|
|
159
pkgs/by-name/op/openscad-unstable/package.nix
Normal file
159
pkgs/by-name/op/openscad-unstable/package.nix
Normal file
|
@ -0,0 +1,159 @@
|
||||||
|
{ lib
|
||||||
|
, clangStdenv
|
||||||
|
, llvmPackages
|
||||||
|
, fetchFromGitHub
|
||||||
|
, cmake
|
||||||
|
, ninja
|
||||||
|
, pkg-config
|
||||||
|
, bison
|
||||||
|
, boost
|
||||||
|
, cairo
|
||||||
|
, cgal_5
|
||||||
|
, clipper2
|
||||||
|
, double-conversion
|
||||||
|
, eigen
|
||||||
|
, flex
|
||||||
|
, fontconfig
|
||||||
|
, freetype
|
||||||
|
, glib
|
||||||
|
, glm
|
||||||
|
, gmp
|
||||||
|
, harfbuzz
|
||||||
|
, hidapi
|
||||||
|
, lib3mf
|
||||||
|
, libGL
|
||||||
|
, libGLU
|
||||||
|
, libICE
|
||||||
|
, libSM
|
||||||
|
, libsForQt5
|
||||||
|
, libspnav
|
||||||
|
, libzip
|
||||||
|
, mpfr
|
||||||
|
, python3
|
||||||
|
, tbb_2021_8
|
||||||
|
, wayland
|
||||||
|
, wayland-protocols
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
# get cccl from source to avoid license issues
|
||||||
|
nvidia-cccl = clangStdenv.mkDerivation {
|
||||||
|
pname = "nvidia-cccl";
|
||||||
|
# note that v2.2.0 has some cmake issues
|
||||||
|
version = "2.2.0-unstable-2024-01-26";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "NVIDIA";
|
||||||
|
repo = "cccl";
|
||||||
|
fetchSubmodules = true;
|
||||||
|
rev = "0c9d03276206a5f59368e908e3d643610f9fddcd";
|
||||||
|
hash = "sha256-f11CNfa8jF9VbzvOoX1vT8zGIJL9cZ/VBpiklUn0YdU=";
|
||||||
|
};
|
||||||
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
|
buildInputs = [ tbb_2021_8 ];
|
||||||
|
cmakeFlags = [
|
||||||
|
# only enable what we need
|
||||||
|
"-DCCCL_ENABLE_CUB=OFF"
|
||||||
|
"-DCCCL_ENABLE_LIBCUDACXX=ON"
|
||||||
|
"-DCCCL_ENABLE_THRUST=ON"
|
||||||
|
"-DCCCL_ENABLE_TESTING=OFF"
|
||||||
|
"-DCCCL_ENABLE_EXAMPLES=OFF"
|
||||||
|
|
||||||
|
"-DTHRUST_DEVICE_SYSTEM=TBB"
|
||||||
|
"-DTHRUST_HOST_SYSTEM=CPP"
|
||||||
|
"-DTHRUST_ENABLE_HEADER_TESTING=OFF"
|
||||||
|
"-DTHRUST_ENABLE_TESTING=OFF"
|
||||||
|
"-DTHRUST_ENABLE_EXAMPLES=OFF"
|
||||||
|
|
||||||
|
"-DLIBCUDACXX_ENABLE_CUDA=OFF"
|
||||||
|
"-DLIBCUDACXX_ENABLE_STATIC_LIBRARY=OFF"
|
||||||
|
"-DLIBCUDACXX_ENABLE_LIBCUDACXX_TESTS=OFF"
|
||||||
|
];
|
||||||
|
meta = with lib; {
|
||||||
|
description = "CUDA C++ Core Libraries";
|
||||||
|
homepage = "https://github.com/NVIDIA/cccl";
|
||||||
|
license = licenses.asl20;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
in
|
||||||
|
# clang consume much less RAM than GCC
|
||||||
|
clangStdenv.mkDerivation rec {
|
||||||
|
pname = "openscad-unstable";
|
||||||
|
version = "2024-01-22";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "openscad";
|
||||||
|
repo = "openscad";
|
||||||
|
rev = "88d244aed3c40a76194ff537ed84bd65bc0e1aeb";
|
||||||
|
hash = "sha256-qkQNbYhmOxF14zm+eCcwe9asLOEciYBANefUb8+KNEI=";
|
||||||
|
fetchSubmodules = true;
|
||||||
|
};
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
cmake
|
||||||
|
ninja
|
||||||
|
bison
|
||||||
|
flex
|
||||||
|
python3
|
||||||
|
libsForQt5.qt5.wrapQtAppsHook
|
||||||
|
llvmPackages.bintools
|
||||||
|
];
|
||||||
|
buildInputs = with libsForQt5; with qt5; [
|
||||||
|
# manifold dependencies
|
||||||
|
clipper2
|
||||||
|
glm
|
||||||
|
tbb_2021_8
|
||||||
|
nvidia-cccl
|
||||||
|
|
||||||
|
boost
|
||||||
|
cairo
|
||||||
|
cgal_5
|
||||||
|
double-conversion
|
||||||
|
eigen
|
||||||
|
fontconfig
|
||||||
|
freetype
|
||||||
|
glib
|
||||||
|
gmp
|
||||||
|
harfbuzz
|
||||||
|
hidapi
|
||||||
|
lib3mf
|
||||||
|
libspnav
|
||||||
|
libzip
|
||||||
|
mpfr
|
||||||
|
qscintilla
|
||||||
|
qtbase
|
||||||
|
qtmultimedia
|
||||||
|
]
|
||||||
|
++ lib.optionals clangStdenv.isLinux [ libICE libSM libGLU libGL wayland wayland-protocols qtwayland ]
|
||||||
|
++ lib.optional clangStdenv.isDarwin qtmacextras
|
||||||
|
;
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DEXPERIMENTAL=ON" # enable experimental options
|
||||||
|
"-DSNAPSHOT=ON" # nightly icons
|
||||||
|
"-DUSE_BUILTIN_OPENCSG=ON" # bundled latest opencsg
|
||||||
|
"-DOPENSCAD_VERSION=\"${builtins.replaceStrings ["-"] ["."] version}\""
|
||||||
|
"-DCMAKE_UNITY_BUILD=ON" # faster build
|
||||||
|
"-DENABLE_TESTS=OFF" # tests do not work for now
|
||||||
|
# IPO
|
||||||
|
"-DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=lld"
|
||||||
|
"-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON"
|
||||||
|
];
|
||||||
|
meta = with lib; {
|
||||||
|
description = "3D parametric model compiler (unstable)";
|
||||||
|
longDescription = ''
|
||||||
|
OpenSCAD is a software for creating solid 3D CAD objects. It is free
|
||||||
|
software and available for Linux/UNIX, MS Windows and macOS.
|
||||||
|
|
||||||
|
Unlike most free software for creating 3D models (such as the famous
|
||||||
|
application Blender) it does not focus on the artistic aspects of 3D
|
||||||
|
modelling but instead on the CAD aspects. Thus it might be the
|
||||||
|
application you are looking for when you are planning to create 3D models of
|
||||||
|
machine parts but pretty sure is not what you are looking for when you are more
|
||||||
|
interested in creating computer-animated movies.
|
||||||
|
'';
|
||||||
|
homepage = "https://openscad.org/";
|
||||||
|
# note that the *binary license* is gpl3 due to CGAL
|
||||||
|
license = lib.licenses.gpl3;
|
||||||
|
platforms = lib.platforms.unix;
|
||||||
|
maintainers = with lib.maintainers; [ pca006132 raskin ];
|
||||||
|
mainProgram = "openscad";
|
||||||
|
};
|
||||||
|
}
|
|
@ -5,14 +5,19 @@
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "oterm";
|
pname = "oterm";
|
||||||
version = "0.1.18";
|
version = "0.1.21";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ggozad";
|
owner = "ggozad";
|
||||||
repo = "oterm";
|
repo = "oterm";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-hog0oEiZMxM3lM3xFZ+c15OTOwGXZ97FmG4PpyA94Ys=";
|
hash = "sha256-S6v7VDIGPu6UDbDe0H3LWF6IN0Z6ENmiCDxz+GuCibI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pythonRelaxDeps = [
|
||||||
|
"pillow"
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
propagatedBuildInputs = with python3Packages; [
|
||||||
textual
|
textual
|
||||||
typer
|
typer
|
||||||
|
@ -23,8 +28,18 @@ python3Packages.buildPythonApplication rec {
|
||||||
pyperclip
|
pyperclip
|
||||||
packaging
|
packaging
|
||||||
rich-pixels
|
rich-pixels
|
||||||
|
pillow
|
||||||
|
aiohttp
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = with python3Packages; [
|
||||||
|
poetry-core
|
||||||
|
pythonRelaxDepsHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"oterm"
|
||||||
];
|
];
|
||||||
nativeBuildInputs = with python3Packages; [ poetry-core ];
|
|
||||||
|
|
||||||
# Tests require a HTTP connection to ollama
|
# Tests require a HTTP connection to ollama
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
|
@ -5,16 +5,16 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "paper-age";
|
pname = "paper-age";
|
||||||
version = "1.2.0";
|
version = "1.2.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "matiaskorhonen";
|
owner = "matiaskorhonen";
|
||||||
repo = "paper-age";
|
repo = "paper-age";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-7dd1R41CDgkpFI8fUWCJfgz3lr22IjWQYW6vRYEFidc=";
|
hash = "sha256-JlmiHnST/UnN4WsiDqSva+01odoc5h/J/mlGN3K0OfI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-IJDV0dmOsA9gbVKGfPsN3TKJbox3JTNxldArQK6GPt8=";
|
cargoHash = "sha256-zdq036ag7+mvWg4OJHtbltPlF9j49dCPNJjgVQcQ+u4=";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Easy and secure paper backups of secrets";
|
description = "Easy and secure paper backups of secrets";
|
||||||
|
|
36
pkgs/by-name/pa/parsify/package.nix
Normal file
36
pkgs/by-name/pa/parsify/package.nix
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{ lib
|
||||||
|
, appimageTools
|
||||||
|
, fetchurl
|
||||||
|
}:
|
||||||
|
|
||||||
|
appimageTools.wrapType2 rec {
|
||||||
|
pname = "parsify";
|
||||||
|
version = "2.0.1";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/parsify-dev/desktop/releases/download/v${version}/Parsify-${version}-linux-x86_64.AppImage";
|
||||||
|
hash = "sha256-ltWqRW+cBvuUJzhya62WsBY5zqIua9xhilxfd9gr24A=";
|
||||||
|
};
|
||||||
|
|
||||||
|
extraInstallCommands =
|
||||||
|
let contents = appimageTools.extract { inherit pname version src; };
|
||||||
|
in ''
|
||||||
|
mv $out/bin/${pname}-${version} $out/bin/${pname}
|
||||||
|
|
||||||
|
install -m 444 -D ${contents}/@parsifydesktop.desktop -t $out/share/applications
|
||||||
|
|
||||||
|
substituteInPlace $out/share/applications/@parsifydesktop.desktop \
|
||||||
|
--replace "Exec=AppRun" "Exec=${pname}"
|
||||||
|
|
||||||
|
cp -r ${contents}/usr/share/* $out/share
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Next generation notepad-based calculator, built with extendibility and privacy in mind";
|
||||||
|
homepage = "https://parsify.app/";
|
||||||
|
license = licenses.unfree;
|
||||||
|
maintainers = with maintainers; [ kashw2 ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
mainProgram = "parsify";
|
||||||
|
};
|
||||||
|
}
|
29
pkgs/by-name/pm/pm2/package.nix
Normal file
29
pkgs/by-name/pm/pm2/package.nix
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{ lib
|
||||||
|
, buildNpmPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildNpmPackage rec {
|
||||||
|
pname = "pm2";
|
||||||
|
version = "5.3.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Unitech";
|
||||||
|
repo = "pm2";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-thShqrnM5S3/IImEm+2vHVRLCsLJN5NGaSRYubtULW0=";
|
||||||
|
};
|
||||||
|
|
||||||
|
npmDepsHash = "sha256-6M8kwiCHaQzcFyUUx7Yax/dobATWXG0Di7enEzlO8YE=";
|
||||||
|
|
||||||
|
dontNpmBuild = true;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
changelog = "https://github.com/Unitech/pm2/blob/${src.rev}/CHANGELOG.md";
|
||||||
|
description = "Node.js production process manager with a built-in load balancer";
|
||||||
|
homepage = "https://github.com/Unitech/pm2";
|
||||||
|
license = lib.licenses.agpl3Only;
|
||||||
|
mainProgram = "pm2";
|
||||||
|
maintainers = with lib.maintainers; [ jeremyschlatter ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, boost
|
, boost
|
||||||
, cmake
|
, cmake
|
||||||
, discord-rpc
|
, discord-rpc
|
||||||
|
@ -19,6 +20,8 @@
|
||||||
, which
|
, which
|
||||||
, xdg-user-dirs
|
, xdg-user-dirs
|
||||||
, zlib
|
, zlib
|
||||||
|
# Affects final license
|
||||||
|
, withAngrylionRdpPlus ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -26,15 +29,25 @@ let
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "rmg";
|
pname = "rmg";
|
||||||
version = "0.5.5";
|
version = "0.5.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Rosalie241";
|
owner = "Rosalie241";
|
||||||
repo = "RMG";
|
repo = "RMG";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-au5GDyfW9+drkDNBWNbPY5Bgbow/hQmvP5pWJsYKbYs=";
|
hash = "sha256-j3OVhcTGUXPC0+AqvAJ7+mc+IFqJeBITU99pvfXIunQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Fix bad concatenation of CMake GNUInstallDirs variables, causing broken asset lookup paths
|
||||||
|
# Remove when version > 0.5.7
|
||||||
|
(fetchpatch {
|
||||||
|
name = "0001-rmg-Fix-GNUInstallDirs-usage.patch";
|
||||||
|
url = "https://github.com/Rosalie241/RMG/commit/685aa597c7ee7ad7cfd4dd782f40d21863b75899.patch";
|
||||||
|
hash = "sha256-HnaxUAX+3Z/VTtYYuhoXOtsDtV61nskgyzEcp8fdBsU=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
nasm
|
nasm
|
||||||
|
@ -66,6 +79,7 @@ stdenv.mkDerivation rec {
|
||||||
# mupen64plus-input-gca is written in Rust, so we can't build it with
|
# mupen64plus-input-gca is written in Rust, so we can't build it with
|
||||||
# everything else.
|
# everything else.
|
||||||
"-DNO_RUST=ON"
|
"-DNO_RUST=ON"
|
||||||
|
"-DUSE_ANGRYLION=${lib.boolToString withAngrylionRdpPlus}"
|
||||||
];
|
];
|
||||||
|
|
||||||
qtWrapperArgs = lib.optionals stdenv.isLinux [
|
qtWrapperArgs = lib.optionals stdenv.isLinux [
|
||||||
|
@ -79,7 +93,7 @@ stdenv.mkDerivation rec {
|
||||||
Rosalie's Mupen GUI is a free and open-source mupen64plus front-end
|
Rosalie's Mupen GUI is a free and open-source mupen64plus front-end
|
||||||
written in C++. It offers a simple-to-use user interface.
|
written in C++. It offers a simple-to-use user interface.
|
||||||
'';
|
'';
|
||||||
license = licenses.gpl3;
|
license = if withAngrylionRdpPlus then licenses.unfree else licenses.gpl3Only;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
mainProgram = "RMG";
|
mainProgram = "RMG";
|
||||||
maintainers = with maintainers; [ slam-bert ];
|
maintainers = with maintainers; [ slam-bert ];
|
||||||
|
|
|
@ -9,18 +9,18 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "shopware-cli";
|
pname = "shopware-cli";
|
||||||
version = "0.4.13";
|
version = "0.4.18";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
repo = "shopware-cli";
|
repo = "shopware-cli";
|
||||||
owner = "FriendsOfShopware";
|
owner = "FriendsOfShopware";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-EetMOCqyzpNzxzCaaFHnSQEkjf9lZyYBWdRKMuxObNM=";
|
hash = "sha256-LOmGxH/czICSii8AkoXi1cQPL+MErV92iUZtJc2eg64=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles makeWrapper ];
|
nativeBuildInputs = [ installShellFiles makeWrapper ];
|
||||||
nativeCheckInputs = [ git dart-sass ];
|
nativeCheckInputs = [ git dart-sass ];
|
||||||
|
|
||||||
vendorHash = "sha256-TRc3VK1Sgpmi/ToMaqkIMIrxHoyYHNUgrtQewTuQ6ts=";
|
vendorHash = "sha256-KMNPw2B4fLaOdSIFHBIAKXUtnu0sMwksJg3RUZKLDsE=";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
export HOME="$(mktemp -d)"
|
export HOME="$(mktemp -d)"
|
||||||
|
|
|
@ -13,13 +13,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "show-midi";
|
pname = "show-midi";
|
||||||
version = "0.8.0";
|
version = "0.9.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "gbevin";
|
owner = "gbevin";
|
||||||
repo = "ShowMIDI";
|
repo = "ShowMIDI";
|
||||||
rev = finalAttrs.version;
|
rev = finalAttrs.version;
|
||||||
hash = "sha256-BtkfeHZyeSZH6wIojj3dd2nCS5R535dSWsis/hXJbPc=";
|
hash = "sha256-xt2LpoiaOWAeWM/YzaKM0WGi8aHs4T7pvMw1s/P4Oj0=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user