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
39
pkgs/tools/misc/pls/default.nix
Normal file
39
pkgs/tools/misc/pls/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ lib, python3, fetchFromGitHub }:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "pls";
|
||||
version = "5.1.2";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dhruvkb";
|
||||
repo = "pls";
|
||||
rev = version;
|
||||
sha256 = "sha256-xJvAAlRVKQHEOz8wbErHCUTcb8Y1otcPEUwTw2lgddo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ python3.pkgs.poetry-core ];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
pyyaml
|
||||
requests
|
||||
rich
|
||||
];
|
||||
|
||||
checkInputs = with python3.pkgs; [
|
||||
freezegun
|
||||
jsonschema
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [ "tests/" "--ignore=tests/e2e" ];
|
||||
|
||||
pythonImportsCheck = [ "pls" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://dhruvkb.github.io/pls/";
|
||||
description = "Prettier and powerful ls";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ arjan-s ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue