Skip to content

Commit

Permalink
Merge pull request NixOS#226250 from trofi/libmodplug-dev-output
Browse files Browse the repository at this point in the history
libmodplug: split headers to "dev" output
  • Loading branch information
7c6f434c authored Apr 17, 2023
2 parents 3bdb45c + 62b7d50 commit 880ff5f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions pkgs/development/libraries/libmodplug/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ stdenv.mkDerivation rec {
pname = "libmodplug";
version = "0.8.9.0";

src = fetchurl {
url = "mirror://sourceforge/project/modplug-xmms/libmodplug/${version}/${pname}-${version}.tar.gz";
sha256 = "1pnri98a603xk47smnxr551svbmgbzcw018mq1k6srbrq6kaaz25";
};

outputs = [ "out" "dev" ];

preConfigure = ''
substituteInPlace configure \
--replace ' -mmacosx-version-min=10.5' "" \
Expand All @@ -17,9 +24,4 @@ stdenv.mkDerivation rec {
platforms = platforms.unix;
maintainers = with maintainers; [ raskin ];
};

src = fetchurl {
url = "mirror://sourceforge/project/modplug-xmms/libmodplug/${version}/${pname}-${version}.tar.gz";
sha256 = "1pnri98a603xk47smnxr551svbmgbzcw018mq1k6srbrq6kaaz25";
};
}

0 comments on commit 880ff5f

Please sign in to comment.