stylish: fix issue NixOS#209708 missing dependencies
This commit is contained in:
parent
194b1690e7
commit
c750dc1a80
|
@ -1,12 +1,21 @@
|
||||||
{ lib
|
{
|
||||||
, stdenvNoCC
|
lib,
|
||||||
, fetchFromGitHub
|
stdenvNoCC,
|
||||||
|
fetchFromGitHub,
|
||||||
|
makeWrapper,
|
||||||
|
curl,
|
||||||
|
feh,
|
||||||
|
file,
|
||||||
|
jq,
|
||||||
|
util-linux,
|
||||||
|
wget,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenvNoCC.mkDerivation rec {
|
stdenvNoCC.mkDerivation rec {
|
||||||
pname = "stylish";
|
pname = "stylish";
|
||||||
version = "unstable-2022-12-05";
|
version = "unstable-2022-12-05";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "thevinter";
|
owner = "thevinter";
|
||||||
repo = "styli.sh";
|
repo = "styli.sh";
|
||||||
|
@ -22,6 +31,17 @@ stdenvNoCC.mkDerivation rec {
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/styli.sh --prefix PATH : ${lib.makeBinPath [
|
||||||
|
curl
|
||||||
|
feh
|
||||||
|
file
|
||||||
|
jq
|
||||||
|
util-linux
|
||||||
|
wget
|
||||||
|
]}
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/thevinter/styli.sh";
|
homepage = "https://github.com/thevinter/styli.sh";
|
||||||
description = "A shell script to manage wallpapers";
|
description = "A shell script to manage wallpapers";
|
||||||
|
|
Loading…
Reference in a new issue