default.nix (753B)
1 { 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 pkg-config, 6 xorg, 7 }: 8 9 stdenv.mkDerivation (finalAttrs: { 10 pname = "sdorfehs"; 11 version = "1.1"; 12 13 src = fetchFromGitHub { 14 owner = "jcs"; 15 repo = "sdorfehs"; 16 rev = "v${finalAttrs.version}"; 17 hash = "sha256-efid6lRa8CTD+xObbop68hti5WRJReyKW57AmN7DS90="; 18 }; 19 20 nativeBuildInputs = [ pkg-config ]; 21 22 buildInputs = with xorg; [ 23 libX11 24 libXft 25 libXrandr 26 libXtst 27 libXi 28 ]; 29 30 installFlags = [ "PREFIX=$(out)" ]; 31 32 meta = { 33 description = "A tiling window manager"; 34 homepage = "https://github.com/jcs/sdorfehs"; 35 license = lib.licenses.gpl2Plus; 36 maintainers = [ lib.maintainers.sikmir ]; 37 platforms = lib.platforms.linux; 38 skip.ci = stdenv.isDarwin; 39 }; 40 })