tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
lxrandr: init at 0.3.1
David McKay
7 years ago
125ad34d
1aa709be
+25
2 changed files
expand all
collapse all
unified
split
pkgs
desktops
lxde
core
lxrandr
default.nix
top-level
all-packages.nix
+23
pkgs/desktops/lxde/core/lxrandr/default.nix
···
1
1
+
{ stdenv, fetchurl, pkgconfig, intltool, gtk2, libX11, xrandr, withGtk3 ? false, gtk3 }:
2
2
+
3
3
+
stdenv.mkDerivation rec {
4
4
+
name = "lxrandr-0.3.1";
5
5
+
6
6
+
src = fetchurl {
7
7
+
url = "mirror://sourceforge/lxde/${name}.tar.xz";
8
8
+
sha256 = "6d98338485a90d9e47f6d08184df77ca0d9715517f8a45a914e861750589184e";
9
9
+
};
10
10
+
11
11
+
configureFlags = stdenv.lib.optional withGtk3 "--enable-gtk3";
12
12
+
13
13
+
nativeBuildInputs = [ pkgconfig intltool ];
14
14
+
buildInputs = [ libX11 (if withGtk3 then gtk3 else gtk2) xrandr ];
15
15
+
16
16
+
meta = with stdenv.lib; {
17
17
+
description = "LXRandR is the standard screen manager of LXDE.";
18
18
+
homepage = https://lxde.org/;
19
19
+
license = stdenv.lib.licenses.gpl2;
20
20
+
maintainers = with maintainers; [ rawkode ];
21
21
+
platforms = stdenv.lib.platforms.linux;
22
22
+
};
23
23
+
}
+2
pkgs/top-level/all-packages.nix
···
7723
7723
7724
7724
lxtask = callPackage ../desktops/lxde/core/lxtask { };
7725
7725
7726
7726
+
lxrandr = callPackage ../desktops/lxde/core/lxrandr { };
7727
7727
+
7726
7728
kona = callPackage ../development/interpreters/kona {};
7727
7729
7728
7730
lolcode = callPackage ../development/interpreters/lolcode { };