64 lines
1.1 KiB
Nix
64 lines
1.1 KiB
Nix
|
|
{
|
||
|
|
lib,
|
||
|
|
stdenv,
|
||
|
|
fetchFromGitLab,
|
||
|
|
meson,
|
||
|
|
ninja,
|
||
|
|
pkg-config,
|
||
|
|
vala,
|
||
|
|
gtk4,
|
||
|
|
libgee,
|
||
|
|
libadwaita,
|
||
|
|
gtksourceview5,
|
||
|
|
blueprint-compiler,
|
||
|
|
wrapGAppsHook4,
|
||
|
|
desktop-file-utils,
|
||
|
|
template-glib,
|
||
|
|
nix-update-script,
|
||
|
|
}:
|
||
|
|
|
||
|
|
stdenv.mkDerivation rec {
|
||
|
|
pname = "elastic";
|
||
|
|
version = "0.1.9";
|
||
|
|
|
||
|
|
src = fetchFromGitLab {
|
||
|
|
domain = "gitlab.gnome.org";
|
||
|
|
owner = "World";
|
||
|
|
repo = "elastic";
|
||
|
|
rev = version;
|
||
|
|
hash = "sha256-jK9RcZ5U1Dwkpu1mlfq/l4347eRCd3Y/KDYYIIkGytk=";
|
||
|
|
};
|
||
|
|
|
||
|
|
nativeBuildInputs = [
|
||
|
|
meson
|
||
|
|
ninja
|
||
|
|
vala
|
||
|
|
pkg-config
|
||
|
|
wrapGAppsHook4
|
||
|
|
desktop-file-utils
|
||
|
|
blueprint-compiler
|
||
|
|
];
|
||
|
|
|
||
|
|
buildInputs = [
|
||
|
|
gtk4
|
||
|
|
libadwaita
|
||
|
|
libgee
|
||
|
|
gtksourceview5
|
||
|
|
template-glib
|
||
|
|
];
|
||
|
|
|
||
|
|
passthru = {
|
||
|
|
updateScript = nix-update-script { };
|
||
|
|
};
|
||
|
|
|
||
|
|
meta = with lib; {
|
||
|
|
description = "Design spring animations";
|
||
|
|
homepage = "https://gitlab.gnome.org/World/elastic/";
|
||
|
|
mainProgram = "app.drey.Elastic";
|
||
|
|
license = licenses.gpl3Plus;
|
||
|
|
platforms = platforms.unix;
|
||
|
|
maintainers = with maintainers; [ _0xMRTT ];
|
||
|
|
teams = [ teams.gnome-circle ];
|
||
|
|
};
|
||
|
|
}
|