refactor: remove precise inputs from lib.nix

This commit is contained in:
matt1432 2024-06-24 11:38:30 -04:00
commit 22267e6c2e
13 changed files with 47 additions and 46 deletions

View file

@ -5,7 +5,7 @@
}:
buildLua rec {
pname = "zenity-open-files";
version = "unstable";
version = "0.0.0";
unpackPhase = ":";
src = fetchurl {

View file

@ -1,12 +1,13 @@
{
modernx-src,
makeFontsConf,
buildLua,
makeFontsConf,
mkVersion,
modernx-src,
...
}:
buildLua (finalAttrs: {
pname = "modernx";
version = modernx-src.shortRev;
version = mkVersion modernx-src;
src = modernx-src;
@ -15,6 +16,7 @@ buildLua (finalAttrs: {
mkdir -p $out/share/fonts
cp -r ./Material-Design-Iconic-Font.ttf $out/share/fonts
'';
passthru.extraWrapperArgs = [
"--set"
"FONTCONFIG_FILE"

View file

@ -1,11 +1,12 @@
{
mpv-persist-properties-src,
buildLua,
mkVersion,
mpv-persist-properties-src,
...
}:
buildLua {
pname = "persist-properties";
version = mpv-persist-properties-src.shortRev;
version = mkVersion mpv-persist-properties-src;
src = mpv-persist-properties-src;
}

View file

@ -1,11 +1,12 @@
{
mpv-pointer-event-src,
buildLua,
mkVersion,
mpv-pointer-event-src,
...
}:
buildLua {
pname = "pointer-event";
version = mpv-pointer-event-src.shortRev;
version = mkVersion mpv-pointer-event-src;
src = mpv-pointer-event-src;
}

View file

@ -1,11 +1,12 @@
{
mpv-touch-gestures-src,
buildLua,
mkVersion,
mpv-touch-gestures-src,
...
}:
buildLua {
pname = "touch-gestures";
version = mpv-touch-gestures-src.shortRev;
version = mkVersion mpv-touch-gestures-src;
src = mpv-touch-gestures-src;
}

View file

@ -1,11 +1,12 @@
{
eisa-scripts-src,
buildLua,
eisa-scripts-src,
mkVersion,
...
}:
buildLua rec {
pname = "undo-redo";
version = eisa-scripts-src.shortRev;
version = mkVersion eisa-scripts-src;
src = eisa-scripts-src;
scriptPath = "${src}/scripts/UndoRedo.lua";