Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
671 B · 28 lines
Nix
at litex
1234567891011121314151617181920212223242526272829{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook}:
buildPythonPackage rec { pname = "pyuseragents"; version = "1.0.5";
src = fetchFromGitHub { owner = "Animenosekai"; repo = "useragents"; rev = "v${version}"; sha256 = "D7Qs3vsfkRH2FDkbfakrR+FfWzQFiOCQM7q9AdJavyU="; };
nativeCheckInputs = [ pytestCheckHook ]; pytestFlagsArray = [ "test.py" ]; pythonImportsCheck = [ "pyuseragents" ];
meta = with lib; { description = "Giving you a random User-Agent Header"; homepage = "https://github.com/Animenosekai/useragents"; license = with licenses; [ mit ]; maintainers = with maintainers; [ emilytrau ]; };}