Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2c06560593d5
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: acb4fca7ebb6
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jul 5, 2019

  1. hstr: 1.25 -> 2.0

    Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
    matthiasbeyer committed Jul 5, 2019
    Copy the full SHA
    eec0319 View commit details

Commits on Aug 9, 2019

  1. Merge pull request #64333 from matthiasbeyer/update-hstr

    hstr: 1.25 -> 2.0
    mmahut authored Aug 9, 2019
    Copy the full SHA
    acb4fca View commit details
Showing with 20 additions and 6 deletions.
  1. +20 −6 pkgs/applications/misc/hstr/default.nix
26 changes: 20 additions & 6 deletions pkgs/applications/misc/hstr/default.nix
Original file line number Diff line number Diff line change
@@ -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;