mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
peruse: 1.1 -> 1.2
1.2 also ships Peruse Creator
This commit is contained in:
parent
7ee897a3b3
commit
3674be1e98
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
kdeDerivation, kdeWrapper, fetchFromGitHub, fetchurl, lib,
|
kdeDerivation, kdeWrapper, fetchFromGitHub, fetchurl, lib,
|
||||||
ecm, kdoctools,
|
ecm, kdoctools,
|
||||||
baloo, kconfig, kfilemetadata, kinit, kirigami, plasma-framework
|
baloo, kconfig, kfilemetadata, kinit, kirigami, knewstuff, plasma-framework
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
pname = "peruse";
|
pname = "peruse";
|
||||||
version = "1.1";
|
version = "1.2";
|
||||||
unarr = fetchFromGitHub {
|
unarr = fetchFromGitHub {
|
||||||
owner = "zeniko";
|
owner = "zeniko";
|
||||||
repo = "unarr";
|
repo = "unarr";
|
||||||
@ -18,15 +18,17 @@ let
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kde/stable/${pname}/${name}.tar.xz";
|
url = "mirror://kde/stable/${pname}/${name}.tar.xz";
|
||||||
sha256 = "1akk9hg12y6iis0rb5kdkznm3xk7hk04r9ccqyz8lr6y073n5f9j";
|
sha256 = "1ik2627xynkichsq9x28rkczqn3l3p06q6vw5jdafdh3hisccmjq";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ ecm kdoctools ];
|
nativeBuildInputs = [ ecm kdoctools ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ baloo kconfig kfilemetadata kinit kirigami plasma-framework ];
|
propagatedBuildInputs = [ baloo kconfig kfilemetadata kinit kirigami knewstuff plasma-framework ];
|
||||||
|
|
||||||
|
pathsToLink = [ "/etc/xdg/peruse.knsrc"];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
rmdir src/qtquick/karchive-rar/external/unarr
|
rm -rf src/qtquick/karchive-rar/external/unarr
|
||||||
ln -s ${unarr} src/qtquick/karchive-rar/external/unarr
|
ln -s ${unarr} src/qtquick/karchive-rar/external/unarr
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -39,5 +41,5 @@ let
|
|||||||
|
|
||||||
in kdeWrapper {
|
in kdeWrapper {
|
||||||
inherit unwrapped;
|
inherit unwrapped;
|
||||||
targets = [ "bin/peruse" ];
|
targets = [ "bin/peruse" "bin/perusecreator" ];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user