nixpkgs/pkgs/by-name/me/memorado/package.nix
2024-10-12 11:06:08 +00:00

52 lines
922 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
, gtk4
, pkg-config
, libadwaita
, blueprint-compiler
, python3
, desktop-file-utils
, gobject-introspection
, wrapGAppsHook4
}:
stdenv.mkDerivation rec {
pname = "memorado";
version = "0.4";
src = fetchFromGitHub {
owner = "wbernard";
repo = "Memorado";
rev = "refs/tags/${version}";
hash = "sha256-yWu2+VAa5FkpLs/KLI0lcNzFLGN/kiq6frtW8SHN+W4=";
};
nativeBuildInputs = [
blueprint-compiler
desktop-file-utils
gobject-introspection
meson
ninja
pkg-config
wrapGAppsHook4
];
buildInputs = [
gtk4
libadwaita
(python3.withPackages (ps: with ps; [
pygobject3
]))
];
meta = with lib; {
description = "Simple and clean flashcard memorizing app";
homepage = "https://github.com/wbernard/Memorado";
license = licenses.gpl3Only;
maintainers = with maintainers; [ onny ];
};
}