mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
thinkfan: 0.9.2 -> 0.9.3; add myself as a maintainer
CC maintainer @iElectric.
This commit is contained in:
parent
ee101d0c7a
commit
519d99f975
@ -2,34 +2,28 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "thinkfan-${version}";
|
||||
version = "0.9.2";
|
||||
version = "0.9.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/thinkfan/thinkfan-${version}.tar.gz";
|
||||
sha256 = "0ydgabk2758f6j64g1r9vdsd221nqsv5rwnphm81s7i2vgra1nlh";
|
||||
sha256 = "0nz4c48f0i0dljpk5y33c188dnnwg8gz82s4grfl8l64jr4n675n";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
unpackPhase = ''
|
||||
sourceRoot="$PWD/${name}";
|
||||
mkdir $sourceRoot;
|
||||
tar xzvf "$src" -C $sourceRoot;
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 {.,$out/bin}/thinkfan
|
||||
|
||||
cd $sourceRoot
|
||||
cd "$NIX_BUILD_TOP"; cd "$sourceRoot" # attempt to be a bit robust
|
||||
install -Dm644 {.,$out/share/doc/thinkfan}/README
|
||||
cp -R examples $out/share/doc/thinkfan
|
||||
install -Dm644 {.,$out/share/man/man1}/thinkfan.1
|
||||
install -Dm644 {src,$out/share/man/man1}/thinkfan.1
|
||||
'';
|
||||
|
||||
meta = {
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
homepage = http://thinkfan.sourceforge.net/;
|
||||
maintainers = with stdenv.lib.maintainers; [ iElectric ];
|
||||
maintainers = with stdenv.lib.maintainers; [ iElectric nckx ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user