prysk: init at 0.20.0

This commit is contained in:
Khaïs COLIN 2025-02-11 19:25:58 +01:00
commit 12708216d1
Signed by: logistic-bot
SSH key fingerprint: SHA256:RlpiqKeXpcPFZZ4y9Ou4xi2M8OhRJovIwDlbCaMsuAo
3 changed files with 53 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
result

26
flake.lock generated Normal file
View file

@ -0,0 +1,26 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1739206421,
"narHash": "sha256-PwQASeL2cGVmrtQYlrBur0U20Xy07uSWVnFup2PHnDs=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "44534bc021b85c8d78e465021e21f33b856e2540",
"type": "github"
},
"original": {
"id": "nixpkgs",
"ref": "nixos-24.11",
"type": "indirect"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

26
flake.nix Normal file
View file

@ -0,0 +1,26 @@
{
description = "Prysk - test using snippets of interactive shell sessions";
inputs = {
nixpkgs.url = "nixpkgs/nixos-24.11";
};
outputs = {nixpkgs, ...}: let
system = "x86_64-linux";
pkgs = import nixpkgs {inherit system;};
pname = "prysk";
version = "0.20.0";
format = "wheel";
in {
packages.${system}.default = pkgs.python312Packages.buildPythonPackage {
inherit pname version format;
src = pkgs.python312Packages.fetchPypi rec {
inherit pname version format;
hash = "sha256-N1j1n+vh/ydxDIummo7a1CKGBQ0EHtjfUZ/Eu+6kETM=";
dist = python;
python = "py3";
};
propagatedBuildInputs = [
pkgs.python312Packages.rich
];
};
};
}