mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-18 18:14:42 +00:00
pythonPackages.pycares: refactor move to python-modules
This commit is contained in:
parent
0c1af32ed6
commit
2dbdea23b6
27
pkgs/development/python-modules/pycares/default.nix
Normal file
27
pkgs/development/python-modules/pycares/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pkgs
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pycares";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a18341ea030e2cc0743acdf4aa72302bdf6b820938b36ce4bd76e43faa2276a3";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pkgs.c-ares ];
|
||||
|
||||
# No tests included
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/saghul/pycares;
|
||||
description = "Interface for c-ares";
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
@ -2070,26 +2070,7 @@ in {
|
||||
|
||||
pybluez = callPackage ../development/python-modules/pybluez { };
|
||||
|
||||
pycares = buildPythonPackage rec {
|
||||
name = "pycares-${version}";
|
||||
version = "1.0.0";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/pycares/${name}.tar.gz";
|
||||
sha256 = "a18341ea030e2cc0743acdf4aa72302bdf6b820938b36ce4bd76e43faa2276a3";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pkgs.c-ares ];
|
||||
|
||||
# No tests included
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/saghul/pycares;
|
||||
description = "Interface for c-ares";
|
||||
license = licenses.mit;
|
||||
};
|
||||
};
|
||||
pycares = callPackage ../development/python-modules/pycares { };
|
||||
|
||||
pycuda = callPackage ../development/python-modules/pycuda rec {
|
||||
cudatoolkit = pkgs.cudatoolkit_7_5;
|
||||
|
Loading…
Reference in New Issue
Block a user