Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
944 B · 48 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ buildPythonPackage, fetchFromGitHub, setuptools, pythonOlder, unittestCheckHook, pandoc, lib,}:let version = "0.7.0";inbuildPythonPackage { pname = "emojis"; inherit version; pyproject = true;
build-system = [ setuptools ];
disabled = pythonOlder "3.4";
src = fetchFromGitHub { owner = "alexandrevicenzi"; repo = "emojis"; tag = "v${version}"; hash = "sha256-rr/BM39U1j8EL8b/YojclI4h0NnOCdoMlecR/1f9ISg="; };
nativeBuildInputs = [ pandoc ];
preBuild = '' make pandoc '';
pythonImportsCheck = [ "emojis" ];
nativeCheckInputs = [ unittestCheckHook ];
meta = { description = "Convert emoji names to emoji characters"; homepage = "https://github.com/alexandrevicenzi/emojis"; changelog = "https://github.com/alexandrevicenzi/emojis/releases/tag/v${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ amadaluzia ]; };}