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
42
pkgs/tools/text/csvkit/default.nix
Normal file
42
pkgs/tools/text/csvkit/default.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ lib, fetchpatch, python3 }:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "csvkit";
|
||||
version = "1.0.5";
|
||||
|
||||
src = python3.pkgs.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1ffmbzk4rxnl1yhqfl58v7kvl5m9cbvjm8v7xp4mvr00sgs91lvv";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fixes a failing dbf related test. Won't be needed on 1.0.6 or later.
|
||||
(fetchpatch {
|
||||
url = "https://github.com/wireservice/csvkit/commit/5f22e664121b13d9ff005a9206873a8f97431dca.patch";
|
||||
sha256 = "1kg00z65x7l6dnm5nfsr5krs8m7mv23hhb1inkaqf5m5fpkpnvv7";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
agate
|
||||
agate-excel
|
||||
agate-dbf
|
||||
agate-sql
|
||||
six
|
||||
setuptools
|
||||
];
|
||||
|
||||
checkInputs = with python3.pkgs; [
|
||||
nose
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "csvkit" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A suite of command-line tools for converting to and working with CSV";
|
||||
maintainers = with maintainers; [ vrthra ];
|
||||
license = licenses.mit;
|
||||
homepage = "https://github.com/wireservice/csvkit";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue