pythonPackages.howdoi: Move to own file
This commit is contained in:
parent
f86567c92e
commit
86d3371521
20
pkgs/development/python-modules/howdoi/default.nix
Normal file
20
pkgs/development/python-modules/howdoi/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -2061,23 +2061,7 @@ in {
|
||||
|
||||
requests-unixsocket = callPackage ../development/python-modules/requests-unixsocket {};
|
||||
|
||||
howdoi = buildPythonPackage (rec {
|
||||
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;
|
||||
};
|
||||
});
|
||||
howdoi = callPackage ../development/python-modules/howdoi {};
|
||||
|
||||
neurotools = buildPythonPackage (rec {
|
||||
name = "NeuroTools-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user