mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 06:37:41 +00:00
polarity: add nix-update updatescript (#358928)
This commit is contained in:
commit
c5b2824350
@ -1,6 +1,8 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -16,14 +18,21 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = { "codespan-0.11.1" = "sha256-Wq99v77bqSGIOK/iyv+x/EG1563XSeaTDW5K2X3kSXU="; };
|
||||
outputHashes = {
|
||||
"codespan-0.11.1" = "sha256-Wq99v77bqSGIOK/iyv+x/EG1563XSeaTDW5K2X3kSXU=";
|
||||
};
|
||||
};
|
||||
|
||||
passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
|
||||
|
||||
meta = {
|
||||
description = "A Language with Dependent Data and Codata Types";
|
||||
homepage = "https://polarity-lang.github.io/";
|
||||
changelog = "https://github.com/polarity-lang/polarity/blob/${src.rev}/CHANGELOG.md";
|
||||
license = with lib.licenses; [ mit asl20 ];
|
||||
license = with lib.licenses; [
|
||||
mit
|
||||
asl20
|
||||
];
|
||||
maintainers = [ lib.maintainers.mangoiv ];
|
||||
mainProgram = "pol";
|
||||
platforms = lib.platforms.all;
|
||||
|
Loading…
Reference in New Issue
Block a user