Merge pull request #288029 from 9R/sispmctl

This commit is contained in:
Franz Pletz 2024-02-12 03:00:23 +01:00 committed by GitHub
commit 3ba6aeab49
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 39 additions and 0 deletions

View File

@ -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";

View File

@ -0,0 +1,33 @@
{ 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;
};
}