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
27
pkgs/development/python-modules/pythondialog/default.nix
Normal file
27
pkgs/development/python-modules/pythondialog/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pythondialog";
|
||||
version = "3.5.3";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b2a34a8af0a6625ccbdf45cd343b854fc6c1a85231dadc80b8805db836756323";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace dialog.py --replace ":/bin:/usr/bin" ":$out/bin"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Python interface to the UNIX dialog utility and mostly-compatible programs";
|
||||
homepage = "http://pythondialog.sourceforge.net/";
|
||||
license = licenses.lgpl3;
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue