forked from mirrors/nixpkgs
hovercraft: 2.0 -> 2.6
move to top-level, use buildPythonApplication
This commit is contained in:
parent
13892da3e7
commit
75f5fbe945
35
pkgs/applications/misc/hovercraft/default.nix
Normal file
35
pkgs/applications/misc/hovercraft/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ lib
|
||||
, buildPythonApplication
|
||||
, isPy3k
|
||||
, fetchFromGitHub
|
||||
, manuel
|
||||
, setuptools
|
||||
, docutils
|
||||
, lxml
|
||||
, svg-path
|
||||
, pygments
|
||||
, watchdog
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "hovercraft";
|
||||
version = "2.6";
|
||||
disabled = ! isPy3k;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "regebro";
|
||||
repo = "hovercraft";
|
||||
rev = version;
|
||||
sha256 = "150sn6kvqi2s89di1akl5i0g81fasji2ipr12zq5s4dcnhw4r5wp";
|
||||
};
|
||||
|
||||
checkInputs = [ manuel ];
|
||||
propagatedBuildInputs = [ setuptools docutils lxml svg-path pygments watchdog ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Makes impress.js presentations from reStructuredText";
|
||||
homepage = https://github.com/regebro/hovercraft;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers;[ goibhniu makefu ];
|
||||
};
|
||||
}
|
|
@ -1,36 +0,0 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, docutils
|
||||
, lxml
|
||||
, manuel
|
||||
, pygments
|
||||
, svg-path
|
||||
, watchdog
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hovercraft";
|
||||
version = "2.0";
|
||||
disabled = ! isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0lqxr816lymgnywln8bbv9nrmkyahjjcjkm9kjyny9bflayz4f1g";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ docutils lxml manuel pygments svg-path watchdog ];
|
||||
|
||||
# one test assumes we have docutils 0.12
|
||||
# TODO: enable tests after upgrading docutils to 0.12
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A tool to make impress.js presentations from reStructuredText";
|
||||
homepage = https://github.com/regebro/hovercraft;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ goibhniu ];
|
||||
};
|
||||
|
||||
}
|
|
@ -17209,6 +17209,8 @@ with pkgs;
|
|||
gtk = gtk3;
|
||||
};
|
||||
|
||||
hovercraft = python3Packages.callPackage ../applications/misc/hovercraft { };
|
||||
|
||||
howl = callPackage ../applications/editors/howl { };
|
||||
|
||||
ht = callPackage ../applications/editors/ht { };
|
||||
|
|
|
@ -1686,8 +1686,6 @@ in {
|
|||
|
||||
hupper = callPackage ../development/python-modules/hupper {};
|
||||
|
||||
hovercraft = callPackage ../development/python-modules/hovercraft { };
|
||||
|
||||
hsaudiotag = callPackage ../development/python-modules/hsaudiotag { };
|
||||
|
||||
hsaudiotag3k = callPackage ../development/python-modules/hsaudiotag3k { };
|
||||
|
|
Loading…
Reference in a new issue