summary refs log tree commit diff
path: root/pkgs/tools/system/thinkfan/default.nix
blob: a13f500c34f87e1b54252e054233bc8dd1f83341 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ stdenv, fetchurl }:

let

  version = "0.8.1";
  
in

stdenv.mkDerivation {
  name = "thinkfan-${version}";

  src = fetchurl {
    url = "http://downloads.sourceforge.net/project/thinkfan/thinkfan-${version}.tar.gz";
    sha256 = "04akla66r8k10x0jvmcpfi92hj2sppygcl7hhwn8n8zsvvf0yqxs";
  };
  
  installPhase = ''
    mkdir -p $out/bin
    mv thinkfan $out/bin/
  '';

  meta = {
    description = "";
    license = stdenv.lib.licenses.gpl3;
    homePage = "http://thinkfan.sourceforge.net/";
    maintainers = with stdenv.lib.maintainers; [ iElectric ];
    platforms = stdenv.lib.platforms.linux;
  };
}