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
32
pkgs/development/python-modules/pycritty/default.nix
Normal file
32
pkgs/development/python-modules/pycritty/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, pythonOlder, pyyaml }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pycritty";
|
||||
version = "0.4.0";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-Lh2zAEJTyzI8dJTNuyaf7gzhySMpui+CF9qRiubwFhE=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# remove custom install
|
||||
substituteInPlace setup.py \
|
||||
--replace "'install': PostInstallHook," ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ pyyaml ];
|
||||
|
||||
# The package does not include any tests to run
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "pycritty" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A CLI tool for changing your alacritty configuration on the fly";
|
||||
homepage = "https://github.com/antoniosarosi/pycritty";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jperras ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue