mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
27 lines
720 B
Nix
27 lines
720 B
Nix
{ lib, stdenv, fetchFromGitHub, pkg-config, gtk3, wrapGAppsHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "zenmonitor";
|
|
version = "1.4.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ocerman";
|
|
repo = "zenmonitor";
|
|
rev = "v${version}";
|
|
sha256 = "0smv94vi36hziw42gasivyw25h5n1sgwwk1cv78id5g85w0kw246";
|
|
};
|
|
|
|
buildInputs = [ gtk3 ];
|
|
nativeBuildInputs = [ pkg-config wrapGAppsHook ];
|
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
|
|
|
meta = with lib; {
|
|
description = "Monitoring software for AMD Zen-based CPUs";
|
|
homepage = "https://github.com/ocerman/zenmonitor";
|
|
license = licenses.mit;
|
|
platforms = [ "i686-linux" "x86_64-linux" ];
|
|
maintainers = with maintainers; [ alexbakker ];
|
|
};
|
|
}
|