about summary refs log tree commit diff
path: root/pkgs/servers/pinnwand
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2020-06-03 23:12:06 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2020-08-09 01:52:25 +0200
commitcb50679f0e9cc9e5711e229c15e71817ecd46d14 (patch)
treef72f4af89710c05aad952fb44916d0fcae432529 /pkgs/servers/pinnwand
parent607a94ce2fd340886580e6dfabbf2ee71d5764a0 (diff)
nixos/tests/pinnwand: init
Diffstat (limited to 'pkgs/servers/pinnwand')
-rw-r--r--pkgs/servers/pinnwand/default.nix4
-rw-r--r--pkgs/servers/pinnwand/steck.nix2
2 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/servers/pinnwand/default.nix b/pkgs/servers/pinnwand/default.nix
index 563c539c825e8..436a599b17e00 100644
--- a/pkgs/servers/pinnwand/default.nix
+++ b/pkgs/servers/pinnwand/default.nix
@@ -1,4 +1,4 @@
-{ lib, python3, fetchFromGitHub }:
+{ lib, python3, fetchFromGitHub, nixosTests }:
 
 let
   python = python3.override {
@@ -35,6 +35,8 @@ in with python.pkgs; buildPythonApplication rec {
     $out/bin/pinnwand --help > /dev/null
   '';
 
+  passthru.tests = nixosTests.pinnwand;
+
   meta = with lib; {
     homepage = "https://supakeen.com/project/pinnwand/";
     license = licenses.mit;
diff --git a/pkgs/servers/pinnwand/steck.nix b/pkgs/servers/pinnwand/steck.nix
index 642c72326f4db..09b20efc36eec 100644
--- a/pkgs/servers/pinnwand/steck.nix
+++ b/pkgs/servers/pinnwand/steck.nix
@@ -19,6 +19,8 @@ python3Packages.buildPythonApplication rec {
     toml
   ];
 
+  passthru.tests = nixosTests.pinnwand;
+
   meta = with lib; {
     homepage = "https://github.com/supakeen/steck";
     license = licenses.mit;