mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
fix python optfunc
svn path=/nixpkgs/branches/stdenv-updates/; revision=32633
This commit is contained in:
parent
5afbf9075e
commit
998c1a3469
|
@ -1102,8 +1102,9 @@ let pythonPackages = python.modules // rec {
|
|||
name = "optfunc-git";
|
||||
|
||||
src = pkgs.fetchgit {
|
||||
url = "http://github.com/simonw/optfunc.git";
|
||||
url = "git://github.com/simonw/optfunc.git";
|
||||
rev = "e3fa034a545ed94ac5a039cf5b170c7d0ee21b7b";
|
||||
sha256 = "916f8d998529aaf1bc450462820af7bf3b0eb0e0a513e4db69781321dcd28151";
|
||||
};
|
||||
|
||||
installCommand = ''
|
||||
|
@ -1112,7 +1113,7 @@ let pythonPackages = python.modules // rec {
|
|||
cp * $dest/
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
checkPhase = "python test.py";
|
||||
|
||||
meta = {
|
||||
description = "A new experimental interface to optparse which works by introspecting a function definition";
|
||||
|
|
Loading…
Reference in a new issue