Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
860 B · 46 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, buildPythonPackage, fetchPypi, setuptools, requests, unittestCheckHook, mock,}:
buildPythonPackage rec { pname = "pybrowserid"; version = "0.14.0"; pyproject = true;
src = fetchPypi { pname = "PyBrowserID"; inherit version; hash = "sha256-bCJ2aeh8wleWrnb2oO9lAlUoyK2C01Jnn6mj5WY6ceM="; };
patches = [ ./darwin_fix.patch ];
postPatch = '' substituteInPlace browserid/tests/* \ --replace-warn 'assertEquals' 'assertEqual' '';
build-system = [ setuptools ];
dependencies = [ requests ];
pythonImportsCheck = [ "browserid" ];
nativeCheckInputs = [ unittestCheckHook mock ];
meta = with lib; { description = "Python library for the BrowserID Protocol"; homepage = "https://github.com/mozilla/PyBrowserID"; license = licenses.mpl20; maintainers = [ ]; };}