talc/default.nix

32 lines
787 B
Nix
Raw Normal View History

2025-02-05 22:04:09 -05:00
{ pkgs ? import <nixpkgs> { }
, stdenv ? pkgs.stdenv
, lib ? stdenv.lib
, rustPlatform ? pkgs.rustPlatform
, fetchFromGitea ? pkgs.fetchFromGitea
}:
rustPlatform.buildRustPackage rec {
pname = "talc";
version = "0.2.2";
src = fetchFromGitea {
domain = "g.trimill.xyz";
owner = "trimill";
repo = "talc";
rev = "v${version}";
hash = "sha256-QhZzSbCmawHOKRNDb0RAGX6qvRNbW0bnznA4o61+/7U=";
};
cargoHash = "sha256-yJEUmOEo2BkLyi6A+89itBMjvgXBLjwY72k6YL80ooM=";
meta = with lib; {
description = "magnesium silicate-based programming language and terminal calculator";
homepage = "https://talc.trimill.xyz/";
license = licenses.lgpl3Plus;
maintainers = [{
name = "Freya Murphy";
email = "contact@freyacat.org";
}];
};
}