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
24
pkgs/development/python-modules/publicsuffix/default.nix
Normal file
24
pkgs/development/python-modules/publicsuffix/default.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ lib, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "publicsuffix";
|
||||
version = "1.1.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "22ce1d65ab6af5e9b2122e2443facdb93fb5c4abf24138099cb10fe7989f43b6";
|
||||
};
|
||||
|
||||
|
||||
# disable test_fetch and the doctests (which also invoke fetch)
|
||||
postPatch = ''
|
||||
sed -i -e "/def test_fetch/i\\
|
||||
\\t@unittest.skip('requires internet')" -e "/def additional_tests():/,+1d" tests.py
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Allows to get the public suffix of a domain name";
|
||||
homepage = "https://pypi.python.org/pypi/publicsuffix/";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue