mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
34 lines
666 B
Nix
34 lines
666 B
Nix
|
{ 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;
|
||
|
};
|
||
|
}
|