From 4615bdaa9e4ae711947cf3d207d656c227028fee Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sat, 9 May 2020 11:34:00 +0200 Subject: [PATCH] python3.pkgs.flit-core: init at 2.3.0 --- .../python-modules/flit-core/default.nix | 36 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 38 insertions(+) create mode 100644 pkgs/development/python-modules/flit-core/default.nix diff --git a/pkgs/development/python-modules/flit-core/default.nix b/pkgs/development/python-modules/flit-core/default.nix new file mode 100644 index 000000000000..f6afce0b9f28 --- /dev/null +++ b/pkgs/development/python-modules/flit-core/default.nix @@ -0,0 +1,36 @@ +{ lib +, buildPythonPackage +, fetchPypi +, flit +, isPy3k +, pytoml +}: + +buildPythonPackage rec { + pname = "flit-core"; + version = "2.3.0"; + disabled = !isPy3k; + + format = "pyproject"; + + src = fetchPypi { + inherit version; + pname = "flit_core"; + hash = "sha256:a50bcd8bf5785e3a7d95434244f30ba693e794c5204ac1ee908fc07c4acdbf80"; + }; + + propagatedBuildInputs = [ + pytoml + ]; + + passthru.tests = { + inherit flit; + }; + + meta = { + description = "Distribution-building parts of Flit. See flit package for more information"; + homepage = "https://github.com/takluyver/flit"; + license = lib.licenses.bsd3; + maintainers = [ lib.maintainers.fridh ]; + }; +} \ No newline at end of file diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c356700167eb..56758a6ea535 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2811,6 +2811,8 @@ in { flit = callPackage ../development/python-modules/flit { }; + flit-core = callPackage ../development/python-modules/flit-core { }; + flowlogs_reader = callPackage ../development/python-modules/flowlogs_reader { }; fluent-logger = callPackage ../development/python-modules/fluent-logger {};