mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
Format the packages through nixfmt
This commit is contained in:
parent
ccf848e485
commit
e617dcb433
@ -16,14 +16,17 @@ let
|
|||||||
gstreamer_1_18_5 = gst_all_1.gstreamer.overrideAttrs (super: rec {
|
gstreamer_1_18_5 = gst_all_1.gstreamer.overrideAttrs (super: rec {
|
||||||
version = "1.18.5";
|
version = "1.18.5";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://gstreamer.freedesktop.org/src/${super.pname}/${super.pname}-${version}.tar.xz";
|
url =
|
||||||
|
"https://gstreamer.freedesktop.org/src/${super.pname}/${super.pname}-${version}.tar.xz";
|
||||||
sha256 = "sha256-VYYiMqY0Wbv1ar694whcqa7CEbR46JHazqTW34yv6Ao=";
|
sha256 = "sha256-VYYiMqY0Wbv1ar694whcqa7CEbR46JHazqTW34yv6Ao=";
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
gstreamer_plugins_base_1_18_5 = gst_all_1.gst-plugins-base.overrideAttrs (super: rec {
|
gstreamer_plugins_base_1_18_5 = gst_all_1.gst-plugins-base.overrideAttrs
|
||||||
|
(super: rec {
|
||||||
version = "1.18.5";
|
version = "1.18.5";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://gstreamer.freedesktop.org/src/${super.pname}/${super.pname}-${version}.tar.xz";
|
url =
|
||||||
|
"https://gstreamer.freedesktop.org/src/${super.pname}/${super.pname}-${version}.tar.xz";
|
||||||
sha256 = "sha256-lgt69FhXANsP3VuENVThHiVk/tngYfWR+uiKe+ZEb6M=";
|
sha256 = "sha256-lgt69FhXANsP3VuENVThHiVk/tngYfWR+uiKe+ZEb6M=";
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
{ stdenv, lib, fetchurl }:
|
{ stdenv, lib, fetchurl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec
|
stdenv.mkDerivation rec {
|
||||||
{
|
|
||||||
name = "guix-binary-${version}";
|
name = "guix-binary-${version}";
|
||||||
version = "1.3.0";
|
version = "1.3.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://ftp.gnu.org/gnu/guix/guix-binary-${version}.${stdenv.targetPlatform.system}.tar.xz";
|
url =
|
||||||
|
"https://ftp.gnu.org/gnu/guix/guix-binary-${version}.${stdenv.targetPlatform.system}.tar.xz";
|
||||||
sha256 = {
|
sha256 = {
|
||||||
"x86_64-linux" = "sha256-xffvtIlHVF5J0tr0jQ+DLzXSqNGfZdqvYHlCWsMnwFA=";
|
"x86_64-linux" = "sha256-xffvtIlHVF5J0tr0jQ+DLzXSqNGfZdqvYHlCWsMnwFA=";
|
||||||
"i686-linux" = "sha256-QHOK7hFh8LmRFK+EnNBNqfDNwQ0ia0lqRiHov9uyG2Q=";
|
"i686-linux" = "sha256-QHOK7hFh8LmRFK+EnNBNqfDNwQ0ia0lqRiHov9uyG2Q=";
|
||||||
|
@ -13,17 +13,17 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "sha256-lU6dGsX6jYYmwRz0z4V+4xTFAikUYCsszNVoyc7snwM=";
|
sha256 = "sha256-lU6dGsX6jYYmwRz0z4V+4xTFAikUYCsszNVoyc7snwM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ meson_0_60 ninja wrapGAppsHook4 ];
|
nativeBuildInputs = [
|
||||||
|
meson_0_60
|
||||||
buildInputs = [
|
ninja
|
||||||
libadwaita
|
wrapGAppsHook4
|
||||||
gjs
|
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
appstream-glib
|
appstream-glib
|
||||||
desktop-file-utils
|
desktop-file-utils
|
||||||
gsettings-desktop-schemas
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
buildInputs = [ libadwaita gjs gsettings-desktop-schemas ];
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
substituteInPlace $out/bin/re.sonny.Junction --replace "#!/usr/bin/env -S gjs" "#!${gjs}/bin/gjs"
|
substituteInPlace $out/bin/re.sonny.Junction --replace "#!/usr/bin/env -S gjs" "#!${gjs}/bin/gjs"
|
||||||
'';
|
'';
|
||||||
@ -32,5 +32,6 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = "https://github.com/sonnyp/Junction";
|
homepage = "https://github.com/sonnyp/Junction";
|
||||||
description = "Application chooser";
|
description = "Application chooser";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
|
mainProgram = "re.sonny.Junction";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user