Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 50 lines 924 B view raw
1{ 2 lib, 3 pkgs, 4 python3Packages, 5 fetchFromGitHub, 6 nixosTests, 7}: 8 9python3Packages.buildPythonApplication rec { 10 pname = "steck"; 11 version = "0.8.0"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "supakeen"; 16 repo = "steck"; 17 tag = "v${version}"; 18 hash = "sha256-5Spops8ERQ7TgFYH7n+c4hKdIQfjjujKaGhmhfAszgQ="; 19 }; 20 21 build-system = with python3Packages; [ 22 poetry-core 23 ]; 24 25 dependencies = with python3Packages; [ 26 pkgs.git 27 appdirs 28 click 29 python-magic 30 requests 31 termcolor 32 toml 33 ]; 34 35 pythonRelaxDeps = [ "termcolor" ]; 36 37 nativeCheckInputs = with python3Packages; [ 38 pytestCheckHook 39 ]; 40 41 passthru.tests = nixosTests.pinnwand; 42 43 meta = { 44 homepage = "https://github.com/supakeen/steck"; 45 license = lib.licenses.mit; 46 description = "Client for pinnwand pastebin"; 47 mainProgram = "steck"; 48 maintainers = with lib.maintainers; [ hexa ]; 49 }; 50}