mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 06:19:00 +00:00
pkgs/flatsync: init at unstable-2024-08-16
This commit is contained in:
parent
b1b481c68b
commit
ea7ee97ad1
@ -10,6 +10,7 @@ lib.makeScope newScope (self: {
|
|||||||
ctrld = callPackage ./ctrld { };
|
ctrld = callPackage ./ctrld { };
|
||||||
domterm = libsForQt5.callPackage ./domterm { };
|
domterm = libsForQt5.callPackage ./domterm { };
|
||||||
fastn = callPackage ./fastn { };
|
fastn = callPackage ./fastn { };
|
||||||
|
flatsync = callPackage ./flatsync { };
|
||||||
freerct = callPackage ./freerct.nix { };
|
freerct = callPackage ./freerct.nix { };
|
||||||
distant = callPackage ./distant.nix { };
|
distant = callPackage ./distant.nix { };
|
||||||
gnome-search-provider-recoll =
|
gnome-search-provider-recoll =
|
||||||
|
71
pkgs/flatsync/default.nix
Normal file
71
pkgs/flatsync/default.nix
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
{ stdenv
|
||||||
|
, lib
|
||||||
|
, fetchFromGitLab
|
||||||
|
, rustPlatform
|
||||||
|
, cargo
|
||||||
|
, rustc
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, pkg-config
|
||||||
|
, glib
|
||||||
|
, gobject-introspection
|
||||||
|
, libadwaita
|
||||||
|
, wrapGAppsHook4
|
||||||
|
, openssl
|
||||||
|
, appstream-glib
|
||||||
|
, desktop-file-utils
|
||||||
|
, blueprint-compiler
|
||||||
|
, flatpak
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "flatsync";
|
||||||
|
version = "unstable-2024-08-16";
|
||||||
|
|
||||||
|
src = fetchFromGitLab {
|
||||||
|
domain = "gitlab.gnome.org";
|
||||||
|
owner = "Cogitri";
|
||||||
|
repo = "flatsync";
|
||||||
|
rev = "4ae868217b00d8c7fc9450cdf41eda8d8303508f";
|
||||||
|
hash = "sha256-ATFJv9XtNuIYrz7gbVt1yFM10wNAbOa/cUeDVjSGrGY=";
|
||||||
|
};
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||||
|
name = "${finalAttrs.pname}-${finalAttrs.version}-deps";
|
||||||
|
inherit (finalAttrs) src;
|
||||||
|
hash = "sha256-qC/kj0eCrSjFmyDwrqtameYRTajnY8HoQaOxME4zWJI=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
appstream-glib
|
||||||
|
blueprint-compiler
|
||||||
|
cargo
|
||||||
|
desktop-file-utils
|
||||||
|
gobject-introspection
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
pkg-config
|
||||||
|
rustPlatform.cargoSetupHook
|
||||||
|
rustPlatform.bindgenHook
|
||||||
|
rustc
|
||||||
|
wrapGAppsHook4
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
glib
|
||||||
|
flatpak
|
||||||
|
libadwaita
|
||||||
|
openssl
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://gitlab.gnome.org/Cogitri/flatsync";
|
||||||
|
# It has no license yet so technically it's unfree.
|
||||||
|
license = licenses.unfree;
|
||||||
|
description = "Synchronize your Flatpaks across multiple machines";
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ foo-dogsquared ];
|
||||||
|
mainProgram = "flatsync";
|
||||||
|
};
|
||||||
|
})
|
Loading…
Reference in New Issue
Block a user