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
41
pkgs/development/python-modules/taskw/default.nix
Normal file
41
pkgs/development/python-modules/taskw/default.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nose
|
||||
, tox
|
||||
, six
|
||||
, python-dateutil
|
||||
, kitchen
|
||||
, pytz
|
||||
, pkgs
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.3.1";
|
||||
pname = "taskw";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1a68e49cac2d4f6da73c0ce554fd6f94932d95e20596f2ee44a769a28c12ba7d";
|
||||
};
|
||||
|
||||
patches = [ ./use-template-for-taskwarrior-install-path.patch ];
|
||||
postPatch = ''
|
||||
substituteInPlace taskw/warrior.py \
|
||||
--replace '@@taskwarrior@@' '${pkgs.taskwarrior}'
|
||||
'';
|
||||
|
||||
# https://github.com/ralphbean/taskw/issues/98
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = [ nose pkgs.taskwarrior tox ];
|
||||
propagatedBuildInputs = [ six python-dateutil kitchen pytz ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/ralphbean/taskw";
|
||||
description = "Python bindings for your taskwarrior database";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ pierron ];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
commit 4de021d049a9b194da93d7e96ff12cc1cbabac83
|
||||
Author: Nicolas B. Pierron <nixos@nbp.name>
|
||||
Date: Sun Nov 16 15:19:38 2014 +0100
|
||||
|
||||
Use a template for taskwarrior install path.
|
||||
|
||||
--- a/taskw/warrior.py
|
||||
+++ b/taskw/warrior.py
|
||||
@@ -449 +449 @@ class TaskWarriorShellout(TaskWarriorBase):
|
||||
- 'task',
|
||||
+ '@@taskwarrior@@/bin/task',
|
||||
@@ -553 +553 @@ class TaskWarriorShellout(TaskWarriorBase):
|
||||
- ['task', '--version'],
|
||||
+ ['@@taskwarrior@@/bin/task', '--version'],
|
||||
Loading…
Add table
Add a link
Reference in a new issue