From 66a0e92362a69031abad8baee187514d914e1d9b Mon Sep 17 00:00:00 2001 From: tchab Date: Thu, 29 Dec 2022 13:47:17 +0000 Subject: [PATCH 1/2] maintainers: add tchab --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 8891e9861f82..3e80e11a051f 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -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"; From e772351a7267c065be6ebb6ea5fd3088fda40985 Mon Sep 17 00:00:00 2001 From: tchab Date: Thu, 29 Dec 2022 17:05:35 +0000 Subject: [PATCH 2/2] stylish: init at unstable-2022-12-05 --- pkgs/applications/misc/stylish/default.nix | 39 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 41 insertions(+) create mode 100644 pkgs/applications/misc/stylish/default.nix diff --git a/pkgs/applications/misc/stylish/default.nix b/pkgs/applications/misc/stylish/default.nix new file mode 100644 index 000000000000..43fcc0bb1934 --- /dev/null +++ b/pkgs/applications/misc/stylish/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f19bc2784f39..41afe532b8f8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12018,6 +12018,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;