28 lines
527 B
Nix
Executable file
28 lines
527 B
Nix
Executable file
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
}:
|
|
stdenv.mkDerivation rec {
|
|
pname = "sddm-slice";
|
|
version = "1.5.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "EricKotato";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-IWwFsYqoqW3924+pf8L+acIt31aU/mhqakXbT9Q4Bqw=";
|
|
};
|
|
|
|
deployPhase = "
|
|
cp -r ./* /usr/share/sddm/themes/slice/
|
|
";
|
|
|
|
meta = with lib; {
|
|
description = "an sddm theme";
|
|
homepage = "somewhere.else";
|
|
license = licenses.mit;
|
|
maintainers = [];
|
|
platforms = platforms.all;
|
|
};
|
|
|
|
}
|