-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
541 additions
and
558 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,22 @@ | ||
{ final, prev, gitOverride, ... }: | ||
{ prev, gitOverride, ... }: | ||
|
||
gitOverride { | ||
nyxKey = "alacritty_git"; | ||
versionNyxPath = "pkgs/alacritty-git/version.json"; | ||
versionLocalPath = ./version.json; | ||
prev = prev.alacritty; | ||
fetcher = | ||
_prevAttrs: finalArgs: final.fetchFromGitHub ({ | ||
owner = "alacritty"; | ||
repo = "alacritty"; | ||
} // finalArgs); | ||
fetchLatestRev = src: final.callPackage ../../shared/github-rev-fetcher.nix { inherit src; ref = "master"; }; | ||
|
||
postOverrides = [ | ||
(prevAttrs: { | ||
postInstall = | ||
builtins.replaceStrings | ||
[ "extra/alacritty.man" "extra/alacritty-msg.man" "install -Dm 644 alacritty.yml $out/share/doc/alacritty.yml" ] | ||
[ "extra/alacritty.*" "extra/alacritty-msg.*" "" ] | ||
prevAttrs.postInstall; | ||
}) | ||
]; | ||
versionNyxPath = "pkgs/alacritty-git/version.json"; | ||
fetcher = "fetchFromGitHub"; | ||
fetcherData = { | ||
owner = "alacritty"; | ||
repo = "alacritty"; | ||
}; | ||
ref = "master"; | ||
|
||
postOverride = prevAttrs: { | ||
postInstall = | ||
builtins.replaceStrings | ||
[ "extra/alacritty.man" "extra/alacritty-msg.man" "install -Dm 644 alacritty.yml $out/share/doc/alacritty.yml" ] | ||
[ "extra/alacritty.*" "extra/alacritty-msg.*" "" ] | ||
prevAttrs.postInstall; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
{ final, prev, gitOverride, ... }: | ||
|
||
let | ||
src = { | ||
gitOverride { | ||
nyxKey = "extra-cmake-modules_git"; | ||
prev = final.qt6.callPackage ./default.nix { }; | ||
|
||
versionNyxPath = "pkgs/extra-cmake-modules-git/version.json"; | ||
fetcher = "fetchFromGitLab"; | ||
fetcherData = { | ||
domain = "invent.kde.org"; | ||
owner = "frameworks"; | ||
repo = "extra-cmake-modules"; | ||
}; | ||
in | ||
gitOverride { | ||
nyxKey = "extra-cmake-modules_git"; | ||
versionNyxPath = "pkgs/extra-cmake-modules-git/version.json"; | ||
versionLocalPath = ./version.json; | ||
prev = final.qt6.callPackage ./default.nix { }; | ||
fetcher = | ||
_prevAttrs: finalArgs: final.fetchFromGitLab (src // finalArgs); | ||
fetchLatestRev = _src: final.callPackage ../../shared/gitlab-rev-fetcher.nix { inherit src; ref = "master"; }; | ||
ref = "master"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
{ final, prev, gitOverride, ... }: | ||
{ prev, gitOverride, ... }: | ||
|
||
gitOverride { | ||
nyxKey = "gamescope_git"; | ||
versionNyxPath = "pkgs/gamescope-git/version.json"; | ||
versionLocalPath = ./version.json; | ||
prev = prev.gamescope; | ||
fetcher = | ||
_prevAttrs: finalArgs: final.fetchFromGitHub ({ | ||
owner = "ValveSoftware"; | ||
repo = "gamescope"; | ||
} // finalArgs); | ||
fetchLatestRev = src: final.callPackage ../../shared/github-rev-fetcher.nix { inherit src; ref = "master"; }; | ||
hasSubmodules = true; | ||
postOverrides = [ (_prevAttrs: { postUnpack = ""; }) ]; # erase wlroots replacement since we're fetching submodules. | ||
|
||
versionNyxPath = "pkgs/gamescope-git/version.json"; | ||
fetcher = "fetchFromGitHub"; | ||
fetcherData = { | ||
owner = "ValveSoftware"; | ||
repo = "gamescope"; | ||
fetchSubmodules = true; | ||
}; | ||
ref = "master"; | ||
|
||
postOverride = _prevAttrs: { | ||
# erase wlroots replacement since we're fetching submodules. | ||
postUnpack = ""; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,26 @@ | ||
{ prev, final, nyxUtils, gitOverride, ... }: | ||
|
||
let | ||
srcMeta = { | ||
gitOverride { | ||
nyxKey = "glib_git"; | ||
prev = prev.glib; | ||
|
||
versionNyxPath = "pkgs/glib-git/version.json"; | ||
fetcher = "fetchFromGitLab"; | ||
fetcherData = { | ||
domain = "gitlab.gnome.org"; | ||
owner = "GNOME"; | ||
repo = "glib"; | ||
fetchSubmodules = true; | ||
}; | ||
in | ||
gitOverride { | ||
nyxKey = "glib_git"; | ||
versionNyxPath = "pkgs/glib-git/version.json"; | ||
versionLocalPath = ./version.json; | ||
prev = prev.glib; | ||
fetcher = | ||
_prevAttrs: finalArgs: final.fetchFromGitLab (srcMeta // finalArgs); | ||
fetchLatestRev = src: final.callPackage ../../shared/gitlab-rev-fetcher.nix { src = src // srcMeta; ref = "main"; }; | ||
hasSubmodules = true; | ||
|
||
postOverrides = [ | ||
(prevAttrs: rec { | ||
patches = | ||
(nyxUtils.removeByBaseName "split-dev-programs.patch" prevAttrs.patches) | ||
++ [ | ||
(final.fetchpatch { | ||
url = "https://raw.githubusercontent.com/NixOS/nixpkgs/8f5cf46a9b75b934323971b8bc9dc571888164f0/pkgs/development/libraries/glib/split-dev-programs.patch"; | ||
hash = "sha256-fPGXPBPMNdpwZn+VJMRTzDK2UX/0q09RAyigbIf2jq4="; | ||
}) | ||
]; | ||
}) | ||
]; | ||
postOverride = prevAttrs: { | ||
patches = | ||
(nyxUtils.removeByBaseName "split-dev-programs.patch" prevAttrs.patches) | ||
++ [ | ||
(final.fetchpatch { | ||
url = "https://raw.githubusercontent.com/NixOS/nixpkgs/8f5cf46a9b75b934323971b8bc9dc571888164f0/pkgs/development/libraries/glib/split-dev-programs.patch"; | ||
hash = "sha256-fPGXPBPMNdpwZn+VJMRTzDK2UX/0q09RAyigbIf2jq4="; | ||
}) | ||
]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,39 @@ | ||
{ prev, final, gitOverride, ... }: | ||
|
||
let | ||
srcMeta = { | ||
domain = "gitlab.gnome.org"; | ||
owner = "GNOME"; | ||
repo = "glibmm"; | ||
}; | ||
in | ||
gitOverride { | ||
newInputs = with final; { glib = glib_git; }; | ||
|
||
nyxKey = "glibmm_git"; | ||
versionNyxPath = "pkgs/glibmm-git/version.json"; | ||
versionLocalPath = ./version.json; | ||
prev = prev.glibmm_2_68; | ||
fetcher = | ||
_prevAttrs: finalArgs: final.fetchFromGitLab (srcMeta // finalArgs); | ||
fetchLatestRev = src: final.callPackage ../../shared/gitlab-rev-fetcher.nix { src = src // srcMeta; ref = "master"; }; | ||
|
||
postOverrides = [ | ||
(prevAttrs: rec { | ||
nativeBuildInputs = prevAttrs.nativeBuildInputs ++ (with final; [ | ||
doxygen | ||
graphviz-nox | ||
libxslt | ||
(mm-common.overrideAttrs (_prevAttrs: { | ||
postInstall = '' | ||
patchShebangs $out/bin | ||
''; | ||
})) | ||
perl538 | ||
perl538Packages.XMLParser | ||
python310 | ||
]); | ||
mesonFlags = [ | ||
(final.lib.strings.mesonBool "maintainer-mode" true) | ||
]; | ||
preConfigure = '' | ||
patchShebangs tools | ||
''; | ||
}) | ||
]; | ||
versionNyxPath = "pkgs/glibmm-git/version.json"; | ||
fetcher = "fetchFromGitLab"; | ||
fetcherData = { | ||
domain = "gitlab.gnome.org"; | ||
owner = "GNOME"; | ||
repo = "glibmm"; | ||
}; | ||
ref = "master"; | ||
|
||
postOverride = prevAttrs: { | ||
nativeBuildInputs = prevAttrs.nativeBuildInputs ++ (with final; [ | ||
doxygen | ||
graphviz-nox | ||
libxslt | ||
(mm-common.overrideAttrs (_prevAttrs: { | ||
postInstall = '' | ||
patchShebangs $out/bin | ||
''; | ||
})) | ||
perl538 | ||
perl538Packages.XMLParser | ||
python310 | ||
]); | ||
mesonFlags = [ | ||
(final.lib.strings.mesonBool "maintainer-mode" true) | ||
]; | ||
preConfigure = '' | ||
patchShebangs tools | ||
''; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,17 @@ | ||
{ final, prev, gitOverride, ... }: | ||
|
||
let | ||
src = { | ||
domain = "invent.kde.org"; | ||
owner = "frameworks"; | ||
repo = "kcoreaddons"; | ||
}; | ||
in | ||
gitOverride { | ||
nyxKey = "kf6coreaddons_git"; | ||
versionNyxPath = "pkgs/kf6coreaddons-git/version.json"; | ||
versionLocalPath = ./version.json; | ||
prev = final.qt6.callPackage ./default.nix { | ||
extra-cmake-modules = final.extra-cmake-modules_git; | ||
}; | ||
fetcher = | ||
_prevAttrs: finalArgs: final.fetchFromGitLab (src // finalArgs); | ||
fetchLatestRev = _src: final.callPackage ../../shared/gitlab-rev-fetcher.nix { inherit src; ref = "master"; }; | ||
|
||
versionNyxPath = "pkgs/kf6coreaddons-git/version.json"; | ||
fetcher = "fetchFromGitLab"; | ||
fetcherData = { | ||
domain = "invent.kde.org"; | ||
owner = "frameworks"; | ||
repo = "kcoreaddons"; | ||
}; | ||
ref = "master"; | ||
} |
Oops, something went wrong.