nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit c743e8935378c84145f046ea62e8439451859d87
parent 78d1fcbfba61232e43c5ee38d2fb824aa92da25b
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Sun, 21 May 2023 10:22:25 +0400

Move lru-dict to nixpkgs

Diffstat:
Mpkgs/default.nix | 1-
Dpkgs/development/python-modules/lru-dict/default.nix | 22----------------------
Mpkgs/linguistics/wikitextprocessor/default.nix | 2+-
3 files changed, 1 insertion(+), 24 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -104,7 +104,6 @@ lib.makeScope newScope ( jsonseq = callPackage ./development/python-modules/jsonseq { }; large-image = callPackage ./development/python-modules/large-image { }; large-image-source-gdal = (callPackage ./development/python-modules/large-image/sources.nix { }).source-gdal; - lru-dict = callPackage ./development/python-modules/lru-dict { }; modbus_tk = callPackage ./development/python-modules/modbus_tk { }; portolan = callPackage ./development/python-modules/portolan { }; pymbtiles = callPackage ./development/python-modules/pymbtiles { }; diff --git a/pkgs/development/python-modules/lru-dict/default.nix b/pkgs/development/python-modules/lru-dict/default.nix @@ -1,22 +0,0 @@ -{ lib, python3Packages, fetchFromGitHub }: - -python3Packages.buildPythonApplication rec { - pname = "lru-dict"; - version = "1.1.5"; - - src = fetchFromGitHub { - owner = "amitdev"; - repo = "lru-dict"; - rev = "v${version}"; - hash = "sha256-+6E5vqjNjKXDfkx/rklsSIvP+JfsTtukCXp7NKxVUrY="; - }; - - nativeCheckInputs = with python3Packages; [ pytestCheckHook ]; - - meta = with lib; { - description = "A fast and memory efficient LRU cache for Python"; - inherit (src.meta) homepage; - license = licenses.mit; - maintainers = [ maintainers.sikmir ]; - }; -} diff --git a/pkgs/linguistics/wikitextprocessor/default.nix b/pkgs/linguistics/wikitextprocessor/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, python3Packages, fetchFromGitHub, lru-dict }: +{ lib, stdenv, python3Packages, fetchFromGitHub }: python3Packages.buildPythonPackage rec { pname = "wikitextprocessor";