Merge branch 'master' into staging-next
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "osinfo-db";
|
||||
version = "20190920";
|
||||
version = "20191125";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://releases.pagure.org/libosinfo/${pname}-${version}.tar.xz";
|
||||
sha256 = "12kwlqljaai4fsa08m7l28v41q6244dbracvqzcbg1cs0y9jxqy8";
|
||||
sha256 = "102mdykp5pjv7lw7saig640vb5a8ivy4ji8sa68q2wzfwg1yix78";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ osinfo-db-tools intltool libxml2 ];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ mkDerivation, lib, fetchFromGitHub, cmake, ninja, qtbase }:
|
||||
{ mkDerivation, lib, fetchFromGitHub, cmake, ninja, qtbase, pantheon }:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "adwaita-qt";
|
||||
@@ -26,6 +26,12 @@ mkDerivation rec {
|
||||
--replace "DESTINATION \"\''${QT_PLUGINS_DIR}/styles" "DESTINATION \"$qtPluginPrefix/styles"
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = pantheon.updateScript {
|
||||
attrPath = pname;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "A style to bend Qt applications to look like they belong into GNOME Shell";
|
||||
homepage = https://github.com/FedoraQt/adwaita-qt;
|
||||
|
||||
62
pkgs/data/themes/pop-gtk/default.nix
Normal file
62
pkgs/data/themes/pop-gtk/default.nix
Normal file
@@ -0,0 +1,62 @@
|
||||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, meson
|
||||
, ninja
|
||||
, sassc
|
||||
, gtk3
|
||||
, inkscape
|
||||
, optipng
|
||||
, gtk-engine-murrine
|
||||
, gdk-pixbuf
|
||||
, librsvg
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pop-gtk-theme";
|
||||
version = "2019-12-17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pop-os";
|
||||
repo = "gtk-theme";
|
||||
rev = "77601545f049251bce9c63a07f0d9819aa27cb60";
|
||||
sha256 = "0bmkcdr1z9m3inrw33zprq2a4jawql4724a84nr89r19xllj2z1s";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
sassc
|
||||
gtk3
|
||||
inkscape
|
||||
optipng
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gdk-pixbuf
|
||||
librsvg
|
||||
];
|
||||
|
||||
propagatedUserEnvPkgs = [
|
||||
gtk-engine-murrine
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
for file in $(find -name render-\*.sh); do
|
||||
patchShebangs "$file"
|
||||
|
||||
substituteInPlace "$file" \
|
||||
--replace 'INKSCAPE="/usr/bin/inkscape"' \
|
||||
'INKSCAPE="inkscape"' \
|
||||
--replace 'OPTIPNG="/usr/bin/optipng"' \
|
||||
'OPTIPNG="optipng"'
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "System76 Pop GTK+ Theme";
|
||||
homepage = "https://github.com/pop-os/gtk-theme";
|
||||
license = with licenses; [ gpl3 lgpl21 cc-by-sa-40 ];
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ elyhaka ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user