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
35
pkgs/games/ckan/default.nix
Normal file
35
pkgs/games/ckan/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ lib, stdenv, fetchurl, makeWrapper, mono, gtk2, curl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ckan";
|
||||
version = "1.30.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/KSP-CKAN/CKAN/releases/download/v${version}/ckan.exe";
|
||||
sha256 = "sha256-IgPqUEDpaIuGoaGoH2GCEzh3KxF3pkJC3VjTYXwSiQE=";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ mono ];
|
||||
|
||||
libraries = lib.makeLibraryPath [ gtk2 curl ];
|
||||
|
||||
buildPhase = "true";
|
||||
|
||||
installPhase = ''
|
||||
install -m 644 -D $src $out/bin/ckan.exe
|
||||
makeWrapper ${mono}/bin/mono $out/bin/ckan \
|
||||
--add-flags $out/bin/ckan.exe \
|
||||
--set LD_LIBRARY_PATH $libraries
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Mod manager for Kerbal Space Program";
|
||||
homepage = "https://github.com/KSP-CKAN/CKAN";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ Baughn ymarkus ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue