pythonPackages.howdoi: Move to own file

This commit is contained in:
Elis Hirwing 2018-04-03 14:08:17 +02:00 committed by Frederik Rietdijk
parent f86567c92e
commit 86d3371521
2 changed files with 21 additions and 17 deletions

View File

@ -0,0 +1,20 @@
{ stdenv, buildPythonPackage, fetchPypi
, six, requests-cache, pygments, pyquery }:
buildPythonPackage rec {
pname = "howdoi";
version = "1.1.7";
src = fetchPypi {
inherit pname version;
sha256 = "1dx9ms0b3z3bx02paj78cyi788d8l6cpd3jqbn3j88w736i4jknz";
};
propagatedBuildInputs = [ six requests-cache pygments pyquery ];
meta = with stdenv.lib; {
description = "Instant coding answers via the command line";
homepage = https://pypi.python.org/pypi/howdoi;
license = licenses.mit;
};
}

View File

@ -2061,23 +2061,7 @@ in {
requests-unixsocket = callPackage ../development/python-modules/requests-unixsocket {}; requests-unixsocket = callPackage ../development/python-modules/requests-unixsocket {};
howdoi = buildPythonPackage (rec { howdoi = callPackage ../development/python-modules/howdoi {};
name = "howdoi-${version}";
version = "1.1.7";
src = pkgs.fetchurl {
url = "mirror://pypi/h/howdoi/${name}.tar.gz";
sha256 = "df4e49a219872324875d588e7699a1a82174a267e8487505e86bfcb180aea9b7";
};
propagatedBuildInputs = with self; [ self.six requests-cache pygments pyquery ];
meta = {
description = "Instant coding answers via the command line";
homepage = https://pypi.python.org/pypi/howdoi;
license = licenses.mit;
};
});
neurotools = buildPythonPackage (rec { neurotools = buildPythonPackage (rec {
name = "NeuroTools-${version}"; name = "NeuroTools-${version}";