Loading pkgs/servers/pinnwand/steck.nix +20 −22 Original line number Diff line number Diff line Loading @@ -2,32 +2,27 @@ lib, pkgs, python3Packages, fetchPypi, fetchFromGitHub, nixosTests, }: python3Packages.buildPythonApplication rec { pname = "steck"; version = "0.7.0"; format = "setuptools"; src = fetchPypi { inherit pname version; sha256 = "1a3l427ibwck9zzzy1sp10hmjgminya08i4r9j4559qzy7lxghs1"; version = "0.8.0"; pyproject = true; src = fetchFromGitHub { owner = "supakeen"; repo = "steck"; tag = "v${version}"; hash = "sha256-5Spops8ERQ7TgFYH7n+c4hKdIQfjjujKaGhmhfAszgQ="; }; postPatch = '' cat setup.py substituteInPlace setup.py \ --replace 'click>=7.0,<8.0' 'click' \ --replace 'termcolor>=1.1.0,<2.0.0' 'termcolor' ''; nativeBuildInputs = with python3Packages; [ setuptools build-system = with python3Packages; [ poetry-core ]; propagatedBuildInputs = with python3Packages; [ dependencies = with python3Packages; [ pkgs.git appdirs click Loading @@ -37,16 +32,19 @@ python3Packages.buildPythonApplication rec { toml ]; # tests are not in pypi package doCheck = false; pythonRelaxDeps = [ "termcolor" ]; nativeCheckInputs = with python3Packages; [ pytestCheckHook ]; passthru.tests = nixosTests.pinnwand; meta = with lib; { meta = { homepage = "https://github.com/supakeen/steck"; license = licenses.mit; license = lib.licenses.mit; description = "Client for pinnwand pastebin"; mainProgram = "steck"; maintainers = with maintainers; [ hexa ]; maintainers = with lib.maintainers; [ hexa ]; }; } Loading
pkgs/servers/pinnwand/steck.nix +20 −22 Original line number Diff line number Diff line Loading @@ -2,32 +2,27 @@ lib, pkgs, python3Packages, fetchPypi, fetchFromGitHub, nixosTests, }: python3Packages.buildPythonApplication rec { pname = "steck"; version = "0.7.0"; format = "setuptools"; src = fetchPypi { inherit pname version; sha256 = "1a3l427ibwck9zzzy1sp10hmjgminya08i4r9j4559qzy7lxghs1"; version = "0.8.0"; pyproject = true; src = fetchFromGitHub { owner = "supakeen"; repo = "steck"; tag = "v${version}"; hash = "sha256-5Spops8ERQ7TgFYH7n+c4hKdIQfjjujKaGhmhfAszgQ="; }; postPatch = '' cat setup.py substituteInPlace setup.py \ --replace 'click>=7.0,<8.0' 'click' \ --replace 'termcolor>=1.1.0,<2.0.0' 'termcolor' ''; nativeBuildInputs = with python3Packages; [ setuptools build-system = with python3Packages; [ poetry-core ]; propagatedBuildInputs = with python3Packages; [ dependencies = with python3Packages; [ pkgs.git appdirs click Loading @@ -37,16 +32,19 @@ python3Packages.buildPythonApplication rec { toml ]; # tests are not in pypi package doCheck = false; pythonRelaxDeps = [ "termcolor" ]; nativeCheckInputs = with python3Packages; [ pytestCheckHook ]; passthru.tests = nixosTests.pinnwand; meta = with lib; { meta = { homepage = "https://github.com/supakeen/steck"; license = licenses.mit; license = lib.licenses.mit; description = "Client for pinnwand pastebin"; mainProgram = "steck"; maintainers = with maintainers; [ hexa ]; maintainers = with lib.maintainers; [ hexa ]; }; }