talc/nix/default.nix

32 lines
787 B
Nix
Raw Permalink 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";
2025-02-06 14:39:03 -05:00
version = "0.2.3";
2025-02-05 22:04:09 -05:00
src = fetchFromGitea {
domain = "g.trimill.xyz";
owner = "trimill";
repo = "talc";
rev = "v${version}";
2025-02-06 14:39:03 -05:00
hash = "sha256-8FyRaGTLFv/eLVpt3S4QdeKWIItmZHkQ/gOK4wee0W0=";
2025-02-05 22:04:09 -05:00
};
2025-02-06 14:39:03 -05:00
cargoHash = "sha256-Jp9oAmQXi20y0iMf+fMM4d1WzAwWyYA1+1rbm+MXGyQ=";
2025-02-05 22:04:09 -05:00
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";
}];
};
}