From fff83bca1b5069f49af4d2e1dc1e1b1da60d7a61 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sat, 22 Mar 2025 21:55:38 +0100 Subject: build: use npins --- default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'default.nix') diff --git a/default.nix b/default.nix index f6cac5c..897ac2e 100644 --- a/default.nix +++ b/default.nix @@ -2,7 +2,16 @@ with pkgs.python310Packages; let - pywikiapi = import ./deps/pywikiapi.nix { inherit pkgs; }; + sources = import ./npins; + pywikiapi = buildPythonPackage rec { + pname = "pywikiapi"; + version = "pinned"; + src = sources.pywikiapi; + + dependencies = [ + requests + ]; + }; in buildPythonApplication rec { pname = "osm-proposals"; -- cgit v1.2.3