pythonPackages.vmprof: refactor move to python-modules
This commit is contained in:
parent
cac8acb654
commit
79112e8522
28
pkgs/development/python-modules/vmprof/default.nix
Normal file
28
pkgs/development/python-modules/vmprof/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, requests
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.3.3";
|
||||
pname = "vmprof";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "991bc2f1dc824c63e9b399f9e8606deded92a52378d0e449f258807d7556b039";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests six];
|
||||
|
||||
# No tests included
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A vmprof client";
|
||||
license = licenses.mit;
|
||||
homepage = https://vmprof.readthedocs.org/;
|
||||
};
|
||||
|
||||
}
|
@ -4091,28 +4091,7 @@ in {
|
||||
|
||||
virtualenvwrapper = callPackage ../development/python-modules/virtualenvwrapper { };
|
||||
|
||||
vmprof = buildPythonPackage rec {
|
||||
version = "0.3.3";
|
||||
name = "vmprof-${version}";
|
||||
|
||||
# Url using old scheme doesn't seem to work
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://files.pythonhosted.org/packages/c3/f3/f039ca77e727c5c2d3e61967a2a5c9ecc0ef6ca235012fd5559febb77cd0/vmprof-0.3.3.tar.gz";
|
||||
sha256 = "991bc2f1dc824c63e9b399f9e8606deded92a52378d0e449f258807d7556b039";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ requests six];
|
||||
|
||||
# No tests included
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "A vmprof client";
|
||||
license = licenses.mit;
|
||||
homepage = https://vmprof.readthedocs.org/;
|
||||
};
|
||||
|
||||
};
|
||||
vmprof = callPackage ../development/python-modules/vmprof { };
|
||||
|
||||
vultr = buildPythonPackage rec {
|
||||
version = "0.1.2";
|
||||
|
Loading…
Reference in New Issue
Block a user