From a51200c1f6185bc6e1edfcd3d3d0916ebd60504e Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sat, 26 Nov 2022 20:14:18 -0500 Subject: misc: Drop tojson I haven't been using this. --- km-packages/misc.scm | 43 ------------------------------------------- 1 file changed, 43 deletions(-) diff --git a/km-packages/misc.scm b/km-packages/misc.scm index 9f6c00c..25b0778 100644 --- a/km-packages/misc.scm +++ b/km-packages/misc.scm @@ -36,49 +36,6 @@ #:use-module (guix packages) #:use-module (guix utils)) -(define-public tojson - (package - (name "tojson") - (version "0.2") - (source - (origin - (method git-fetch) - (uri (git-reference - (url (string-append "https://github.com/woky/tojson")) - (commit (string-append "v" version)))) - (file-name (string-append name "-" version "-checkout")) - (sha256 - (base32 - "18qpwqp1aymlacnaa01kk26zrhdwrypbkrk1i3f182d8h15fghcd")))) - (build-system gnu-build-system) - (arguments - `(#:tests? #f - #:phases - (modify-phases %standard-phases - (delete 'configure) - (delete 'build) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (bin (string-append out "/bin"))) - (mkdir-p bin) - (install-file "tojson" bin)) - #t)) - (add-after 'install 'wrap-program - (lambda* (#:key inputs outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (path (getenv "PYTHONPATH"))) - (wrap-program (string-append out "/bin/tojson") - `("PYTHONPATH" ":" prefix (,path)))) - #t))))) - (inputs - `(("python" ,python) - ("python-pyyaml" ,python-pyyaml))) - (home-page "https://github.com/woky/tojson") - (synopsis "todo") - (description "todo") - (license license:gpl3))) - (define-public patatt (package (name "patatt") -- cgit v1.2.3