Unverified Commit 1e922a02 authored by Artturin's avatar Artturin Committed by GitHub
Browse files

system76-power: 1.1.23 -> 1.2.1 (#349351)

parents 0548f7b3 6652ec3d
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -20064,6 +20064,12 @@
    githubId = 7091399;
    keys = [ { fingerprint = "897E 6BE3 0345 B43D CADD  05B7 290F CF08 1AED B3EC"; } ];
  };
  smonson = {
    name = "Samuel Monson";
    email = "smonson@irbash.net";
    github = "sjmonson";
    githubId = 17662218;
  };
  smrehman = {
    name = "Syed Moiz Ur Rehman";
    email = "smrehman@proton.me";
+1774 −0

File added.

Preview size limit exceeded, changes collapsed.

+9 −4
Original line number Diff line number Diff line
@@ -2,19 +2,24 @@

rustPlatform.buildRustPackage rec {
  pname = "system76-power";
  version = "1.1.23";
  version = "1.2.1";

  src = fetchFromGitHub {
    owner = "pop-os";
    repo = "system76-power";
    rev = version;
    sha256 = "sha256-RuYDG4eZE599oa04xUR+W5B3/IPOpQUss1x7hzoydUQ=";
    sha256 = "sha256-kYDrSfpOuRigDX792w3hATXoxX6PWpYWXkxw9Q28P5s=";
  };

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ dbus libusb1 ];

  cargoHash = "sha256-Vps02ZRVmeOQ8jDFZJYAUb502MhqY+2YV2W1/9XGY+0=";
  cargoLock = {
    lockFile = ./Cargo.lock;
    outputHashes = {
      "sysfs-class-0.1.3" = "sha256-ztfwfCRAkxUd/LLNG5fpVuFdgX+tCKL3F35qYJ2GDm8=";
    };
  };

  postInstall = ''
    install -D -m 0644 data/com.system76.PowerDaemon.conf $out/etc/dbus-1/system.d/com.system76.PowerDaemon.conf
@@ -28,6 +33,6 @@ rustPlatform.buildRustPackage rec {
    homepage = "https://github.com/pop-os/system76-power";
    license = licenses.gpl3Plus;
    platforms = [ "i686-linux" "x86_64-linux" ];
    maintainers = [ ];
    maintainers = [ maintainers.smonson ];
  };
}