From 0a7d4c3469a0411790e6edb5bfe7d0bef3bf2dd6 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 3 Oct 2015 18:21:01 +0200 Subject: lass 3: add wallpaper.nix lass 2 configs: add wallpaper.nix lass 2: add wallpaper-server.nix lass: refactor realwallpaper --- lass/5pkgs/realwallpaper.nix | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 lass/5pkgs/realwallpaper.nix (limited to 'lass/5pkgs/realwallpaper.nix') diff --git a/lass/5pkgs/realwallpaper.nix b/lass/5pkgs/realwallpaper.nix new file mode 100644 index 000000000..4fea977ec --- /dev/null +++ b/lass/5pkgs/realwallpaper.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchgit, xplanet, imagemagick, curl, file }: + +stdenv.mkDerivation { + name = "realwallpaper"; + + src = fetchgit { + url = https://github.com/Lassulus/realwallpaper; + rev = "c2778c3c235fc32edc8115d533a0d0853ab101c5"; + sha256 = "0yhbjz19zk8sj5dsvccm6skkqq2vardn1yi70qmd5li7qvp17mvs"; + }; + + phases = [ + "unpackPhase" + "installPhase" + ]; + + buildInputs = [ + xplanet + imagemagick + curl + file + ]; + + installPhase = '' + mkdir -p $out + cp realwallpaper.sh $out/realwallpaper.sh + ''; +} -- cgit v1.2.3 [cgit] Unable to lock slot /tmp/cgit/b3200000.lock: No such file or directory (2)