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/tools/networking/getmail6/default.nix
Normal file
35
pkgs/tools/networking/getmail6/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ lib
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "getmail6";
|
||||
version = "6.18.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-qzlURYdE7nv+/wxK3B6WddmhW6xiLS7em3X5O5+CBbI=";
|
||||
};
|
||||
|
||||
# needs a Docker setup
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "getmailcore" ];
|
||||
|
||||
postPatch = ''
|
||||
# getmail spends a lot of effort to build an absolute path for
|
||||
# documentation installation; too bad it is counterproductive now
|
||||
sed -e '/datadir or prefix,/d' -i setup.py
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A program for retrieving mail";
|
||||
homepage = "https://getmail6.org";
|
||||
changelog = "https://github.com/getmail6/getmail6/blob/${src.rev}/docs/CHANGELOG";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ abbe dotlambda ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue