1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00

sakura: 3.8.3 -> 3.8.4

Changed to github because launchpad server is down.
This commit is contained in:
AndersonTorres 2021-11-18 17:43:53 -03:00
parent 2b310dd32b
commit bdb1133935

View file

@ -1,6 +1,6 @@
{ lib
, stdenv
, fetchurl
, fetchFromGitHub
, cmake
, glib
, gtk3
@ -13,11 +13,13 @@
stdenv.mkDerivation rec {
pname = "sakura";
version = "3.8.3";
version = "3.8.4";
src = fetchurl {
url = "https://launchpad.net/${pname}/trunk/${version}/+download/${pname}-${version}.tar.bz2";
sha256 = "sha256-UEDc3TjoqjLNZtWGlIZB3VTVQC+31AP0ASQH0fu+U+Q=";
src = fetchFromGitHub {
owner = "dabisu";
repo = pname;
rev = "SAKURA_${lib.replaceStrings [ "." ] [ "_" ] version}";
hash = "sha256-Sqo1gyCvCMlEv1rYqw6P3Dmu10osi/KqB7/WlgTTNAc=";
};
nativeBuildInputs = [
@ -36,7 +38,7 @@ stdenv.mkDerivation rec {
# Set path to gsettings-schemata so sakura knows where to find colorchooser,
# fontchooser etc.
postInstall = ''
postFixup = ''
wrapProgram $out/bin/sakura \
--suffix XDG_DATA_DIRS : ${gtk3}/share/gsettings-schemas/${gtk3.name}/
'';