Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e1605d9b21b9
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c7102408f339
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Oct 2, 2018

  1. onestepback: 0.98 -> 0.991

    - Update to version 0.991
    - Add color variants of the theme
    - Change home page
    romildo committed Oct 2, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    zimbatm Jonas Chevalier
    Copy the full SHA
    2041c53 View commit details
  2. Merge pull request #47641 from romildo/upd.onestepback

    onestepback: 0.98 -> 0.991
    srhb authored Oct 2, 2018
    Copy the full SHA
    c710240 View commit details
Showing with 26 additions and 12 deletions.
  1. +26 −12 pkgs/misc/themes/onestepback/default.nix
38 changes: 26 additions & 12 deletions pkgs/misc/themes/onestepback/default.nix
Original file line number Diff line number Diff line change
@@ -1,23 +1,37 @@
{ stdenv, fetchzip }:
{ stdenv, fetchurl, unzip }:

let
version = "0.98";

in fetchzip {
stdenv.mkDerivation rec {
name = "onestepback-${version}";
version = "0.991";

url = "http://www.vide.memoire.free.fr/perso/OneStepBack/OneStepBack-v${version}.zip";
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 = ''
mkdir -p $out/share/themes
unzip $downloadedFile -x OneStepBack/LICENSE -d $out/share/themes
'';
nativeBuildInputs = [ unzip ];

sha256 = "0sjacvx7020lzc89r5310w83wclw96gzzczy3mss54ldkgmnd0mr";
sourceRoot = ".";

installPhase = ''
mkdir -p $out/share/themes
cp -a OneStepBack* $out/share/themes/
rm $out/share/themes/*/{LICENSE,README*}
'';

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 ];