tty-clock: 0.1 -> 2.3 (#23419)
This commit is contained in:
parent
fe265f129e
commit
59211b6ed0
@ -1,21 +1,20 @@
|
|||||||
{ stdenv, fetchFromGitHub, ncurses }:
|
{ stdenv, fetchFromGitHub, ncurses, pkgconfig }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "tty-clock-${version}";
|
name = "tty-clock-${version}";
|
||||||
version = "0.1";
|
version = "2.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "xorg62";
|
owner = "xorg62";
|
||||||
repo = "tty-clock";
|
repo = "tty-clock";
|
||||||
rev = "v0.1";
|
rev = "v${version}";
|
||||||
sha256 = "14h70ky5y9nb3mzhlshdgq5n47hg3g6msnwbqd7nnmjzrw1nmarl";
|
sha256 = "16v3pmva13skpfjja96zacjpxrwzs1nb1iqmrp2qzvdbcm9061pp";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ ncurses ];
|
buildInputs = [ ncurses ];
|
||||||
|
|
||||||
preInstall = ''
|
makeFlags = "PREFIX=$(out)";
|
||||||
sed -i 's@/usr/local/@$(out)/@' Makefile
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://github.com/xorg62/tty-clock;
|
homepage = https://github.com/xorg62/tty-clock;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user