python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / misc / brightnessctl / default.nix
blob2fab8b4bd676cbc435c6c938c949c06fdc35ef5d
1 { lib, stdenv, fetchFromGitHub, pkg-config, systemd }:
3 stdenv.mkDerivation rec {
4   pname = "brightnessctl";
5   version = "0.5.1";
7   src = fetchFromGitHub {
8     owner = "Hummer12007";
9     repo = "brightnessctl";
10     rev = version;
11     sha256 = "0immxc7almmpg80n3bdn834p3nrrz7bspl2syhb04s3lawa5y2lq";
12   };
14   makeFlags = [ "PREFIX=" "DESTDIR=$(out)" "ENABLE_SYSTEMD=1" ];
16   nativeBuildInputs = [ pkg-config ];
17   buildInputs = [ systemd ];
19   meta = with lib; {
20     homepage = "https://github.com/Hummer12007/brightnessctl";
21     description = "This program allows you read and control device brightness";
22     license = licenses.mit;
23     maintainers = with maintainers; [ megheaiulian ];
24     platforms = platforms.linux;
25   };