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
21
pkgs/development/python-modules/diff-match-patch/default.nix
Normal file
21
pkgs/development/python-modules/diff-match-patch/default.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, python }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "diff-match-patch";
|
||||
version = "20200713";
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/diff-match-patch-python/diff-match-patch";
|
||||
description = "Diff, Match and Patch libraries for Plain Text";
|
||||
license = lib.licenses.asl20;
|
||||
};
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "da6f5a01aa586df23dfc89f3827e1cafbb5420be9d87769eeb079ddfd9477a18";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest -v diff_match_patch.tests
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue