mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-16 18:03:59 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
49 lines
997 B
Nix
49 lines
997 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
xorgproto,
|
|
libX11,
|
|
libXft,
|
|
libXcomposite,
|
|
libXdamage,
|
|
libXext,
|
|
libXinerama,
|
|
libjpeg,
|
|
giflib,
|
|
pkg-config,
|
|
}:
|
|
stdenv.mkDerivation rec {
|
|
pname = "skippy-xd";
|
|
version = "0.8.0";
|
|
src = fetchFromGitHub {
|
|
owner = "felixfung";
|
|
repo = "skippy-xd";
|
|
rev = "30da57cb59ccf77f766718f7d533ddbe533ba241";
|
|
hash = "sha256-YBUDbI1SHsBI/fA3f3W1sPu3wXSodMbTGvAMqOz7RCM=";
|
|
};
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [
|
|
xorgproto
|
|
libX11
|
|
libXft
|
|
libXcomposite
|
|
libXdamage
|
|
libXext
|
|
libXinerama
|
|
libjpeg
|
|
giflib
|
|
];
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
preInstall = ''
|
|
sed -e "s@/etc/xdg@$out&@" -i Makefile
|
|
'';
|
|
meta = with lib; {
|
|
description = "Expose-style compositing-based standalone window switcher";
|
|
homepage = "https://github.com/felixfung/skippy-xd";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ raskin ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|