nixpkgs/pkgs/by-name/si/sispmctl/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
666 B
Nix
Raw Normal View History

2024-02-11 08:26:47 +00:00
{ lib
, stdenv
, fetchurl
, pkg-config
, libusb-compat-0_1
}:
stdenv.mkDerivation rec {
pname = "sispmctl";
2024-05-06 00:55:12 +00:00
version = "4.12";
2024-02-11 08:26:47 +00:00
src = fetchurl {
url = "mirror://sourceforge/sispmctl/sispmctl-${version}.tar.gz";
2024-05-06 00:55:12 +00:00
hash = "sha256-51eGOkg42m4cpypXrcWspvxH/73ccqaQUtir10PVcII=";
2024-02-11 08:26:47 +00:00
};
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;
};
}