2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv
|
2020-10-16 20:44:37 +00:00
|
|
|
, fetchurl
|
|
|
|
, unzip
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-08 23:34:03 +00:00
|
|
|
pname = "smos";
|
2020-10-16 20:44:37 +00:00
|
|
|
version = "0.1.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/NorfairKing/smos/releases/download/v${version}/smos-release.zip";
|
|
|
|
sha256 = "sha256:07yavk7xl92yjwwjdig90yq421n8ldv4fjfw7izd4hfpzw849a12";
|
|
|
|
};
|
|
|
|
|
2021-08-08 23:34:03 +00:00
|
|
|
dontInstall = true;
|
|
|
|
|
2020-10-16 20:44:37 +00:00
|
|
|
unpackCmd = "${unzip}/bin/unzip -d $out $curSrc";
|
|
|
|
sourceRoot = ".";
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-10-16 20:44:37 +00:00
|
|
|
description = "A comprehensive self-management system";
|
2021-12-06 16:07:01 +00:00
|
|
|
homepage = "https://smos.online";
|
2020-10-16 20:44:37 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ norfair ];
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
|
|
|
}
|