aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/servers/pinnwand/steck.nix
blob: 09b20efc36eecf8a4926146020be9139f9c88c86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ lib, pkgs, python3Packages, nixosTests }:

python3Packages.buildPythonApplication rec {
  pname = "steck";
  version = "0.6.0";

  src = python3Packages.fetchPypi {
    inherit pname version;
    sha256 = "07gc5iwbyprb8nihnjjl2zd06z8p4nl3a3drzh9a8ny35ig1khq0";
  };

  propagatedBuildInputs = with python3Packages; [
    pkgs.git
    appdirs
    click
    python_magic
    requests
    termcolor
    toml
  ];

  passthru.tests = nixosTests.pinnwand;

  meta = with lib; {
    homepage = "https://github.com/supakeen/steck";
    license = licenses.mit;
    description = "Client for pinnwand pastebin.";
    maintainers = with maintainers; [ hexa ];
  };
}