summaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix11
1 files changed, 10 insertions, 1 deletions
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";