Merge pull request #245632 from DrSensor/pkgs/knit

knit: init at 1.1.1
This commit is contained in:
Pol Dellaiera
2023-07-28 10:57:22 +02:00
committed by GitHub
3 changed files with 45 additions and 0 deletions
+7
View File
@@ -4457,6 +4457,13 @@
fingerprint = "7E38 89D9 B1A8 B381 C8DE A15F 95EB 6DFF 26D1 CEB0";
}];
};
DrSensor = {
name = "Fahmi Akbar Wildana";
email = "sensorfied@gmail.com";
matrix = "@drsensor:matrix.org";
github = "DrSensor";
githubId = 4953069;
};
drupol = {
name = "Pol Dellaiera";
email = "pol.dellaiera@protonmail.com";
@@ -0,0 +1,36 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "knit";
version = "1.1.1";
src = fetchFromGitHub {
owner = "zyedidia";
repo = "knit";
rev = "v${version}";
hash = "sha256-zxwEJnQZpOEJhV7jx2ClS3XmMfGBiq8AHR26TOIBJVw=";
};
vendorHash = "sha256-+IZFydwchHIMIvYmIgZ0uJKjW4aVBFuj3SQk58I0z/g=";
subPackages = [
"cmd/knit"
];
ldflags = [
"-s"
"-w"
"-X github.com/zyedidia/knit/info.Version=${version}"
];
meta = with lib; {
description = "A simple and flexible build tool using Lua, similar to make/mk";
homepage = "https://github.com/zyedidia/knit";
changelog = "https://github.com/zyedidia/knit/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ DrSensor ];
};
}
+2
View File
@@ -9512,6 +9512,8 @@ with pkgs;
klystrack = callPackage ../applications/audio/klystrack { };
knit = callPackage ../development/tools/build-managers/knit { };
knockpy = callPackage ../tools/security/knockpy { };
kool = callPackage ../development/tools/misc/kool { };