nixpkgs/pkgs/by-name/me/memorado/package.nix
2024-06-07 19:37:49 +02: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.3";
src = fetchFromGitHub {
owner = "wbernard";
repo = "Memorado";
rev = "refs/tags/${version}";
hash = "sha256-bArcYUHSfpjYsySGZco4fmb6bKRFtG6efhzNSqUROX0=";
};
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 ];
};
}