Merge pull request #208224 from t-chab/pkg/stylish-app

stylish: init at unstable-2022-12-05
This commit is contained in:
Anderson Torres 2022-12-29 15:49:51 -03:00 committed by GitHub
commit ac715113f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 47 additions and 0 deletions

View File

@ -13718,6 +13718,12 @@
githubId = 66133083;
name = "Tomas Bravo";
};
tchab = {
email = "dev@chabs.name";
github = "t-chab";
githubId = 2120966;
name = "t-chab";
};
tchekda = {
email = "contact@tchekda.fr";
github = "Tchekda";

View File

@ -0,0 +1,39 @@
{ lib
, stdenvNoCC
, fetchFromGitHub
}:
stdenvNoCC.mkDerivation rec {
pname = "stylish";
version = "unstable-2022-12-05";
src = fetchFromGitHub {
owner = "thevinter";
repo = "styli.sh";
rev = "d595412a949c6cdc7e151ae0cf929aa1958aa7f1";
hash = "sha256-lFnzrYnTFWe8bvK//aC1+TapWIFNsNP60Msn7D0tk/0=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/bin
cp "${src}/styli.sh" $out/bin
chmod +x $out/bin/styli.sh
runHook postInstall
'';
meta = with lib; {
homepage = "https://github.com/thevinter/styli.sh";
description = "A shell script to manage wallpapers";
longDescription = ''
Styli.sh is a Bash script that aims to automate the tedious process
of finding new wallpapers, downloading and switching them via the
configs.
Styli.sh can search for specific wallpapers from unsplash or download
a random image from the specified subreddits. If you have pywal it also
can set automatically your terminal colors.
'';
license = licenses.mit;
maintainers = with maintainers; [ tchab ];
};
}

View File

@ -12020,6 +12020,8 @@ with pkgs;
strongswanTNC = strongswan.override { enableTNC = true; };
strongswanNM = strongswan.override { enableNetworkManager = true; };
stylish = callPackage ../applications/misc/stylish { };
stylish-haskell = haskell.lib.compose.justStaticExecutables haskellPackages.stylish-haskell;
su = shadow.su;