diff options
Diffstat (limited to 'pkgs/by-name/ki')
-rw-r--r-- | pkgs/by-name/ki/kickstart/package.nix | 43 | ||||
-rw-r--r-- | pkgs/by-name/ki/kikit/default.nix | 6 |
2 files changed, 46 insertions, 3 deletions
diff --git a/pkgs/by-name/ki/kickstart/package.nix b/pkgs/by-name/ki/kickstart/package.nix new file mode 100644 index 0000000000000..27bb34e0ff170 --- /dev/null +++ b/pkgs/by-name/ki/kickstart/package.nix @@ -0,0 +1,43 @@ +{ lib +, rustPlatform +, fetchFromGitHub +, nix-update-script +, testers +, kickstart +}: + +rustPlatform.buildRustPackage rec { + pname = "kickstart"; + version = "0.4.0"; + + src = fetchFromGitHub { + owner = "Keats"; + repo = "kickstart"; + rev = "v${version}"; + hash = "sha256-GIBSHPIUq+skTx5k+94/K1FJ30BCboWPA6GadgXwp+I="; + }; + + cargoHash = "sha256-cOcldEte7zxyxzvj7v7uCczs5AQ+v4mMfqmTK9hrv1o="; + + checkFlags = [ + # remote access + "--skip=generation::tests::can_generate_from_remote_repo_with_subdir" + "--skip=generation::tests::can_generate_from_remote_repo" + ]; + + passthru = { + updateScript = nix-update-script { }; + tests.version = testers.testVersion { + package = kickstart; + }; + }; + + meta = with lib; { + description = "A scaffolding tool to get new projects up and running quickly"; + homepage = "https://github.com/Keats/kickstart"; + changelog = "https://github.com/Keats/kickstart/releases/tag/v${version}"; + license = licenses.mit; + maintainers = with maintainers; [ gaelreyrol ]; + mainProgram = "kickstart"; + }; +} diff --git a/pkgs/by-name/ki/kikit/default.nix b/pkgs/by-name/ki/kikit/default.nix index c32b89af37d08..e34f12652ede7 100644 --- a/pkgs/by-name/ki/kikit/default.nix +++ b/pkgs/by-name/ki/kikit/default.nix @@ -23,7 +23,7 @@ let in buildPythonApplication rec { pname = "kikit"; - version = "1.3.0"; + version = "1.4.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -31,8 +31,8 @@ buildPythonApplication rec { src = fetchFromGitHub { owner = "yaqwsx"; repo = "KiKit"; - rev = "v${version}"; - hash = "sha256-kDTPk/R3eZtm4DjoUV4tSQzjGQ9k8MKQedX4oUXYzeo="; + rev = "refs/tags/v${version}"; + hash = "sha256-88/1bL3MtawR/8P8U1jHatMbq+JxF1qb+plH3rYh1qU="; }; propagatedBuildInputs = [ |