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
36
pkgs/servers/misc/subsonic/default.nix
Normal file
36
pkgs/servers/misc/subsonic/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib, stdenv, fetchurl, jre }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "subsonic";
|
||||
version = "6.1.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/subsonic/subsonic-${version}-standalone.tar.gz";
|
||||
sha256 = "180qdk8mnc147az8v9rmc1kgf8b13mmq88l195gjdwiqpflqzdyz";
|
||||
};
|
||||
|
||||
inherit jre;
|
||||
|
||||
# Create temporary directory to extract tarball into to satisfy Nix's need
|
||||
# for a directory to be created in the unpack phase.
|
||||
unpackPhase = ''
|
||||
runHook preUnpack
|
||||
mkdir ${pname}-${version}
|
||||
tar -C ${pname}-${version} -xzf $src
|
||||
runHook postUnpack
|
||||
'';
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir $out
|
||||
cp -r ${pname}-${version}/* $out
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://subsonic.org";
|
||||
description = "Personal media streamer";
|
||||
license = licenses.unfree;
|
||||
maintainers = with maintainers; [ telotortium ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue