mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
27 lines
713 B
Nix
27 lines
713 B
Nix
{ lib, stdenv, fetchzip, libX11, libXrandr, xorgproto }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "sct";
|
|
version = "0.5";
|
|
|
|
src = fetchzip {
|
|
url = "https://www.umaxx.net/dl/sct-0.5.tar.gz";
|
|
sha256 = "sha256-nyYcdnCq8KcSUpc0HPCGzJI6NNrrTJLAHqPawfwPR/Q=";
|
|
};
|
|
|
|
buildInputs = [ libX11 libXrandr xorgproto ];
|
|
|
|
preInstall = ''
|
|
mkdir -p $out/bin $out/share/man/man1
|
|
'';
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://www.umaxx.net/";
|
|
description = "Minimal utility to set display colour temperature";
|
|
maintainers = with maintainers; [ raskin somasis ];
|
|
license = licenses.publicDomain;
|
|
platforms = with platforms; linux ++ freebsd ++ openbsd;
|
|
};
|
|
}
|