Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
671 B · 36 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook}:
buildPythonPackage rec { pname = "luhn"; version = "0.2.0";
src = fetchFromGitHub { owner = "mmcloughlin"; repo = pname; rev = version; hash = "sha256-ZifaCjOVhWdXuzi5n6V+6eVN5vrEHKgUdpSOXoMyR18="; };
nativeCheckInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "test.py" ];
pythonImportsCheck = [ "luhn" ];
meta = with lib; { description = "Python module for generate and verify Luhn check digits"; homepage = "https://github.com/mmcloughlin/luhn"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}