gitkraken: 7.4.1 -> 7.5.0 (#110561)
This commit is contained in:
parent
5c38ea76a1
commit
95f8678091
@ -13,11 +13,11 @@ let
|
|||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gitkraken";
|
pname = "gitkraken";
|
||||||
version = "7.4.1";
|
version = "7.5.0";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://release.axocdn.com/linux/GitKraken-v${version}.tar.gz";
|
url = "https://release.axocdn.com/linux/GitKraken-v${version}.tar.gz";
|
||||||
sha256 = "1c9cyxx5sqvnilf6xp3ildq3lwl6mj8v1vl0wzyjpaiqky99lj9p";
|
sha256 = "1v89aza7iwph7k5phyld5m5856c5wbh8ncgg6lh7558v4xna0x57";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
desktopItem = makeDesktopItem {
|
desktopItem = makeDesktopItem {
|
||||||
name = "gitkraken";
|
name = pname;
|
||||||
exec = "gitkraken";
|
exec = "gitkraken";
|
||||||
icon = "gitkraken";
|
icon = "gitkraken";
|
||||||
desktopName = "GitKraken";
|
desktopName = "GitKraken";
|
||||||
@ -88,10 +88,7 @@ stdenv.mkDerivation rec {
|
|||||||
ln -s $out/share/gitkraken/gitkraken $out/bin/gitkraken
|
ln -s $out/share/gitkraken/gitkraken $out/bin/gitkraken
|
||||||
|
|
||||||
mkdir -p $out/share/applications
|
mkdir -p $out/share/applications
|
||||||
cp ${desktopItem}/share/applications/* $out/share/applications/
|
ln -s ${desktopItem}/share/applications/* $out/share/applications
|
||||||
|
|
||||||
substituteInPlace $out/share/applications/gitkraken.desktop \
|
|
||||||
--replace $out/usr/share/gitkraken $out/bin
|
|
||||||
|
|
||||||
mkdir -p $out/share/pixmaps
|
mkdir -p $out/share/pixmaps
|
||||||
cp gitkraken.png $out/share/pixmaps/gitkraken.png
|
cp gitkraken.png $out/share/pixmaps/gitkraken.png
|
||||||
|
Loading…
Reference in New Issue
Block a user