depot/pkgs/by-name/si/sispmctl/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00: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;
};
}