nix/pkgs: drop my own python-emv package

There's one in nixpkgs that's more up to date.
This commit is contained in:
Luke Granger-Brown 2022-07-07 22:05:57 +01:00
parent 889482aab3
commit d07f593c22
2 changed files with 0 additions and 40 deletions

View file

@ -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;

View file

@ -1,39 +0,0 @@
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# 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 ];
};
}