mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
python.pkgs.virtualenv: move to separate expression
This commit is contained in:
parent
ea5b2df865
commit
fbbf5e79c3
31
pkgs/development/python-modules/virtualenv/default.nix
Normal file
31
pkgs/development/python-modules/virtualenv/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, lib
|
||||
, recursivePthLoader
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "virtualenv";
|
||||
version = "15.0.3";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "6d9c760d3fc5fa0894b0f99b9de82a4647e1164f0b700a7f99055034bf548b1d";
|
||||
};
|
||||
|
||||
# Doubt this is needed - FRidh 2017-07-07
|
||||
pythonPath = [ recursivePthLoader ];
|
||||
|
||||
patches = [ ./virtualenv-change-prefix.patch ];
|
||||
|
||||
# Tarball doesn't contain tests
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "A tool to create isolated Python environments";
|
||||
homepage = http://www.virtualenv.org;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ goibhniu ];
|
||||
};
|
||||
}
|
@ -25169,30 +25169,7 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
virtualenv = buildPythonPackage rec {
|
||||
name = "virtualenv-15.0.3";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/v/virtualenv/${name}.tar.gz";
|
||||
sha256 = "6d9c760d3fc5fa0894b0f99b9de82a4647e1164f0b700a7f99055034bf548b1d";
|
||||
};
|
||||
|
||||
pythonPath = [ self.recursivePthLoader ];
|
||||
|
||||
patches = [ ../development/python-modules/virtualenv-change-prefix.patch ];
|
||||
|
||||
propagatedBuildInputs = with self; [ ];
|
||||
|
||||
# Tarball doesn't contain tests
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "A tool to create isolated Python environments";
|
||||
homepage = http://www.virtualenv.org;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ goibhniu ];
|
||||
};
|
||||
};
|
||||
virtualenv = callPackage ../development/python-modules/virtualenv { };
|
||||
|
||||
virtualenv-clone = buildPythonPackage rec {
|
||||
name = "virtualenv-clone-0.2.5";
|
||||
|
Loading…
Reference in New Issue
Block a user