summaryrefslogtreecommitdiff
path: root/pystitch.nix
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2025-06-22 18:07:04 +0200
committerMartin Fischer <martin@push-f.com>2025-11-16 11:13:21 +0100
commite9eb05fc7d05009bd31fc0c3f9140f3d584ff932 (patch)
tree7f63a6234395fd709c593784168d28bce4db4eea /pystitch.nix
parent628052d66ffaabc03ec3daa841b7a39e350d8826 (diff)
add default.nix and shell.nixnix
Diffstat (limited to 'pystitch.nix')
-rw-r--r--pystitch.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/pystitch.nix b/pystitch.nix
new file mode 100644
index 00000000..0785b5c1
--- /dev/null
+++ b/pystitch.nix
@@ -0,0 +1,17 @@
+{
+ pkgs ? import <nixpkgs> {},
+}:
+with pkgs.python312Packages;
+
+buildPythonPackage {
+ pname = "pystitch";
+ version = "0-git";
+ src = pkgs.fetchFromGitHub {
+ owner = "inkstitch";
+ repo = "pystitch";
+ rev = "6771fbbbc265acc0ac48c7b0a8e3474a86f0c9a9";
+ hash = "sha256-TkaVaiCzmwcb4Yke+yK68UvW6aMTCbwaxSMbZc+tk5Q=";
+ };
+ build-system = [setuptools];
+ pyproject = true;
+}