Skip to content

Commit

Permalink
flake: nixfmt
Browse files Browse the repository at this point in the history
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
  • Loading branch information
Scrumplex committed Dec 6, 2024
1 parent d7138ff commit ea93611
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 16 deletions.
4 changes: 3 additions & 1 deletion parts/checks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
let
inherit (lib) filterAttrs mapAttrs' nameValuePair;

packages' = filterAttrs (_: pkg: !pkg.meta.broken && (lib.meta.availableOn pkgs.stdenv.hostPlatform pkg)) 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
37 changes: 22 additions & 15 deletions pkgs/by-name/pr/proton-ge-rtsp-bin/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,27 @@
lib,
proton-ge-bin,
}:
proton-ge-bin.overrideAttrs (finalAttrs: _: {
pname = "proton-ge-rtsp-bin";
version = "GE-Proton9-20-rtsp16";
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=";
};
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
];
};
})
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 ea93611

Please sign in to comment.