platinum9

This commit is contained in:
alex 2023-06-18 17:35:42 -04:00
parent f02e37c9ad
commit 16665e63dc
4 changed files with 67 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
result

27
flake.lock Normal file
View File

@ -0,0 +1,27 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1686921029,
"narHash": "sha256-J1bX9plPCFhTSh6E3TWn9XSxggBh/zDD4xigyaIQBy8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c7ff1b9b95620ce8728c0d7bd501c458e6da9e04",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-23.05",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

View File

@ -4,6 +4,6 @@
};
outputs = { self, nixpkgs }: {
packages.x86_64-linux.hello = nixpkgs.legacyPackages.x86_64-linux.hello;
packages.x86_64-linux.theme-platinum9 = import ./platinum9/default.nix;
};
}

38
platinum9/default.nix Normal file
View File

@ -0,0 +1,38 @@
{ stdenv, fetchFromGitea }: #, autoreconfHook, pkg-config, gtk-engine-murrine }:
stdenv.mkDerivation rec {
pname = "theme-platinum9";
version = "d3d2080c1a2d5772714d089d1dc1daeeb41db008";
src = fetchFromGitea {
domain = "git.atauno.com";
owner = "atau";
repo = "Platinum9";
rev = version;
sha256 = "0c9mhrs95ahz37djrv176vn41ywvj26ilwmnr1h9171giv6hid98";
};
# nativeBuildInputs = [ autoreconfHook pkg-config ];
# propagatedUserEnvPkgs = [ gtk-engine-murrine ];
# configureFlags = [ "--disable-unity" ];
postInstall = ''
ls -la
# mkdir -p $out/share/plank/themes
# cp -r extra/*-Plank $out/share/plank/themes
# mkdir -p $out/share/doc/$pname/Chrome
# cp -r extra/Chrome/*.crx $out/share/doc/$pname/Chrome
# cp -r extra/Firefox $out/share/doc/$pname
# cp AUTHORS README.md $out/share/doc/$pname/
'';
# meta = with lib; {
# inherit (src.meta) homepage;
# description = "Theme for GTK 3, GTK 2, Gnome-Shell, and Cinnamon";
# license = licenses.gpl3;
# platforms = platforms.unix;
# maintainers = with maintainers; [ romildo ];
# };
}