nixpkgs/pkgs/servers/pinnwand/steck.nix

32 lines
660 B
Nix
Raw Normal View History

2020-06-03 21:14:53 +02:00
{ 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
];
2020-06-03 23:12:06 +02:00
passthru.tests = nixosTests.pinnwand;
2020-06-03 21:14:53 +02:00
meta = with lib; {
homepage = "https://github.com/supakeen/steck";
license = licenses.mit;
description = "Client for pinnwand pastebin.";
maintainers = with maintainers; [ hexa ];
};
}