tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
gittyup: 1.2.2 -> 1.3.0
zendo
2 years ago
56ce1124
7caa1b57
+4
-23
1 changed file
expand all
collapse all
unified
split
pkgs
applications
version-management
gittyup
default.nix
+4
-23
pkgs/applications/version-management/gittyup/default.nix
···
18
18
19
19
stdenv.mkDerivation rec {
20
20
pname = "gittyup";
21
21
-
version = "1.2.2";
21
21
+
version = "1.3.0";
22
22
23
23
src = fetchFromGitHub {
24
24
owner = "Murmele";
25
25
repo = "Gittyup";
26
26
rev = "gittyup_v${version}";
27
27
-
hash = "sha256-JJ20vls/NGkm0xV+vDguvuW5yqhOQf83TMvnn5Kx4IE=";
27
27
+
hash = "sha256-/8Uipz2R/LuA3KUcFsROOmldIKnCVLfIpIQ9YLpPA+k=";
28
28
fetchSubmodules = true;
29
29
};
30
30
···
38
38
"-DUSE_SYSTEM_LIBSSH2=ON"
39
39
"-DUSE_SYSTEM_LUA=ON"
40
40
"-DUSE_SYSTEM_OPENSSL=ON"
41
41
+
"-DENABLE_UPDATE_OVER_GUI=OFF"
41
42
];
42
43
43
44
nativeBuildInputs = [
···
62
63
]);
63
64
64
65
postInstall = ''
65
65
-
mkdir -p $out/bin
66
66
-
67
67
-
# Move binaries to the proper place
68
68
-
# TODO: Tweak in the next release: https://github.com/Murmele/Gittyup/commit/5b93e7e514b887fafb00a8158be5986e6c12b2e3
69
69
-
mv $out/Gittyup $out/bin/gittyup
70
70
-
mv $out/{indexer,relauncher} $out/bin
71
71
-
72
66
# Those are not program libs, just some Qt5 libs that the build system leaks for some reason
73
73
-
rm -f $out/*.so.*
74
74
-
rm -rf $out/{include,lib,Plugins,Resources}
75
75
-
'' + lib.optionalString stdenv.isLinux ''
76
76
-
# Install icons
77
77
-
install -Dm0644 ${src}/rsrc/Gittyup.iconset/gittyup_logo.svg $out/share/icons/hicolor/scalable/apps/gittyup.svg
78
78
-
for res in 16x16 32x32 64x64 128x128 256x256 512x512; do
79
79
-
install -Dm0644 ${src}/rsrc/Gittyup.iconset/icon_$res.png $out/share/icons/hicolor/$res/apps/gittyup.png
80
80
-
done
81
81
-
82
82
-
# Install desktop file
83
83
-
install -Dm0644 ${src}/rsrc/linux/com.github.Murmele.Gittyup.desktop $out/share/applications/gittyup.desktop
84
84
-
# TODO: Remove in the next release: https://github.com/Murmele/Gittyup/commit/5b93e7e514b887fafb00a8158be5986e6c12b2e3
85
85
-
substituteInPlace $out/share/applications/gittyup.desktop \
86
86
-
--replace "Exec=Gittyup" "Exec=gittyup"
67
67
+
rm -rf $out/{include,lib}
87
68
'';
88
69
89
70
meta = with lib; {