nixpkgs/pkgs/development/python-modules/derpconf/default.nix
Fabian Affolter 5bc96d1b9d
python310Packages.derpconf: add format
- disable on unsupported Python releases
2023-11-05 12:23:51 +01:00

36 lines
710 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, six
, pythonOlder
}:
buildPythonPackage rec {
pname = "derpconf";
version = "0.8.4";
format = "setuptools";
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-66MOqcWIiqJrORJDgAH5iUblHyqJvuf9DIBN56XjKwU=";
};
propagatedBuildInputs = [
six
];
pythonImportsCheck = [
"derpconf"
];
meta = with lib; {
description = "Module to abstract loading configuration files for your app";
homepage = "https://github.com/globocom/derpconf";
changelog = "https://github.com/globocom/derpconf/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}