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
59
pkgs/development/python-modules/glom/default.nix
Normal file
59
pkgs/development/python-modules/glom/default.nix
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, boltons
|
||||
, attrs
|
||||
, face
|
||||
, pytestCheckHook
|
||||
, pyyaml
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "glom";
|
||||
version = "22.1.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-FRDGWHqPnGSiRmQbcAM8vF696Z8CrSRWk2eAOOghrrU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
boltons
|
||||
attrs
|
||||
face
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
pyyaml
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
# test_cli.py checks the output of running "glom"
|
||||
export PATH=$out/bin:$PATH
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
# Test is outdated (was made for PyYAML 3.x)
|
||||
"test_main_yaml_target"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"glom"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/mahmoud/glom";
|
||||
description = "Restructuring data, the Python way";
|
||||
longDescription = ''
|
||||
glom helps pull together objects from other objects in a
|
||||
declarative, dynamic, and downright simple way.
|
||||
'';
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ twey ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue