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
46
pkgs/tools/networking/ip2unix/default.nix
Normal file
46
pkgs/tools/networking/ip2unix/default.nix
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, libyamlcpp, systemd
|
||||
, python3Packages, asciidoc, libxslt, docbook_xml_dtd_45, docbook_xsl
|
||||
, libxml2, docbook5
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ip2unix";
|
||||
version = "2.1.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nixcloud";
|
||||
repo = "ip2unix";
|
||||
rev = "v${version}";
|
||||
sha256 = "1pl8ayadxb0zzh5s26yschkjhr1xffbzzv347m88f9y0jv34d24r";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson ninja pkg-config asciidoc libxslt.bin docbook_xml_dtd_45 docbook_xsl
|
||||
libxml2.bin docbook5 python3Packages.pytest python3Packages.pytest-timeout
|
||||
systemd
|
||||
];
|
||||
|
||||
buildInputs = [ libyamlcpp ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
doInstallCheck = true;
|
||||
installCheckPhase = ''
|
||||
found=0
|
||||
for man in "$out/share/man/man1"/ip2unix.1*; do
|
||||
test -s "$man" && found=1
|
||||
done
|
||||
if [ $found -ne 1 ]; then
|
||||
echo "ERROR: Manual page hasn't been generated." >&2
|
||||
exit 1
|
||||
fi
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/nixcloud/ip2unix";
|
||||
description = "Turn IP sockets into Unix domain sockets";
|
||||
platforms = lib.platforms.linux;
|
||||
license = lib.licenses.lgpl3;
|
||||
maintainers = [ lib.maintainers.aszlig ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue