Merge pull request #64333 from matthiasbeyer/update-hstr
hstr: 1.25 -> 2.0
This commit is contained in:
commit
acb4fca7eb
|
@ -1,15 +1,29 @@
|
|||
{ stdenv, fetchurl, readline, ncurses }:
|
||||
{ stdenv, fetchFromGitHub, readline, ncurses
|
||||
, autoreconfHook, pkgconfig, gettext }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "hstr-${version}";
|
||||
version = "1.25";
|
||||
version = "2.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/dvorka/hstr/releases/download/${version}/hh-${version}-src.tgz";
|
||||
sha256 = "10njj0a3s5czv497wk3whka3gxr7vmhabs12vaw7kgb07h4ssnhg";
|
||||
src = fetchFromGitHub {
|
||||
owner = "dvorka";
|
||||
repo = "hstr";
|
||||
rev = version;
|
||||
sha256 = "1y9vsfbg07gbic0daqy569d9pb9i1d07fym3q7a0a99hbng85s20";
|
||||
};
|
||||
|
||||
buildInputs = [ readline ncurses ];
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
buildInputs = [ readline ncurses gettext ];
|
||||
|
||||
configurePhase = ''
|
||||
autoreconf -fvi
|
||||
./configure
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin/
|
||||
mv src/hstr $out/bin/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/dvorka/hstr;
|
||||
|
|
Loading…
Reference in New Issue