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
35
pkgs/development/python-modules/codepy/default.nix
Normal file
35
pkgs/development/python-modules/codepy/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytools
|
||||
, appdirs
|
||||
, six
|
||||
, cgen
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "codepy";
|
||||
version = "2019.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "inducer";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-viMfB/nDrvDA/IGRZEX+yXylxbbmqbh/fgdYXBzK0zM=";
|
||||
};
|
||||
|
||||
buildInputs = [ pytools six cgen ];
|
||||
propagatedBuildInputs = [ appdirs ];
|
||||
|
||||
pythonImportsCheck = [ "codepy" ];
|
||||
|
||||
# Tests are broken
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/inducer/codepy";
|
||||
description = "Generate and execute native code at run time, from Python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ atila ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue