Skip to content

Commit

Permalink
Merge pull request #276 from nix-community/pkgs/proton-ge-rtsp-bin/init
Browse files Browse the repository at this point in the history
proton-ge-rtsp-bin: init at GE-Proton9-20-rtsp16
  • Loading branch information
Scrumplex authored Dec 6, 2024
2 parents 54f2dca + 8d324c3 commit d7138ff
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ This overlay provides the following packages:
- `index_camera_passthrough`
- `monado`
- `opencomposite`
- `opencomposite-hand-fixes`
- `opencomposite-vendored`
- `proton-ge-rtsp-bin`
- `wlx-overlay-s`

[binary-cache]: https://app.cachix.org/cache/nix-community
Expand Down
4 changes: 2 additions & 2 deletions parts/checks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
{ lib, ... }:
{
perSystem =
{ config, ... }:
{ config, pkgs, ... }:
let
inherit (lib) filterAttrs mapAttrs' nameValuePair;

packages' = filterAttrs (_: pkg: !pkg.meta.broken) config.packages;
packages' = filterAttrs (_: pkg: !pkg.meta.broken && (lib.meta.availableOn pkgs.stdenv.hostPlatform pkg)) config.packages;

packageChecks = mapAttrs' (n: nameValuePair "package-${n}") packages';
devShellChecks = mapAttrs' (n: nameValuePair "devShell-${n}") config.devShells;
Expand Down
25 changes: 25 additions & 0 deletions pkgs/by-name/pr/proton-ge-rtsp-bin/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# SPDX-FileCopyrightText: 2024 Sefa Eyeoglu <contact@scrumplex.net>
#
# SPDX-License-Identifier: MIT
{
fetchzip,
lib,
proton-ge-bin,
}:
proton-ge-bin.overrideAttrs (finalAttrs: _: {
pname = "proton-ge-rtsp-bin";
version = "GE-Proton9-20-rtsp16";

src = fetchzip {
url = "https://github.com/SpookySkeletons/proton-ge-rtsp/releases/download/${finalAttrs.version}/${finalAttrs.version}.tar.gz";
hash = "sha256-iq7oiDW5+51wzqYwASOGSV922c/pg1k29MdkIXlT34k=";
};

meta = {
inherit (proton-ge-bin.meta) description license platforms sourceProvenance;
homepage = "https://github.com/SpookySkeletons/proton-ge-rtsp";
maintainers = with lib.maintainers; [
Scrumplex
];
};
})

0 comments on commit d7138ff

Please sign in to comment.