Unverified Commit 58523ba7 authored by Doron Behar's avatar Doron Behar Committed by GitHub
Browse files

Merge pull request #219158 from doronbehar/pkg/castget

castget: 2.0.0 -> 2.0.1
parents fca1f356 fcc20dec
Loading
Loading
Loading
Loading
+13 −11
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub
, autoreconfHook
{ lib
, stdenv
, fetchurl
, pkg-config
, glib
, ronn
@@ -11,14 +12,11 @@

stdenv.mkDerivation rec {
  pname = "castget";
  version = "2.0.0";
  version = "2.0.1";

  src = fetchFromGitHub {
    owner = "mlj";
    repo = pname;
    # Upstream uses `_` instead of `.` for the version
    rev = "rel_${lib.replaceStrings ["."] ["_"] version}";
    sha256 = "1129x64rw587q3sdpa3lrgs0gni5f0siwbvmfz8ya4zkbhgi2ik7";
  src = fetchurl {
    url = "http://savannah.nongnu.org/download/castget/castget-${version}.tar.bz2";
    hash = "sha256-Q4tffsfjGkXtN1ZjD+RH9CAVrNpT7AkgL0hihya16HU=";
  };

  # without this, the build fails because of an encoding issue with the manual page.
@@ -29,12 +27,16 @@ stdenv.mkDerivation rec {
    export LC_ALL="en_US.UTF-8";
  '';

  buildInputs = [ glib curl id3lib libxml2 ];
  buildInputs = [
    glib
    curl
    id3lib
    libxml2
  ];
  nativeBuildInputs = [
    ronn
    # See comment on locale above
    glibcLocales
    autoreconfHook
    pkg-config
  ];