mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
52 lines
922 B
Nix
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 ];
|
|
};
|
|
}
|