blob: ed0d0235fc06b7f2ff2f9d55298516d3151bb61f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{ lib, stdenv, fetchurl, unzip }:
stdenv.mkDerivation rec {
pname = "onestepback";
version = "0.997";
srcs = [
(fetchurl {
url = "http://www.vide.memoire.free.fr/pages/onestepback/OneStepBack-v${version}.zip";
hash = "sha256-uB6pfnTkMKeP71rAvn1olJJeCL84222UT5uxG72sywE=";
})
(fetchurl {
url = "http://www.vide.memoire.free.fr/pages/onestepback/OneStepBack-wm2-v${version}.zip";
hash = "sha256-Zdv4ZrQPficbCxPBKF3RFNavlSn/VV/efiZVUT86zRc=";
})
];
nativeBuildInputs = [ unzip ];
sourceRoot = ".";
installPhase = ''
runHook preInstall
mkdir -p $out/share/themes
cp -a OneStepBack* $out/share/themes/
rm $out/share/themes/*/{LICENSE,README*}
runHook postInstall
'';
meta = with lib; {
description = "Gtk theme inspired by the NextStep look";
homepage = "http://www.vide.memoire.free.fr/pages/onestepback";
license = licenses.gpl3Plus;
platforms = platforms.all;
maintainers = [ maintainers.romildo ];
};
}
|