2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, unzip }:
|
2018-04-13 00:29:58 +00:00
|
|
|
|
2018-10-02 03:49:21 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "onestepback";
|
2018-10-02 03:49:21 +00:00
|
|
|
version = "0.991";
|
2018-04-13 00:29:58 +00:00
|
|
|
|
2018-10-02 03:49:21 +00:00
|
|
|
srcs = [
|
|
|
|
(fetchurl {
|
|
|
|
url = "http://www.vide.memoire.free.fr/perso/OneStepBack/OneStepBack-v${version}.zip";
|
|
|
|
sha256 = "1jfgcgzbb6ra9qs3zcp6ij0hfldzg3m0yjw6l6vf4kq1mdby1ghm";
|
|
|
|
})
|
|
|
|
(fetchurl {
|
|
|
|
url = "http://www.vide.memoire.free.fr/perso/OneStepBack/OneStepBack-grey-brown-green-blue-v${version}.zip";
|
|
|
|
sha256 = "0i006h1asbpfdzajws0dvk9acplvcympzgxq5v3n8hmizd6yyh77";
|
|
|
|
})
|
|
|
|
(fetchurl {
|
|
|
|
url = "http://www.vide.memoire.free.fr/perso/OneStepBack/OneStepBack-green-brown-v${version}.zip";
|
|
|
|
sha256 = "16p002lak6425gcskny4hzws8x9dgsm6j3a1r08y11rsz7d2hnmy";
|
|
|
|
})
|
|
|
|
];
|
2018-04-13 00:29:58 +00:00
|
|
|
|
2018-10-02 03:49:21 +00:00
|
|
|
nativeBuildInputs = [ unzip ];
|
2018-04-13 00:29:58 +00:00
|
|
|
|
2018-10-02 03:49:21 +00:00
|
|
|
sourceRoot = ".";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/themes
|
|
|
|
cp -a OneStepBack* $out/share/themes/
|
|
|
|
rm $out/share/themes/*/{LICENSE,README*}
|
|
|
|
'';
|
2018-04-13 00:29:58 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-04-13 00:29:58 +00:00
|
|
|
description = "Gtk theme inspired by the NextStep look";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.vide.memoire.free.fr/perso/OneStepBack";
|
2018-04-13 00:29:58 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|