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
33
pkgs/development/python-modules/editdistance-s/default.nix
Normal file
33
pkgs/development/python-modules/editdistance-s/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, cffi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "editdistance-s";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "asottile";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0w2qd5b6a3c3ahd0xy9ykq4wzqk0byqwdqrr26dyn8j2425j46lg";
|
||||
};
|
||||
|
||||
propagatedNativeBuildInputs = [ cffi ];
|
||||
|
||||
propagatedBuildInputs = [ cffi ];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "editdistance_s" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fast implementation of the edit distance (Levenshtein distance)";
|
||||
homepage = "https://github.com/asottile/editdistance-s";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ austinbutler ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue