nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 meson,
6 ninja,
7 pkg-config,
8 vala,
9 wrapGAppsHook4,
10 libgee,
11 live-chart,
12 ryokucha,
13 pantheon,
14 gst_all_1,
15}:
16
17stdenv.mkDerivation (finalAttrs: {
18 pname = "reco";
19 version = "5.0.2";
20
21 src = fetchFromGitHub {
22 owner = "ryonakano";
23 repo = "reco";
24 rev = finalAttrs.version;
25 hash = "sha256-uZAcZJLQH0MTI4NSJnZvzYPBFVXGBqAhsjVLAVP/ZwI=";
26 };
27
28 nativeBuildInputs = [
29 meson
30 ninja
31 pkg-config
32 vala
33 wrapGAppsHook4
34 ];
35
36 buildInputs = [
37 libgee
38 live-chart
39 ryokucha
40 pantheon.granite7
41 gst_all_1.gstreamer
42 gst_all_1.gst-plugins-base
43 gst_all_1.gst-plugins-good
44 gst_all_1.gst-libav
45 ];
46
47 mesonFlags = [ (lib.mesonBool "use_submodule" false) ];
48
49 meta = {
50 description = "Audio recorder focused on being concise and simple to use";
51 homepage = "https://github.com/ryonakano/reco";
52 license = lib.licenses.gpl3Plus;
53 mainProgram = "com.github.ryonakano.reco";
54 maintainers = with lib.maintainers; [ aleksana ];
55 platforms = lib.platforms.unix;
56 };
57})