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
34
pkgs/servers/sql/monetdb/default.nix
Normal file
34
pkgs/servers/sql/monetdb/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ lib, stdenv, fetchurl, cmake, python3
|
||||
, bison, openssl, readline, bzip2
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "monetdb";
|
||||
version = "11.43.9";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://dev.monetdb.org/downloads/sources/archive/MonetDB-${version}.tar.bz2";
|
||||
sha256 = "sha256-DTpuL5caf4fmJMGq+1L3iyiSkLZYIUnejgJ/4LOk6kQ=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace cmake/monetdb-packages.cmake --replace \
|
||||
'get_os_release_info(LINUX_DISTRO LINUX_DISTRO_VERSION)' \
|
||||
'set(LINUX_DISTRO "nixos")'
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
rm $out/bin/monetdb_mtest.sh
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake python3 ];
|
||||
buildInputs = [ bison openssl readline bzip2 ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An open source database system";
|
||||
homepage = "https://www.monetdb.org/";
|
||||
license = licenses.mpl20;
|
||||
platforms = platforms.unix;
|
||||
maintainers = [ maintainers.StillerHarpo ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue