0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

clac: 0.3.3-unstable-2021-09-06 -> 0.3.4

This commit is contained in:
Gutyina Gergő 2025-01-17 16:45:07 +01:00
parent c53498a79f
commit 7707274b17
No known key found for this signature in database

View file

@ -2,17 +2,18 @@
lib, lib,
stdenv, stdenv,
fetchFromGitHub, fetchFromGitHub,
nix-update-script,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "clac"; pname = "clac";
version = "0.3.3-unstable-2021-09-06"; version = "0.3.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "soveran"; owner = "soveran";
repo = "clac"; repo = "clac";
rev = "beae8c4bc89912f4cd66bb875585fa471692cd54"; tag = finalAttrs.version;
sha256 = "XaULDkFF9OZW7Hbh60wbGgvCJ6L+3gZNGQ9uQv3G0zU="; hash = "sha256-DcW35jKIZQqkNa5Y6am2e5/TAEg3Fo2n+fHG3nOpNzM=";
}; };
makeFlags = [ "PREFIX=$(out)" ]; makeFlags = [ "PREFIX=$(out)" ];
@ -22,12 +23,18 @@ stdenv.mkDerivation rec {
cp README* LICENSE "$out/share/doc/clac" cp README* LICENSE "$out/share/doc/clac"
''; '';
meta = with lib; { passthru.updateScript = nix-update-script { };
meta = {
description = "Interactive stack-based calculator"; description = "Interactive stack-based calculator";
homepage = "https://github.com/soveran/clac"; homepage = "https://github.com/soveran/clac";
license = licenses.bsd2; changelog = "https://github.com/soveran/clac/releases/tag/${finalAttrs.version}";
maintainers = with maintainers; [ raskin ]; license = lib.licenses.bsd2;
platforms = platforms.unix; maintainers = with lib.maintainers; [
gepbird
raskin
];
platforms = lib.platforms.unix;
mainProgram = "clac"; mainProgram = "clac";
}; };
} })