3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #47641 from romildo/upd.onestepback

onestepback: 0.98 -> 0.991
This commit is contained in:
Sarah Brofeldt 2018-10-02 09:06:22 +02:00 committed by GitHub
commit c7102408f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,23 +1,37 @@
{ stdenv, fetchzip }:
{ stdenv, fetchurl, unzip }:
let
version = "0.98";
in fetchzip {
stdenv.mkDerivation rec {
name = "onestepback-${version}";
version = "0.991";
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";
})
];
postFetch = ''
nativeBuildInputs = [ unzip ];
sourceRoot = ".";
installPhase = ''
mkdir -p $out/share/themes
unzip $downloadedFile -x OneStepBack/LICENSE -d $out/share/themes
cp -a OneStepBack* $out/share/themes/
rm $out/share/themes/*/{LICENSE,README*}
'';
sha256 = "0sjacvx7020lzc89r5310w83wclw96gzzczy3mss54ldkgmnd0mr";
meta = with stdenv.lib; {
description = "Gtk theme inspired by the NextStep look";
homepage = https://www.opendesktop.org/p/1013663/;
homepage = http://www.vide.memoire.free.fr/perso/OneStepBack;
license = licenses.gpl3;
platforms = platforms.all;
maintainers = [ maintainers.romildo ];