forked from mirrors/nixpkgs
rnote: 0.5.4 -> 0.5.7
Co-Authored-By: Robert Schütz <nix@dotlambda.de>
This commit is contained in:
parent
969a4732ff
commit
30a7d57f6a
|
@ -3,6 +3,8 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, alsa-lib
|
, alsa-lib
|
||||||
, appstream-glib
|
, appstream-glib
|
||||||
|
, clang
|
||||||
|
, cmake
|
||||||
, desktop-file-utils
|
, desktop-file-utils
|
||||||
, gio-sharp
|
, gio-sharp
|
||||||
, glib
|
, glib
|
||||||
|
@ -22,24 +24,26 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "rnote";
|
pname = "rnote";
|
||||||
version = "0.5.4";
|
version = "0.5.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "flxzt";
|
owner = "flxzt";
|
||||||
repo = "rnote";
|
repo = "rnote";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
hash = "sha256-CZLZblC10k5ynzDDXi/bOe6Rc6M94eywXjyu0ABOVq4=";
|
hash = "sha256-w4y+t8idcaNwvC2Wp9SRjcd4m23Zt+yHG2fjOA2rBU8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||||
inherit src;
|
inherit src;
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
hash = "sha256-Udat35KqrMWR0Ckx34BWoF0HiJHZ5CP2CGFD6FNCWRA=";
|
hash = "sha256-Hybbbokru4vz5ly3oZuNGdBa+lYbhdYjESUpRxIUqJc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
appstream-glib # For appstream-util
|
appstream-glib # For appstream-util
|
||||||
|
clang
|
||||||
|
cmake
|
||||||
desktop-file-utils # For update-desktop-database
|
desktop-file-utils # For update-desktop-database
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
|
@ -52,6 +56,8 @@ stdenv.mkDerivation rec {
|
||||||
wrapGAppsHook4
|
wrapGAppsHook4
|
||||||
];
|
];
|
||||||
|
|
||||||
|
dontUseCmakeConfigure = true;
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
alsa-lib
|
alsa-lib
|
||||||
gio-sharp
|
gio-sharp
|
||||||
|
@ -63,6 +69,8 @@ stdenv.mkDerivation rec {
|
||||||
poppler
|
poppler
|
||||||
];
|
];
|
||||||
|
|
||||||
|
LIBCLANG_PATH = "${clang.cc.lib}/lib";
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
pushd build-aux
|
pushd build-aux
|
||||||
chmod +x meson_post_install.py
|
chmod +x meson_post_install.py
|
||||||
|
|
Loading…
Reference in a new issue