Unverified Commit 3ba6aeab authored by Franz Pletz's avatar Franz Pletz Committed by GitHub
Browse files

Merge pull request #288029 from 9R/sispmctl

parents 5a7b453b 57da038a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -241,6 +241,12 @@
      fingerprint = "DBF4 E6D0 90B8 BEA4 4BFE  1F1C 3442 4321 39B5 0691";
    }];
  };
  _9R = {
    email = "nix@9-r.net";
    github = "9R";
    githubId = 381298;
    name = "9R";
  };
  a1russell = {
    email = "adamlr6+pub@gmail.com";
    github = "a1russell";
+33 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchurl
, pkg-config
, libusb-compat-0_1
}:

stdenv.mkDerivation rec {
  pname = "sispmctl";
  version = "4.11";

  src = fetchurl {
    url = "mirror://sourceforge/sispmctl/sispmctl-${version}.tar.gz";
    hash = "sha256-dLlKNxAEaxUHDHMR8MrLgVVMhrQidxnMJzPLlscFJXg=";
  };

  nativeBuildInputs = [
    pkg-config
  ];

  buildInputs = [
    libusb-compat-0_1
  ];

  meta = with lib; {
    homepage = "https://sispmctl.sourceforge.net/";
    description = "USB controlled powerstrips management software";
    license = licenses.gpl2Plus;
    mainProgram = "sispmctl";
    maintainers = [ maintainers._9R ];
    platforms = platforms.unix;
  };
}