Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 917200c7287c
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3a9e0f7a78a4
Choose a head ref
  • 3 commits
  • 2 files changed
  • 1 contributor

Commits on Sep 16, 2019

  1. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    dtzWill Will Dietz
    Copy the full SHA
    467e561 View commit details

Commits on Sep 17, 2019

  1. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    dtzWill Will Dietz
    Copy the full SHA
    647a90f View commit details

Commits on Oct 7, 2019

  1. Merge pull request #68911 from dtzWill/feature/power-calibrate

    power-calibrate: init at 0.01.28
    dtzWill authored Oct 7, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    3a9e0f7 View commit details
Showing with 26 additions and 0 deletions.
  1. +24 −0 pkgs/os-specific/linux/power-calibrate/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
24 changes: 24 additions & 0 deletions pkgs/os-specific/linux/power-calibrate/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{ stdenv, lib, fetchurl }:

stdenv.mkDerivation rec {
pname = "power-calibrate";
version = "0.01.28";

src = fetchurl {
url = "https://kernel.ubuntu.com/~cking/tarballs/${pname}/${pname}-${version}.tar.gz";
sha256 = "1miyjs0vngzfdlsxhn5gndcalzkh28grg4m6faivvp1c6mjp794m";
};

installFlags = [
"BINDIR=${placeholder "out"}/bin"
"MANDIR=${placeholder "out"}/share/man/man8"
];

meta = with lib; {
description = "Tool to calibrate power consumption";
homepage = "https://kernel.ubuntu.com/~cking/power-calibrate/";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ dtzWill ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -15738,6 +15738,8 @@ in

osxfuse = callPackage ../os-specific/darwin/osxfuse { };

power-calibrate = callPackage ../os-specific/linux/power-calibrate { };

powerstat = callPackage ../os-specific/linux/powerstat { };

smemstat = callPackage ../os-specific/linux/smemstat { };