forked from mirrors/nixpkgs
9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
28 lines
767 B
Nix
28 lines
767 B
Nix
{ lib, stdenv, fetchFromGitHub, libX11, libXinerama, libXrandr, libXft, yacc, pkg-config }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "cwm";
|
|
version = "6.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "leahneukirchen";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0f9xmki2hx10k8iisfzc7nm1l31zkf1r06pdgn06ar9w9nizrld9";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ libX11 libXinerama libXrandr libXft yacc ];
|
|
|
|
prePatch = ''sed -i "s@/usr/local@$out@" Makefile'';
|
|
|
|
meta = with lib; {
|
|
description = "A lightweight and efficient window manager for X11";
|
|
homepage = "https://github.com/leahneukirchen/cwm";
|
|
maintainers = with maintainers; [ _0x4A6F mkf ];
|
|
license = licenses.isc;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|