1a04744f74
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:
pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
for f in $(find -name '*.nix'); do
grep -q "$pattern" "$f" || continue
sed -i "/$pattern/d" "$f"
if [ $(grep -c pythonOlder "$f") == 1 ]; then
sed -i '/^\s*pythonOlder,\s*$/d' "$f"
fi
nixfmt "$f"
done
48 lines
794 B
Nix
48 lines
794 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
certifi,
|
|
chardet,
|
|
datadog,
|
|
decorator,
|
|
fetchPypi,
|
|
idna,
|
|
requests,
|
|
urllib3,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "gradient-statsd";
|
|
version = "1.0.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
pname = "gradient_statsd";
|
|
inherit version;
|
|
hash = "sha256-iWlNX43ZtvU73wz4+8DgDulQNOnssJGxTBkvAaLj530=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
certifi
|
|
chardet
|
|
datadog
|
|
decorator
|
|
idna
|
|
requests
|
|
urllib3
|
|
];
|
|
|
|
pythonImportsCheck = [ "gradient_statsd" ];
|
|
|
|
# Pypi does not contain tests
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Wrapper around the DogStatsd client";
|
|
homepage = "https://paperspace.com";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|