depot/pkgs/data/themes/onestepback/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

37 lines
1,009 B
Nix

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