From d07f593c222149185b105be5e6fdfd34e2344c5d Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Thu, 7 Jul 2022 22:05:57 +0100 Subject: [PATCH] nix/pkgs: drop my own python-emv package There's one in nixpkgs that's more up to date. --- nix/pkgs/default.nix | 1 - nix/pkgs/python-emv.nix | 39 --------------------------------------- 2 files changed, 40 deletions(-) delete mode 100644 nix/pkgs/python-emv.nix diff --git a/nix/pkgs/default.nix b/nix/pkgs/default.nix index 24b30aa0a5..e0e6aecb80 100644 --- a/nix/pkgs/default.nix +++ b/nix/pkgs/default.nix @@ -11,7 +11,6 @@ copybara = import ./copybara.nix args; hg-git = import ./hg-git.nix args; erbium = import ./erbium args; - python-emv = import ./python-emv.nix args; sheepshaver = import ./sheepshaver.nix args; intermec-cups-driver = pkgs.callPackage ./intermec-cups-driver.nix {}; deluge = import ./deluge args; diff --git a/nix/pkgs/python-emv.nix b/nix/pkgs/python-emv.nix deleted file mode 100644 index 8d06d12510..0000000000 --- a/nix/pkgs/python-emv.nix +++ /dev/null @@ -1,39 +0,0 @@ -# SPDX-FileCopyrightText: 2020 Luke Granger-Brown -# -# SPDX-License-Identifier: Apache-2.0 - -{ pkgs, ... }: -with pkgs; -with pkgs.python3Packages; -buildPythonPackage rec { - pname = "python-emv"; - version = "1.0.9"; - - src = fetchFromGitHub { - owner = "russss"; - repo = "python-emv"; - rev = "v${version}"; - hash = "sha256:1ldibcy1wgnaimf8ri79lg8im1mhfqajrigfflvizw0hb0ivh8al"; - }; - - checkInputs = [ pytestCheckHook unittest2 ]; - propagatedBuildInputs = [ - enum-compat - click - pyscard - pycountry - terminaltables - ]; - - # argparse is part of the standardlib - prePatch = '' - substituteInPlace setup.py --replace '"argparse",' "" - ''; - - meta = with lib; { - homepage = "https://github.com/russss/python-emv"; - description = "A Python implementation of the EMV smartcard protocol, used for chip-and-PIN payments"; - license = licenses.mit; - maintainers = with maintainers; [ lukegb ]; - }; -}