mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
35 lines
713 B
Nix
35 lines
713 B
Nix
{ lib, pkgs, python3Packages, nixosTests }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "steck";
|
|
version = "0.7.0";
|
|
|
|
src = python3Packages.fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1a3l427ibwck9zzzy1sp10hmjgminya08i4r9j4559qzy7lxghs1";
|
|
};
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
pkgs.git
|
|
appdirs
|
|
click
|
|
python_magic
|
|
requests
|
|
termcolor
|
|
toml
|
|
];
|
|
|
|
# tests are not in pypi package
|
|
doCheck = false;
|
|
|
|
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 ];
|
|
};
|
|
}
|
|
|