ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
57 lines
1 KiB
Nix
57 lines
1 KiB
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, vala
|
|
, meson
|
|
, ninja
|
|
, wrapGAppsHook4
|
|
, gst_all_1
|
|
, libadwaita
|
|
, libxml2
|
|
, desktop-file-utils
|
|
, pkg-config
|
|
, libportal-gtk4
|
|
, blueprint-compiler
|
|
, appstream-glib
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "flowtime";
|
|
version = "6.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Diego-Ivan";
|
|
repo = "Flowtime";
|
|
rev = "v${version}";
|
|
hash = "sha256-wTqHTkt1O3Da2fzxf6DiQjrqOt65ZEhLOkGK5C6HzIk=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
blueprint-compiler
|
|
desktop-file-utils
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
vala
|
|
wrapGAppsHook4
|
|
appstream-glib
|
|
];
|
|
|
|
buildInputs = [
|
|
libadwaita
|
|
libxml2
|
|
libportal-gtk4
|
|
] ++ (with gst_all_1; [
|
|
gstreamer
|
|
gst-plugins-base
|
|
]);
|
|
|
|
meta = with lib; {
|
|
description = "Get what motivates you done, without losing concentration";
|
|
mainProgram = "flowtime";
|
|
homepage = "https://github.com/Diego-Ivan/Flowtime";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ foo-dogsquared pokon548 ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|