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
44
pkgs/development/python-modules/tld/default.nix
Normal file
44
pkgs/development/python-modules/tld/default.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, factory_boy
|
||||
, faker
|
||||
, fetchPypi
|
||||
, pytest-cov
|
||||
, pytestCheckHook
|
||||
, tox
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tld";
|
||||
version = "0.12.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "69fed19d26bb3f715366fb4af66fdeace896c55c052b00e8aaba3a7b63f3e7f0";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
factory_boy
|
||||
faker
|
||||
pytest-cov
|
||||
pytestCheckHook
|
||||
tox
|
||||
];
|
||||
|
||||
# these tests require network access, but disabledTestPaths doesn't work.
|
||||
# the file needs to be `import`ed by another python test file, so it
|
||||
# can't simply be removed.
|
||||
preCheck = ''
|
||||
echo > src/tld/tests/test_commands.py
|
||||
'';
|
||||
pythonImportsCheck = [ "tld" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/barseghyanartur/tld";
|
||||
description = "Extracts the top level domain (TLD) from the URL given";
|
||||
# https://github.com/barseghyanartur/tld/blob/master/README.rst#license
|
||||
# MPL-1.1 OR GPL-2.0-only OR LGPL-2.1-or-later
|
||||
license = with licenses; [ lgpl21Plus mpl11 gpl2Only ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue