From 35e29813a6f73c09214587c1cfc8f6df9bbcb61e Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Wed, 21 Jul 2021 20:31:47 +0200 Subject: [PATCH] python3Packages.prefixed: init at 0.3.2 --- flake.nix | 2 ++ python-modules/prefixed/default.nix | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 python-modules/prefixed/default.nix diff --git a/flake.nix b/flake.nix index 021a878..5f3a87b 100644 --- a/flake.nix +++ b/flake.nix @@ -20,6 +20,8 @@ packageOverrides = final: prev: { deezer-py = callPythonPackage ./python-modules/deezer-py { }; + + prefixed = callPythonPackage ./python-modules/prefixed { }; }; }; python3Packages = prev.recurseIntoAttrs final.python3.pkgs; diff --git a/python-modules/prefixed/default.nix b/python-modules/prefixed/default.nix new file mode 100644 index 0000000..77a6ec8 --- /dev/null +++ b/python-modules/prefixed/default.nix @@ -0,0 +1,22 @@ +{ lib +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "prefixed"; + version = "0.3.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "0af0sanqdw7ymy9rxhw7cd0q8yqcjgd4f23n9gfld0zslmxjfj6a"; + }; + + meta = with lib; { + description = "A prefixed alternative numeric library"; + homepage = "https://github.com/Rockhopper-Technologies/prefixed"; + license = licenses.mpl20; + maintainers = with maintainers; [ sbruder ]; + platforms = platforms.all; + }; +}