hdapsgl: 0.5.0 -> 0.7.0
We now package a fork on github because: * gentoo does it * the fork is owned by the same organisation as the one we take hdapsd from.
This commit is contained in:
parent
5c72e84169
commit
c8c3181845
|
@ -1,24 +1,22 @@
|
||||||
{ stdenv, fetchzip, freeglut, libGL, libGLU }:
|
{ stdenv, fetchFromGitHub, autoreconfHook, freeglut, libGL, libGLU }:
|
||||||
|
|
||||||
let version = "0.0.5"; in
|
let version = "0.0.7"; in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "hdaps-gl";
|
pname = "hdaps-gl";
|
||||||
inherit version;
|
inherit version;
|
||||||
src = fetchzip {
|
src = fetchFromGitHub {
|
||||||
url = "mirror://sourceforge/project/hdaps/hdaps-gl/hdaps-gl-${version}/hdaps-gl-${version}.tar.gz";
|
owner = "linux-thinkpad";
|
||||||
sha256 = "16fk4k0lvr4c95vd6c7qdylcqa1h5yjp3xm4xwipdjbp0bvsgxq4";
|
repo = "hdaps-gl";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0jywsrcr1wzkjig5cvz014c3r026sbwscbkv7zh1014lkjm0kyyh";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
buildInputs = [ freeglut libGL libGLU ];
|
buildInputs = [ freeglut libGL libGLU ];
|
||||||
|
|
||||||
# the Makefile has no install target
|
|
||||||
installPhase = ''
|
|
||||||
install -Dt $out/bin ./hdaps-gl
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "GL-based laptop model that rotates in real-time via hdaps";
|
description = "GL-based laptop model that rotates in real-time via hdaps";
|
||||||
homepage = "https://sourceforge.net/projects/hdaps/";
|
homepage = "https://github.com/linux-thinkpad/hdaps-gl";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = [ maintainers.symphorien ];
|
maintainers = [ maintainers.symphorien ];
|
||||||
|
|
Loading…
Reference in a new issue