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
34
pkgs/development/python-modules/slob/default.nix
Normal file
34
pkgs/development/python-modules/slob/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPy3k
|
||||
, PyICU
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "slob";
|
||||
version = "unstable-2020-06-26";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "itkach";
|
||||
repo = "slob";
|
||||
rev = "018588b59999c5c0eb42d6517fdb84036f3880cb";
|
||||
sha256 = "01195hphjnlcvgykw143rf06s6y955sjc1r825a58vhjx7hj54zh";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ PyICU ];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest slob
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "slob" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/itkach/slob/";
|
||||
description = "Reference implementation of the slob (sorted list of blobs) format";
|
||||
license = licenses.gpl3Only;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue