uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
25
pkgs/development/libraries/libmodplug/default.nix
Normal file
25
pkgs/development/libraries/libmodplug/default.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ lib, stdenv, fetchurl, file }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libmodplug";
|
||||
version = "0.8.9.0";
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace configure \
|
||||
--replace ' -mmacosx-version-min=10.5' "" \
|
||||
--replace /usr/bin/file ${file}/bin/file
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "MOD playing library";
|
||||
homepage = "http://modplug-xmms.sourceforge.net/";
|
||||
license = licenses.publicDomain;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ raskin ];
|
||||
};
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/project/modplug-xmms/libmodplug/${version}/${pname}-${version}.tar.gz";
|
||||
sha256 = "1pnri98a603xk47smnxr551svbmgbzcw018mq1k6srbrq6kaaz25";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue