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
29
pkgs/misc/dumb/default.nix
Normal file
29
pkgs/misc/dumb/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake, allegro, SDL2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dumb";
|
||||
version = "2.0.3";
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ allegro SDL2 ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kode54";
|
||||
repo = "dumb";
|
||||
rev = version;
|
||||
sha256 = "1cnq6rb14d4yllr0yi32p9jmcig8avs3f43bvdjrx4r1mpawspi6";
|
||||
};
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_BUILD_TYPE='Release'"
|
||||
"-DBUILD_EXAMPLES='OFF'"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/kode54/dumb";
|
||||
description = "Module/tracker based music format parser and player library";
|
||||
license = licenses.free; # Derivative of GPL
|
||||
maintainers = with maintainers; [ Madouura ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue