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
33
pkgs/development/python-modules/nixpkgs/default.nix
Normal file
33
pkgs/development/python-modules/nixpkgs/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pbr
|
||||
, pythonix
|
||||
, pythonAtLeast
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nixpkgs";
|
||||
version = "0.2.4";
|
||||
disabled = ! pythonAtLeast "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0dlvq4bpamhlva86042wlc0xxfsxlpdgm2adfb1c6y3vjgbm0nvd";
|
||||
};
|
||||
|
||||
buildInputs = [ pbr ];
|
||||
propagatedBuildInputs = [ pythonix ];
|
||||
|
||||
# does not have any tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "nixpkgs" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Allows to `from nixpkgs import` stuff in interactive Python sessions";
|
||||
homepage = "https://github.com/t184256/nixpkgs-python-importer";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ t184256 ];
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue