depot/third_party/nixpkgs/pkgs/by-name/me/memorado/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

51 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 ];
};
}