mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
lwp: init at 1.1
This commit is contained in:
parent
e8b45d36d7
commit
35c27749c5
@ -54,6 +54,7 @@ let
|
||||
});
|
||||
libcs50 = callPackage ./libcs50.nix { };
|
||||
license-cli = callPackage ./license-cli { };
|
||||
lwp = callPackage ./lwp { };
|
||||
moac = callPackage ./moac.nix { };
|
||||
mopidy-beets = callPackage ./mopidy-beets.nix { };
|
||||
mopidy-funkwhale = callPackage ./mopidy-funkwhale.nix { };
|
||||
|
36
pkgs/lwp/default.nix
Normal file
36
pkgs/lwp/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, SDL2
|
||||
, xorg
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lwp";
|
||||
version = "1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jszczerbinsky";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-VwWPP71kAVxM8+GR0Z/RSshtoK7KNzRgSkdOBXOVZ9s=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
install -Dm0755 a.out $out/bin/lwp
|
||||
mkdir -p $out/share/lwp
|
||||
cp -R ./wallpapers $out/share/lwp
|
||||
'';
|
||||
|
||||
buildInputs = [
|
||||
SDL2
|
||||
xorg.libX11
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/jszczerbinsky/lwp";
|
||||
description = "Parallax wallpaper engine for Linux and Windows";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user