mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
thinkfan: 0.8.1 -> 0.9.2
This commit is contained in:
parent
e5057ef8de
commit
7de67f48a5
@ -1,22 +1,25 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ stdenv, fetchurl, cmake }:
|
||||
|
||||
let
|
||||
|
||||
version = "0.8.1";
|
||||
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "thinkfan-${version}";
|
||||
version = "0.9.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/thinkfan/thinkfan-${version}.tar.gz";
|
||||
sha256 = "04akla66r8k10x0jvmcpfi92hj2sppygcl7hhwn8n8zsvvf0yqxs";
|
||||
sha256 = "0ydgabk2758f6j64g1r9vdsd221nqsv5rwnphm81s7i2vgra1nlh";
|
||||
};
|
||||
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
unpackPhase = ''
|
||||
sourceRoot="$PWD/${name}";
|
||||
mkdir $sourceRoot;
|
||||
tar xzvf "$src" -C $sourceRoot;
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
mv thinkfan $out/bin/
|
||||
mkdir -p $out/bin;
|
||||
mv thinkfan $out/bin/;
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user