Merge pull request #209728 from t-chab/master
stylish: fix missing dependencies
This commit is contained in:
commit
0f7b0e2df4
1 changed files with 24 additions and 4 deletions
|
@ -1,12 +1,21 @@
|
|||
{ lib
|
||||
, stdenvNoCC
|
||||
, fetchFromGitHub
|
||||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
makeWrapper,
|
||||
curl,
|
||||
feh,
|
||||
file,
|
||||
jq,
|
||||
util-linux,
|
||||
wget,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "stylish";
|
||||
version = "unstable-2022-12-05";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "thevinter";
|
||||
repo = "styli.sh";
|
||||
|
@ -22,6 +31,17 @@ stdenvNoCC.mkDerivation rec {
|
|||
runHook postInstall
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/styli.sh --prefix PATH : ${lib.makeBinPath [
|
||||
curl
|
||||
feh
|
||||
file
|
||||
jq
|
||||
util-linux
|
||||
wget
|
||||
]}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/thevinter/styli.sh";
|
||||
description = "A shell script to manage wallpapers";
|
||||
|
|
Loading…
Reference in a new issue