python3Packages.glean-sdk: init at 42.2.0
Needed for moz-phab.
This commit is contained in:
parent
313f74cd73
commit
a811dea815
2 changed files with 48 additions and 0 deletions
42
pkgs/development/python-modules/glean-sdk/default.nix
Normal file
42
pkgs/development/python-modules/glean-sdk/default.nix
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
{ lib
|
||||||
|
, pkgs
|
||||||
|
, python3Packages
|
||||||
|
, rustPlatform
|
||||||
|
, setuptools-rust
|
||||||
|
}:
|
||||||
|
|
||||||
|
python3Packages.buildPythonPackage rec {
|
||||||
|
pname = "glean-sdk";
|
||||||
|
version = "42.2.0";
|
||||||
|
|
||||||
|
src = python3Packages.fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "sha256-X2p6KQnEB6ZHdCHGFVEoEMiI+0R2vfGqel+jFKTcx74=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||||
|
inherit src;
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
sha256 = "sha256-/+rKGPYTLovgjTGL2F/pWzlUy1tY207yuJz3Xdhm1hg=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkgs.rustc
|
||||||
|
pkgs.cargo
|
||||||
|
setuptools-rust
|
||||||
|
rustPlatform.cargoSetupHook
|
||||||
|
];
|
||||||
|
propagatedBuildInputs = with python3Packages; [
|
||||||
|
cffi
|
||||||
|
glean-parser
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "glean" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Modern cross-platform telemetry client libraries and are a part of the Glean project";
|
||||||
|
homepage = "https://mozilla.github.io/glean/book/index.html";
|
||||||
|
license = licenses.mpl20;
|
||||||
|
maintainers = [ maintainers.kvark ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -3126,6 +3126,10 @@ in {
|
||||||
|
|
||||||
glcontext = callPackage ../development/python-modules/glcontext { };
|
glcontext = callPackage ../development/python-modules/glcontext { };
|
||||||
|
|
||||||
|
glean-parser = callPackage ../development/python-modules/glean-parser { };
|
||||||
|
|
||||||
|
glean-sdk = callPackage ../development/python-modules/glean-sdk { };
|
||||||
|
|
||||||
glfw = callPackage ../development/python-modules/glfw { };
|
glfw = callPackage ../development/python-modules/glfw { };
|
||||||
|
|
||||||
glob2 = callPackage ../development/python-modules/glob2 { };
|
glob2 = callPackage ../development/python-modules/glob2 { };
|
||||||
|
@ -7533,6 +7537,8 @@ in {
|
||||||
|
|
||||||
python-gvm = callPackage ../development/python-modules/python-gvm { };
|
python-gvm = callPackage ../development/python-modules/python-gvm { };
|
||||||
|
|
||||||
|
python-hglib = callPackage ../development/python-modules/python-hglib { };
|
||||||
|
|
||||||
python-hosts = callPackage ../development/python-modules/python-hosts { };
|
python-hosts = callPackage ../development/python-modules/python-hosts { };
|
||||||
|
|
||||||
python-hpilo = callPackage ../development/python-modules/python-hpilo { };
|
python-hpilo = callPackage ../development/python-modules/python-hpilo { };
|
||||||
|
|
Loading…
Reference in a new issue