From f5014e47feea55c2b15af3570c5e9df54e3c8263 Mon Sep 17 00:00:00 2001 From: ayazhafiz Date: Sun, 31 Oct 2021 21:43:56 -0400 Subject: [PATCH] wheel-filename: init at 1.3.0 --- .../python-modules/wheel-filename/default.nix | 26 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/development/python-modules/wheel-filename/default.nix diff --git a/pkgs/development/python-modules/wheel-filename/default.nix b/pkgs/development/python-modules/wheel-filename/default.nix new file mode 100644 index 000000000000..d1db6af025c9 --- /dev/null +++ b/pkgs/development/python-modules/wheel-filename/default.nix @@ -0,0 +1,26 @@ +{ lib +, buildPythonPackage +, fetchurl +, attrs +}: + +buildPythonPackage rec { + pname = "wheel-filename"; + version = "1.3.0"; + format = "wheel"; + + src = fetchurl { + url = "https://github.com/jwodder/wheel-filename/releases/download/v1.1.0/wheel_filename-1.1.0-py3-none-any.whl"; + sha256 = "0aee45553f34e3a1b8a5db64aa832326f13c138b7f925a53daf96f984f9e6a38"; + }; + + buildInputs = [ + attrs + ]; + + meta = with lib; { + homepage = "https://github.com/jwodder/wheel-filename"; + description = "Parse wheel filenames"; + license = with licenses; [ mit ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 319b83c1e52b..240da76ca4fb 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9793,6 +9793,8 @@ in { wheel = callPackage ../development/python-modules/wheel { }; + wheel-filename = callPackage ../development/python-modules/wheel-filename { }; + whichcraft = callPackage ../development/python-modules/whichcraft { }; whirlpool-sixth-sense = callPackage ../development/python-modules/whirlpool-sixth-sense { };