mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-24 14:18:13 +03:00
pythonPackages.scales: refactor move to python-modules
This commit is contained in:
parent
f6944a991a
commit
af9b13436b
29
pkgs/development/python-modules/scales/default.nix
Normal file
29
pkgs/development/python-modules/scales/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nose
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "scales";
|
||||
version = "1.0.9";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "8b6930f7d4bf115192290b44c757af5e254e3fcfcb75ff9a51f5c96a404e2753";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
# No tests included
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Stats for Python processes";
|
||||
homepage = https://www.github.com/Cue/scales;
|
||||
license = licenses.asl20;
|
||||
};
|
||||
|
||||
}
|
@ -3823,27 +3823,7 @@ in {
|
||||
|
||||
sandboxlib = callPackage ../development/python-modules/sandboxlib { };
|
||||
|
||||
scales = buildPythonPackage rec {
|
||||
name = "scales-${version}";
|
||||
version = "1.0.9";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/s/scales/${name}.tar.gz";
|
||||
sha256 = "8b6930f7d4bf115192290b44c757af5e254e3fcfcb75ff9a51f5c96a404e2753";
|
||||
};
|
||||
|
||||
buildInputs = with self; optionals doCheck [ nose ];
|
||||
# No tests included
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = with self; [ six ];
|
||||
|
||||
meta = {
|
||||
description = "Stats for Python processes";
|
||||
homepage = https://www.github.com/Cue/scales;
|
||||
license = licenses.asl20;
|
||||
};
|
||||
};
|
||||
scales = callPackage ../development/python-modules/scales { };
|
||||
|
||||
secp256k1 = callPackage ../development/python-modules/secp256k1 {
|
||||
inherit (pkgs) secp256k1 pkgconfig;
|
||||
|
Loading…
Reference in New Issue
Block a user