mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 06:24:08 +01:00
This is almost all find-and-replace. I manually edited: * pkgs/development/python-modules/notifications-android-tv/default.nix, * pkgs/servers/home-assistant/default.nix, * pkgs/development/tools/continuous-integration/buildbot/master.nix A few files have not been changed in this PR because they would cause rebuilds. This PR should have 0 rebuilds.
34 lines
689 B
Nix
34 lines
689 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildPythonPackage,
|
|
setuptools,
|
|
pytestCheckHook,
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "parse";
|
|
version = "1.20.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "r1chardj0n3s";
|
|
repo = "parse";
|
|
tag = version;
|
|
hash = "sha256-i/H3E/Z8vqt2jLS8BaVHJuD2Fbi7TP7EeOjXAJ16bWg=";
|
|
};
|
|
|
|
postPatch = ''
|
|
rm .pytest.ini
|
|
'';
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/r1chardj0n3s/parse";
|
|
description = "parse() is the opposite of format()";
|
|
license = lib.licenses.bsdOriginal;
|
|
maintainers = with lib.maintainers; [ alunduil ];
|
|
};
|
|
}
|