mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 19:26:02 +00:00
35 lines
937 B
Nix
35 lines
937 B
Nix
|
{ stdenv, fetchFromGitHub
|
||
|
, pkgconfig, meson, ninja, python3
|
||
|
, wrapGAppsHook, vala, shared-mime-info
|
||
|
, cairo, pantheon, glib, gtk3, libxml2, libgee, libarchive
|
||
|
}:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "minder";
|
||
|
version = "1.3.1";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "phase1geo";
|
||
|
repo = pname;
|
||
|
rev = version;
|
||
|
sha256 = "0b9acrdi712f7g08gj6wd9mvdrf11vfgp0rdzlwinl19bsr0zwpm";
|
||
|
};
|
||
|
|
||
|
nativeBuildInputs = [ pkgconfig meson ninja python3 wrapGAppsHook vala shared-mime-info ];
|
||
|
buildInputs = [ cairo pantheon.granite glib gtk3 libxml2 libgee libarchive ];
|
||
|
|
||
|
postPatch = ''
|
||
|
chmod +x meson/post_install.py
|
||
|
patchShebangs meson/post_install.py
|
||
|
'';
|
||
|
|
||
|
meta = with stdenv.lib; {
|
||
|
description = "Mind-mapping application for Elementary OS";
|
||
|
homepage = "https://github.com/phase1geo/Minder";
|
||
|
license = licenses.gpl3Plus;
|
||
|
platforms = platforms.linux;
|
||
|
maintainers = with maintainers; [ dtzWill ];
|
||
|
};
|
||
|
}
|
||
|
|