Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 stdenv,
4 fetchurl,
5 pkg-config,
6 libusb-compat-0_1,
7}:
8
9stdenv.mkDerivation rec {
10 pname = "sispmctl";
11 version = "4.12";
12
13 src = fetchurl {
14 url = "mirror://sourceforge/sispmctl/sispmctl-${version}.tar.gz";
15 hash = "sha256-51eGOkg42m4cpypXrcWspvxH/73ccqaQUtir10PVcII=";
16 };
17
18 nativeBuildInputs = [
19 pkg-config
20 ];
21
22 buildInputs = [
23 libusb-compat-0_1
24 ];
25
26 meta = with lib; {
27 homepage = "https://sispmctl.sourceforge.net/";
28 description = "USB controlled powerstrips management software";
29 license = licenses.gpl2Plus;
30 mainProgram = "sispmctl";
31 maintainers = [ maintainers._9R ];
32 platforms = platforms.unix;
33 };
34}