Created
April 29, 2018 18:22
-
-
Save Mic92/43fc92763e132db0063284cfc3a8afdb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/pkgs/applications/networking/mwikiircbot/default.nix b/pkgs/applications/networking/mwikiircbot/default.nix | |
index a11c15bde6f..66db77caa63 100644 | |
--- a/pkgs/applications/networking/mwikiircbot/default.nix | |
+++ b/pkgs/applications/networking/mwikiircbot/default.nix | |
@@ -13,16 +13,13 @@ python3Packages.buildPythonApplication rec { | |
disabled = !python3Packages.isPy3k; | |
- phases = [ "unpackPhase" "installPhase" ]; | |
- | |
installPhase = '' | |
- mkdir -p $out/bin | |
- cp -r mwikiircbot.py $out/bin/ | |
- | |
- wrapPythonProgramsIn $out/bin "$out $pythonPath" | |
+ install -D mwikiircbot.py $out/bin/mwikiircbot | |
''; | |
- pythonPath = [ python3Packages.docopt python3Packages.ircbotframework ]; | |
+ format = "other"; | |
+ | |
+ propagatedBuildInputs = [ python3Packages.docopt python3Packages.ircbotframework ]; | |
meta = with stdenv.lib; { | |
description = "IRC bot that sits in one or more IRC channels and posts a livestream of recent changes from a MediaWiki to the channels"; | |
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix | |
index 20c461d1d26..2d7f97afcf8 100644 | |
--- a/pkgs/top-level/python-packages.nix | |
+++ b/pkgs/top-level/python-packages.nix | |
@@ -17978,14 +17978,13 @@ EOF | |
sha256 = "0r8r8f6plss13glvb57d31yxvifmbnw99dbf5hf6pdw6wff1kgqm"; | |
}; | |
- disabled = (!isPy3k); | |
+ disabled = !isPy3k; | |
+ format = "other"; | |
doCheck = false; | |
- phases = [ "unpackPhase" "installPhase" ]; | |
installPhase = '' | |
- mkdir -p "$out/lib/${python.libPrefix}/site-packages" | |
- cp ircbotframe.py "$out/lib/${python.libPrefix}/site-packages/" | |
+ install -D ircbotframe.py "$out/lib/${python.libPrefix}/site-packages/ircbotframe.py" | |
''; | |
}; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment