nixpkgs/pkgs/applications/misc/smos/default.nix

28 lines
650 B
Nix
Raw Normal View History

{ lib, stdenv
2020-10-06 11:47:51 +02:00
, fetchurl
, unzip
}:
stdenv.mkDerivation rec {
2021-08-03 14:06:02 +02:00
pname = "smos";
2020-10-06 11:47:51 +02: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-03 14:06:02 +02:00
dontInstall = true;
2020-10-06 11:47:51 +02:00
unpackCmd = "${unzip}/bin/unzip -d $out $curSrc";
sourceRoot = ".";
meta = with lib; {
2020-10-06 11:47:51 +02:00
description = "A comprehensive self-management system";
homepage = https://smos.online;
license = licenses.mit;
maintainers = with maintainers; [ norfair ];
platforms = platforms.linux ++ platforms.darwin;
};
}