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/pycangjie/default.nix
Normal file
45
pkgs/development/python-modules/pycangjie/default.nix
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, bash
|
||||
, autoconf
|
||||
, automake
|
||||
, libtool
|
||||
, pkg-config
|
||||
, libcangjie
|
||||
, sqlite
|
||||
, buildPythonPackage
|
||||
, cython
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "pycangjie";
|
||||
version = "unstable-2015-05-03";
|
||||
format = "other";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Cangjians";
|
||||
repo = "pycangjie";
|
||||
rev = "361bb413203fd43bab624d98edf6f7d20ce6bfd3";
|
||||
sha256 = "sha256-sS0Demzm89WtEIN4Efz0OTsUQ/c3gIX+/koekQGOca4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config libtool autoconf automake cython ];
|
||||
buildInputs = [ libcangjie sqlite ];
|
||||
|
||||
preConfigure = ''
|
||||
find . -name '*.sh' -exec sed -e 's@#!/bin/bash@${bash}/bin/bash@' -i '{}' ';'
|
||||
sed -i 's@/usr@${libcangjie}@' tests/__init__.py
|
||||
'';
|
||||
|
||||
configureScript = "./autogen.sh";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python wrapper to libcangjie";
|
||||
homepage = "http://cangjians.github.io/projects/pycangjie/";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = [ maintainers.linquize ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue