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
45
pkgs/development/python-modules/python-registry/default.nix
Normal file
45
pkgs/development/python-modules/python-registry/default.nix
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, enum-compat
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, unicodecsv
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-registry";
|
||||
version = "1.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "williballenthin";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0gwx5jcribgmmbz0ikhz8iphz7yj2d2nmk24nkdrjd3y5irly11s";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
enum-compat
|
||||
unicodecsv
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
six
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
"samples"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"Registry"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pure Python parser for Windows Registry hives";
|
||||
homepage = "https://github.com/williballenthin/python-registry";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.determinatesystems.members;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue