nixpkgs/pkgs/os-specific/linux/xsensors/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

23 lines
606 B
Nix

{ stdenv, lib, fetchurl, gtk2, pkgconfig, 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 = [ pkgconfig ];
buildInputs = [
gtk2 lm_sensors
];
patches = [
./remove-unused-variables.patch
./replace-deprecated-gtk.patch
];
meta = with lib; {
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ cstrahan ];
};
}