depot/third_party/nixpkgs/pkgs/by-name/si/sispmctl/package.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

33 lines
666 B
Nix

{ lib
, stdenv
, fetchurl
, pkg-config
, libusb-compat-0_1
}:
stdenv.mkDerivation rec {
pname = "sispmctl";
version = "4.12";
src = fetchurl {
url = "mirror://sourceforge/sispmctl/sispmctl-${version}.tar.gz";
hash = "sha256-51eGOkg42m4cpypXrcWspvxH/73ccqaQUtir10PVcII=";
};
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;
};
}