mint-artwork: init at 1.4.3
This commit is contained in:
parent
a5a97c3f64
commit
4da4af45f7
2 changed files with 40 additions and 0 deletions
|
@ -22,6 +22,7 @@ lib.makeScope pkgs.newScope (self: with self; {
|
|||
cinnamon-settings-daemon = callPackage ./cinnamon-settings-daemon { };
|
||||
cjs = callPackage ./cjs { };
|
||||
nemo = callPackage ./nemo { };
|
||||
mint-artwork = callPackage ./mint-artwork { };
|
||||
mint-themes = callPackage ./mint-themes { };
|
||||
mint-x-icons = callPackage ./mint-x-icons { };
|
||||
mint-y-icons = callPackage ./mint-y-icons { };
|
||||
|
|
39
pkgs/desktops/cinnamon/mint-artwork/default.nix
Normal file
39
pkgs/desktops/cinnamon/mint-artwork/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ stdenv
|
||||
, fetchurl
|
||||
, glib
|
||||
, nixos-artwork
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mint-artwork";
|
||||
version = "1.4.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://packages.linuxmint.com/pool/main/m/mint-artwork/mint-artwork_${version}.tar.xz";
|
||||
sha256 = "126asxpg722qfg2wkwcr7bhsplchq3jn6bkdwf1scpc5za8dd62j";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
glib
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
|
||||
# note: we fuck up a bunch of stuff but idc
|
||||
find . -type f -exec sed -i \
|
||||
-e s,/usr/share/backgrounds/linuxmint/default_background.jpg,${nixos-artwork.wallpapers.simple-dark-gray}/share/artwork/gnome/nix-wallpaper-simple-dark-gray.png,g \
|
||||
-e s,/usr/share,$out/share,g \
|
||||
-e s,DMZ-White,Vanilla-DMZ,g \
|
||||
-e s,DMZ-Black,Vanilla-DMZ-AA,g \
|
||||
-e s,linuxmint-logo-5,cinnamon-symbolic,g \
|
||||
-e s,^theme-name=Mint-X$,theme-name=Mint-X-Dark,g \
|
||||
{} +
|
||||
|
||||
# fixup broken symlink
|
||||
ln -sf ./sele_ring.jpg usr/share/backgrounds/linuxmint/default_background.jpg
|
||||
|
||||
mv etc $out/etc
|
||||
mv usr/share $out/share
|
||||
'';
|
||||
}
|
Loading…
Reference in a new issue