nixpkgs/pkgs/os-specific/linux/xsensors/default.nix
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

23 lines
585 B
Nix

{ stdenv, lib, fetchurl, gtk2, pkg-config, lm_sensors }:
stdenv.mkDerivation rec {
pname = "xsensors";
version = "0.70";
src = fetchurl {
url = "http://www.linuxhardware.org/xsensors/xsensors-${version}.tar.gz";
sha256 = "1siplsfgvcxamyqf44h71jx6jdfmvhfm7mh0y1q8ps4zs6pj2zwh";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [
gtk2 lm_sensors
];
patches = [
./remove-unused-variables.patch
./replace-deprecated-gtk.patch
];
meta = with lib; {
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ ];
};
}