WIP: rice
This commit is contained in:
parent
f842c92339
commit
1096479c4a
14 changed files with 81 additions and 32 deletions
38
pkgs/sddm-theme-clairvoyance/default.nix
Normal file
38
pkgs/sddm-theme-clairvoyance/default.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fira-mono
|
||||
, wallpaper ? null
|
||||
,
|
||||
}:
|
||||
with lib;
|
||||
stdenv.mkDerivation {
|
||||
pname = "sddm-theme-clairvoyance";
|
||||
version = "20190530";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "eayus";
|
||||
repo = "sddm-theme-clairvoyance";
|
||||
rev = "dfc5984ff8f4a0049190da8c6173ba5667904487";
|
||||
sha256 = "sha256-AcVQpG6wPkMtAudqyu/iwZ4N6a2bCdfumCmdqE1E548=";
|
||||
};
|
||||
|
||||
buildInputs = [ fira-mono ];
|
||||
|
||||
installPhase =
|
||||
''
|
||||
mkdir -p $out/usr/share/sddm/themes/
|
||||
cp -a . $out/usr/share/sddm/themes/clairvoyance
|
||||
''
|
||||
+ optionalString (wallpaper != null) ''
|
||||
cp ${wallpaper} $out/usr/share/sddm/themes/clairvoyance/Assets/Background.jpg
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Clairvoyance theme for SDDM";
|
||||
homepage = "https://github.com/eayus/sddm-theme-clairvoyance";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = [ maintainers.bertof ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue