Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 52 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, buildPythonPackage, dj-database-url, dj-email-url, django-cache-url, fetchFromGitHub, flit-core, marshmallow, pytestCheckHook, python-dotenv, pythonOlder,}:
buildPythonPackage rec { pname = "environs"; version = "14.2.0"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "sloria"; repo = "environs"; tag = version; hash = "sha256-2JmoLhKqvX927e64qMIv+YAK7WJR+O/8nKvgaT9AQm8="; };
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [ marshmallow python-dotenv ];
nativeCheckInputs = [ dj-database-url dj-email-url django-cache-url pytestCheckHook ];
pythonImportsCheck = [ "environs" ];
meta = with lib; { description = "Python modle for environment variable parsing"; homepage = "https://github.com/sloria/environs"; changelog = "https://github.com/sloria/environs/blob/${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };}